changeset 2946:a8fce81bcd40

make prompt translatable
author Andrew O. Shadoura <bugzilla@tut.by>
date Sun, 28 Sep 2008 19:58:28 +0300
parents f390f4a68a2d
children c79e239a816f
files src/scrobbler/configure.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/scrobbler/configure.c	Sun Sep 28 19:57:46 2008 +0300
+++ b/src/scrobbler/configure.c	Sun Sep 28 19:58:28 2008 +0300
@@ -139,7 +139,7 @@
     ge_pwd = g_strdup(gtk_entry_get_text(GTK_ENTRY(ge_entry2)));
   }
   entry_changed(widget, data);
-  gtk_entry_set_text(GTK_ENTRY(widget), "Change password");
+  gtk_entry_set_text(GTK_ENTRY(widget), _("Change password"));
   gtk_widget_modify_text(widget, GTK_STATE_NORMAL, &disabled_color);
   gtk_entry_set_visibility(GTK_ENTRY(widget), TRUE);
 }
@@ -207,7 +207,7 @@
   memcpy(&disabled_color, &(style->text[GTK_STATE_INSENSITIVE]), sizeof(GdkColor));
   gtk_widget_modify_text(entry2, GTK_STATE_NORMAL, &disabled_color);
 
-  gtk_entry_set_text(GTK_ENTRY(entry2), "Change password");
+  gtk_entry_set_text(GTK_ENTRY(entry2), _("Change password"));
   g_signal_connect(G_OBJECT(entry2), "focus-in-event",
                    G_CALLBACK(entry_focus_in),
                    NULL);