[gnome-bluetooth] all: Add a context for "Bluetooth"
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] all: Add a context for "Bluetooth"
- Date: Mon, 27 Jun 2011 14:27:14 +0000 (UTC)
commit 38938f1f908f78ee2da2601de72b47659e2f0e9d
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jun 27 14:47:59 2011 +0100
all: Add a context for "Bluetooth"
Sometimes it's used to mean "Power" (in the moblin or control-center
panels), sometimes to actually mean Bluetooth (which shouldn't
be translated).
https://bugzilla.gnome.org/show_bug.cgi?id=645591
moblin/moblin-panel.c | 2 +-
properties/bluetooth.ui | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/moblin/moblin-panel.c b/moblin/moblin-panel.c
index 892dc8e..ae79128 100644
--- a/moblin/moblin-panel.c
+++ b/moblin/moblin-panel.c
@@ -1600,7 +1600,7 @@ create_devices_page (MoblinPanel *self)
/* Translators: This string appears next to a toggle switch which controls
* enabling/disabling Bluetooth radio's on the device. Akin to the power
* switches in the Network UI of Moblin */
- power_label = gtk_label_new (_("Bluetooth"));
+ power_label = gtk_label_new (C_("Power", "Bluetooth"));
gtk_widget_show (power_label);
gtk_box_pack_start (GTK_BOX (hbox), power_label, FALSE, FALSE, 4);
diff --git a/properties/bluetooth.ui b/properties/bluetooth.ui
index b459d0c..a0918f5 100644
--- a/properties/bluetooth.ui
+++ b/properties/bluetooth.ui
@@ -497,7 +497,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Bluetooth</property>
+ <property name="label" translatable="yes" context="Power" comments="Translator: This string appears next to a toggle switch which controls enabling/disabling Bluetooth radio's on the device.">Bluetooth</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]