diff options
author | Michael Terry <michael.terry@canonical.com> | 2013-01-31 12:27:59 -0500 |
---|---|---|
committer | Michael Terry <michael.terry@canonical.com> | 2013-01-31 12:27:59 -0500 |
commit | ead9d50f78291618e8a4e21a04632727de65af75 (patch) | |
tree | f1b64e1517732278ad1912a5d41be2fcf9b5d681 /src | |
parent | e73d88a47b9c2862db998f6bfb2310b033fd330a (diff) | |
download | ayatana-indicator-bluetooth-ead9d50f78291618e8a4e21a04632727de65af75.tar.gz ayatana-indicator-bluetooth-ead9d50f78291618e8a4e21a04632727de65af75.tar.bz2 ayatana-indicator-bluetooth-ead9d50f78291618e8a4e21a04632727de65af75.zip |
translate accessible descriptions
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/indicator-bluetooth-service.vala | 2 | ||||
-rw-r--r-- | src/indicator-bluetooth.vala | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index d2ed9dd..8a0b790 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 c3b97d2..4b62e74 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 3498261..729c1bf 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 { |