[network-manager-netbook] Mark some more strings for translations



commit 422d4cf8d117b36c490fa9cb2e1ca107b7a7a1cf
Author: Tambet Ingo <tambet gmail com>
Date:   Wed Mar 3 15:18:40 2010 -0400

    Mark some more strings for translations

 po/POTFILES.in                     |    1 +
 src/nmn-gsm-pin-request-renderer.c |    4 ++--
 src/nmn-network-renderer.c         |    6 +++---
 3 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 4ff5c65..552a290 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -30,6 +30,7 @@ src/nmn-applet.c
 src/main.c
 src/nmn-network-renderer.c
 src/nmn-panel-client.c
+src/nmn-gsm-pin-request-renderer.c
 src/nmn-item-renderer.c
 src/nmn-connection-details.c
 src/nmn-new-connection.c
diff --git a/src/nmn-gsm-pin-request-renderer.c b/src/nmn-gsm-pin-request-renderer.c
index fe4a300..3d1f8fc 100644
--- a/src/nmn-gsm-pin-request-renderer.c
+++ b/src/nmn-gsm-pin-request-renderer.c
@@ -119,12 +119,12 @@ init_widgets (NmnGsmPinRequestRenderer *self)
     g_signal_connect_swapped (w, "activate", G_CALLBACK (unlock), self);
     g_signal_connect_swapped (w, "changed", G_CALLBACK (sensitize_widgets), self);
 
-    w = gtk_button_new_with_label ("Unlock");
+    w = gtk_button_new_with_label (_("Unlock"));
     gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
     priv->unlock_button = w;
     g_signal_connect_swapped (w, "clicked", G_CALLBACK (unlock), self);
 
-    w = gtk_check_button_new_with_label ("Disable PIN");
+    w = gtk_check_button_new_with_label (_("Disable PIN"));
     gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (w), TRUE);
     gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
     priv->disable_pin = w;
diff --git a/src/nmn-network-renderer.c b/src/nmn-network-renderer.c
index 92f182b..220bc21 100644
--- a/src/nmn-network-renderer.c
+++ b/src/nmn-network-renderer.c
@@ -356,12 +356,12 @@ init_widgets (NmnNetworkRenderer *self)
     priv->security_label = GTK_LABEL (w);
 
     /* FIXME: this should be visibile only for NMDeviceItems */
-    w = gtk_expander_new ("Advanced");
+    w = gtk_expander_new (_("Advanced"));
     gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
     priv->expander = w;
     g_signal_connect (w, "notify::expanded", G_CALLBACK (advanced_expanded), self);
 
-    w = gtk_button_new_with_label ("Connect");
+    w = gtk_button_new_with_label (_("Connect"));
     gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
     priv->connect_button = w;
     g_signal_connect (w, "clicked", G_CALLBACK (connect_button_clicked), self);
@@ -376,7 +376,7 @@ init_widgets (NmnNetworkRenderer *self)
 
     gtk_button_set_relief (GTK_BUTTON (w), GTK_RELIEF_NONE);
     gtk_button_set_image_position (GTK_BUTTON (w), GTK_POS_RIGHT);
-    gtk_widget_set_tooltip_text (w, "Remove connection");
+    gtk_widget_set_tooltip_text (w, _("Remove connection"));
     gtk_box_pack_start (GTK_BOX (vbox), w, TRUE, FALSE, 0);
     priv->remove_button = w;
     g_signal_connect (w, "clicked", G_CALLBACK (remove_button_clicked), self);



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