[gnome-control-center] network: add translation context for Wifi security
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: add translation context for Wifi security
- Date: Tue, 28 Aug 2012 15:53:06 +0000 (UTC)
commit 8c921b2dd4071aa96f27a8d1ecb7edb95f928577
Author: Jiro Matsuzawa <jmatsuzawa gnome org>
Date: Tue Aug 28 23:17:22 2012 +0900
network: add translation context for Wifi security
https://bugzilla.gnome.org/show_bug.cgi?id=682876
panels/network/net-device-wifi.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index 44cdce6..6286784 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -308,8 +308,7 @@ get_ap_security_string (NMAccessPoint *ap)
if (str->len > 0)
g_string_set_size (str, str->len - 2);
else {
- /* TRANSLATORS: this no (!) WiFi security */
- g_string_append (str, _("None"));
+ g_string_append (str, C_("Wifi security", "None"));
}
return g_string_free (str, FALSE);
}
@@ -465,7 +464,7 @@ device_get_hotspot_security_details (NetDeviceWifi *device_wifi,
return;
tmp_secret = NULL;
- tmp_security = _("None");
+ tmp_security = C_("Wifi security", "None");
key_mgmt = nm_setting_wireless_security_get_key_mgmt (sws);
if (strcmp (key_mgmt, "none") == 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]