aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
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.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am1
-rw-r--r--src/indicator-bluetooth-service.vala2
-rw-r--r--src/indicator-bluetooth.vala2
3 files changed, 3 insertions, 2 deletions
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
{