aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2013-02-06 03:16:55 +0000
committerTarmac <>2013-02-06 03:16:55 +0000
commitb4ead8b4ab91eeaa50393e92eeedb43cd08ec98b (patch)
tree6c241b301ded4a9720b49692a611a485961a4780
parent103c24e211506a37b29985716e2f91097870e0a4 (diff)
parent7471eb6e39fc75e63c90fb591142f5a92e9f8461 (diff)
downloadayatana-indicator-bluetooth-b4ead8b4ab91eeaa50393e92eeedb43cd08ec98b.tar.gz
ayatana-indicator-bluetooth-b4ead8b4ab91eeaa50393e92eeedb43cd08ec98b.tar.bz2
ayatana-indicator-bluetooth-b4ead8b4ab91eeaa50393e92eeedb43cd08ec98b.zip
A couple strings weren't marked for translation.
Approved by Mathieu Trudel-Lapierre.
-rw-r--r--po/POTFILES.in1
-rw-r--r--po/POTFILES.skip1
-rw-r--r--po/indicator-bluetooth.pot46
-rw-r--r--src/Makefile.am1
-rw-r--r--src/indicator-bluetooth-service.vala2
-rw-r--r--src/indicator-bluetooth.vala2
6 files changed, 33 insertions, 20 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 3d935d7..366eae0 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,4 +1,5 @@
# List of source files containing translatable strings.
# Please keep this file in alphabetical order.
[encoding: UTF-8]
+src/indicator-bluetooth.vala
src/indicator-bluetooth-service.vala
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 6161392..4ea7514 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -1 +1,2 @@
+src/indicator-bluetooth.c
src/indicator-bluetooth-service.c
diff --git a/po/indicator-bluetooth.pot b/po/indicator-bluetooth.pot
index bb077e5..bd60d88 100644
--- a/po/indicator-bluetooth.pot
+++ b/po/indicator-bluetooth.pot
@@ -8,47 +8,57 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-12-06 16:29+1300\n"
+"POT-Creation-Date: 2013-01-31 12:34-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../src/indicator-bluetooth-service.vala:48
-msgid "Enabled"
+#: ../src/indicator-bluetooth.vala:17
+#: ../src/indicator-bluetooth-service.vala:195
+msgid "Bluetooth: On"
msgstr ""
-#: ../src/indicator-bluetooth-service.vala:62
+#: ../src/indicator-bluetooth-service.vala:47
+#: ../src/indicator-bluetooth-service.vala:385
+msgid "Bluetooth"
+msgstr ""
+
+#: ../src/indicator-bluetooth-service.vala:61
msgid "Visible"
msgstr ""
-#: ../src/indicator-bluetooth-service.vala:111
-msgid "Bluetooth Settings..."
+#: ../src/indicator-bluetooth-service.vala:110
+msgid "Bluetooth Settings…"
+msgstr ""
+
+#: ../src/indicator-bluetooth-service.vala:195
+msgid "Bluetooth: Off"
msgstr ""
-#: ../src/indicator-bluetooth-service.vala:253
+#: ../src/indicator-bluetooth-service.vala:254
msgid "Connection"
msgstr ""
-#: ../src/indicator-bluetooth-service.vala:276
-msgid "Send files..."
+#: ../src/indicator-bluetooth-service.vala:277
+msgid "Send files…"
msgstr ""
-#: ../src/indicator-bluetooth-service.vala:284
-msgid "Browse files..."
+#: ../src/indicator-bluetooth-service.vala:285
+msgid "Browse files…"
msgstr ""
-#: ../src/indicator-bluetooth-service.vala:293
-msgid "Keyboard Settings..."
+#: ../src/indicator-bluetooth-service.vala:294
+msgid "Keyboard Settings…"
msgstr ""
-#: ../src/indicator-bluetooth-service.vala:301
-msgid "Mouse and Touchpad Settings..."
+#: ../src/indicator-bluetooth-service.vala:302
+msgid "Mouse and Touchpad Settings…"
msgstr ""
-#: ../src/indicator-bluetooth-service.vala:310
-msgid "Sound Settings..."
+#: ../src/indicator-bluetooth-service.vala:311
+msgid "Sound Settings…"
msgstr ""
diff --git a/src/Makefile.am b/src/Makefile.am
index f1b996d..6bbb623 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -36,6 +36,7 @@ libbluetooth_la_VALAFLAGS = \
--pkg DbusmenuGtk3-0.4
libbluetooth_la_CFLAGS = \
+ -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
$(INDICATOR_BLUETOOTH_CFLAGS)
libbluetooth_la_LIBADD = \
diff --git a/src/indicator-bluetooth-service.vala b/src/indicator-bluetooth-service.vala
index 8920e96..63e634d 100644
--- a/src/indicator-bluetooth-service.vala
+++ b/src/indicator-bluetooth-service.vala
@@ -382,7 +382,7 @@ private class BluetoothService : Object
{
get { return _icon_name; }
}
- internal string _accessible_description = "Bluetooth";
+ internal string _accessible_description = _("Bluetooth");
public string accessible_description
{
get { return _accessible_description; }
diff --git a/src/indicator-bluetooth.vala b/src/indicator-bluetooth.vala
index 4419382..4f3aef8 100644
--- a/src/indicator-bluetooth.vala
+++ b/src/indicator-bluetooth.vala
@@ -14,7 +14,7 @@ public class BluetoothIndicator : Indicator.Object
private Gtk.Image image;
private DbusmenuGtk.Menu menu;
private BluetoothService proxy;
- private string accessible_description = "Bluetooth: On";
+ private string accessible_description = _("Bluetooth: On");
construct
{