diff options
author | Daniele Forsi <daniele@forsi.it> | 2009-12-28 23:00:35 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2010-01-07 11:52:55 +0000 |
commit | 65058aab3f986f9048c5f045945fe3a3034da056 (patch) | |
tree | 39aa2ed4c5734aa4888f663ee4fbd3ed922b2735 | |
parent | 2d23ec20fa8f8299e93beea849bc8670aa2c7c69 (diff) | |
download | gnome-bluetooth-65058aab3f986f9048c5f045945fe3a3034da056.tar.gz |
Make bluetooth_type_to_string() return a translated string
Use the _() macro which calls gettext() instead of the N_() macro that only
marks strings as translatable.
https://bugzilla.gnome.org/show_bug.cgi?id=605631
-rw-r--r-- | lib/bluetooth-client.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c index 6dd7a6e0..d55f53f4 100644 --- a/lib/bluetooth-client.c +++ b/lib/bluetooth-client.c @@ -112,36 +112,36 @@ const gchar *bluetooth_type_to_string(BluetoothType type) { switch (type) { case BLUETOOTH_TYPE_ANY: - return N_("All types"); + return _("All types"); case BLUETOOTH_TYPE_PHONE: - return N_("Phone"); + return _("Phone"); case BLUETOOTH_TYPE_MODEM: - return N_("Modem"); + return _("Modem"); case BLUETOOTH_TYPE_COMPUTER: - return N_("Computer"); + return _("Computer"); case BLUETOOTH_TYPE_NETWORK: - return N_("Network"); + return _("Network"); case BLUETOOTH_TYPE_HEADSET: /* translators: a hands-free headset, a combination of a single speaker with a microphone */ - return N_("Headset"); + return _("Headset"); case BLUETOOTH_TYPE_HEADPHONES: - return N_("Headphones"); + return _("Headphones"); case BLUETOOTH_TYPE_OTHER_AUDIO: - return N_("Audio device"); + return _("Audio device"); case BLUETOOTH_TYPE_KEYBOARD: - return N_("Keyboard"); + return _("Keyboard"); case BLUETOOTH_TYPE_MOUSE: - return N_("Mouse"); + return _("Mouse"); case BLUETOOTH_TYPE_CAMERA: - return N_("Camera"); + return _("Camera"); case BLUETOOTH_TYPE_PRINTER: - return N_("Printer"); + return _("Printer"); case BLUETOOTH_TYPE_JOYPAD: - return N_("Joypad"); + return _("Joypad"); case BLUETOOTH_TYPE_TABLET: - return N_("Tablet"); + return _("Tablet"); default: - return N_("Unknown"); + return _("Unknown"); } } |