[network-manager-applet] po: add context to ambiguous translatables (bgo #579504)



commit fa3833763bfa4667d783ffb574e1cb8f56347469
Author: Dan Williams <dcbw redhat com>
Date:   Sat May 8 10:15:25 2010 -0700

    po: add context to ambiguous translatables (bgo #579504)

 src/applet-dialogs.c                           |    6 +++---
 src/connection-editor/page-wireless-security.c |    4 ++--
 src/wireless-dialog.c                          |    4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/applet-dialogs.c b/src/applet-dialogs.c
index 5b891d0..7681e48 100644
--- a/src/applet-dialogs.c
+++ b/src/applet-dialogs.c
@@ -195,7 +195,7 @@ create_info_label_security (NMConnection *connection)
 			else
 				label = get_eap_label (s_wireless_sec, s_8021x);
 		} else {
-			label = g_strdup (_("None"));
+			label = g_strdup (C_("No wifi security used", "None"));
 		}
 	} else if (!strcmp (connection_type, NM_SETTING_WIRED_SETTING_NAME)) {
 		NMSetting8021x *s_8021x;
@@ -204,10 +204,10 @@ create_info_label_security (NMConnection *connection)
 		if (s_8021x)
 			label = get_eap_label (NULL, s_8021x);
 		else
-			label = g_strdup (_("None"));
+			label = g_strdup (C_("No wired security used", "None"));
 	}
 
-	w = create_info_label (label ? label : _("Unknown"), TRUE);
+	w = create_info_label (label ? label : C_("Unknown/unrecognized wired or wifi security", "Unknown"), TRUE);
 	g_free (label);
 
 	return w;
diff --git a/src/connection-editor/page-wireless-security.c b/src/connection-editor/page-wireless-security.c
index eb05865..58327b4 100644
--- a/src/connection-editor/page-wireless-security.c
+++ b/src/connection-editor/page-wireless-security.c
@@ -17,7 +17,7 @@
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  *
- * (C) Copyright 2008 Red Hat, Inc.
+ * (C) Copyright 2008 - 2010 Red Hat, Inc.
  */
 
 #include <string.h>
@@ -235,7 +235,7 @@ finish_setup (CEPageWirelessSecurity *self, gpointer unused, GError *error, gpoi
 	if (nm_utils_security_valid (NMU_SEC_NONE, dev_caps, FALSE, is_adhoc, 0, 0, 0)) {
 		gtk_list_store_append (sec_model, &iter);
 		gtk_list_store_set (sec_model, &iter,
-		                    S_NAME_COLUMN, _("None"),
+		                    S_NAME_COLUMN, C_("No wifi security used", "None"),
 		                    -1);
 		if (default_type == NMU_SEC_NONE)
 			active = item;
diff --git a/src/wireless-dialog.c b/src/wireless-dialog.c
index 0a8ebb7..d105e72 100644
--- a/src/wireless-dialog.c
+++ b/src/wireless-dialog.c
@@ -17,7 +17,7 @@
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  *
- * (C) Copyright 2007 - 2008 Red Hat, Inc.
+ * (C) Copyright 2007 - 2010 Red Hat, Inc.
  */
 
 #ifdef HAVE_CONFIG_H
@@ -916,7 +916,7 @@ security_combo_init (NMAWirelessDialog *self, gboolean auth_only)
 	if (nm_utils_security_valid (NMU_SEC_NONE, dev_caps, !!priv->ap, is_adhoc, ap_flags, ap_wpa, ap_rsn)) {
 		gtk_list_store_append (sec_model, &iter);
 		gtk_list_store_set (sec_model, &iter,
-		                    S_NAME_COLUMN, _("None"),
+		                    S_NAME_COLUMN, C_("No wifi security used", "None"),
 		                    -1);
 		if (default_type == NMU_SEC_NONE)
 			active = item;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]