[gnome-control-center] network: Add context to ambiguous strings



commit 3d2448516be0cc184cc5b028465a75c6546ae2a3
Author: Piotr DrÄg <piotrdrag gmail com>
Date:   Thu Jan 31 18:36:40 2013 +0100

    network: Add context to ambiguous strings
    
    It clashes with "Metric" as a measurement format in Region panel.

 panels/network/connection-editor/ce-page-ip4.c |    3 ++-
 panels/network/connection-editor/ce-page-ip6.c |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/panels/network/connection-editor/ce-page-ip4.c b/panels/network/connection-editor/ce-page-ip4.c
index 9bc1c7c..7d6fbcb 100644
--- a/panels/network/connection-editor/ce-page-ip4.c
+++ b/panels/network/connection-editor/ce-page-ip4.c
@@ -422,7 +422,8 @@ add_route_row (CEPageIP4   *page,
         widget = gtk_label_new (_("Gateway"));
         gtk_misc_set_alignment (GTK_MISC (widget), 1, 0.5);
         gtk_grid_attach (GTK_GRID (row), widget, 1, 3, 1, 1);
-        widget = gtk_label_new (_("Metric"));
+        /* Translators: Please see http://en.wikipedia.org/wiki/Metrics_(networking) */
+        widget = gtk_label_new (C_("network parameters", "Metric"));
         gtk_misc_set_alignment (GTK_MISC (widget), 1, 0.5);
         gtk_grid_attach (GTK_GRID (row), widget, 1, 4, 1, 1);
         widget = gtk_entry_new ();
diff --git a/panels/network/connection-editor/ce-page-ip6.c b/panels/network/connection-editor/ce-page-ip6.c
index b4d7603..e3e31b8 100644
--- a/panels/network/connection-editor/ce-page-ip6.c
+++ b/panels/network/connection-editor/ce-page-ip6.c
@@ -426,7 +426,8 @@ add_route_row (CEPageIP6   *page,
         widget = gtk_label_new (_("Gateway"));
         gtk_misc_set_alignment (GTK_MISC (widget), 1, 0.5);
         gtk_grid_attach (GTK_GRID (row), widget, 1, 3, 1, 1);
-        widget = gtk_label_new (_("Metric"));
+        /* Translators: Please see http://en.wikipedia.org/wiki/Metrics_(networking) */
+        widget = gtk_label_new (C_("network parameters", "Metric"));
         gtk_misc_set_alignment (GTK_MISC (widget), 1, 0.5);
         gtk_grid_attach (GTK_GRID (row), widget, 1, 4, 1, 1);
         widget = gtk_entry_new ();



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