changeset 17154:b3340b359804

"Hello Luke! > If there are any strings that need to be changed, please do so ASAP, so > that we can string freeze on Sunday, providing the rest of the week for > translators. > Could you please apply the attached patch? It makes the string "(default)" translatable in the sound preferences dialog. Greetings, Bj«Órn " committer: Luke Schierer <lschiere@pidgin.im>
author Björn Voigt <bjoern@cs.tu-berlin.de>
date Sat, 19 May 2007 02:21:42 +0000
parents 3e463ddf18f7
children 22dd4a177d2f
files pidgin/gtkprefs.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkprefs.c	Sat May 19 01:00:35 2007 +0000
+++ b/pidgin/gtkprefs.c	Sat May 19 02:21:42 2007 +0000
@@ -1472,7 +1472,7 @@
 	purple_prefs_set_path(pref, "");
 	g_free(pref);
 
-	gtk_entry_set_text(GTK_ENTRY(sound_entry), "(default)");
+	gtk_entry_set_text(GTK_ENTRY(sound_entry), _("(default)"));
 }
 
 static void
@@ -1561,7 +1561,7 @@
 	file = purple_prefs_get_path(pref);
 	g_free(pref);
 	if (sound_entry)
-		gtk_entry_set_text(GTK_ENTRY(sound_entry), (file && *file != '\0') ? file : "(default)");
+		gtk_entry_set_text(GTK_ENTRY(sound_entry), (file && *file != '\0') ? file : _("(default)"));
 	g_value_unset (&val);
 }
 
@@ -1753,7 +1753,7 @@
 			       pidgin_sound_get_event_option(0));
 	file = purple_prefs_get_path(pref);
 	g_free(pref);
-	gtk_entry_set_text(GTK_ENTRY(sound_entry), (file && *file != '\0') ? file : "(default)");
+	gtk_entry_set_text(GTK_ENTRY(sound_entry), (file && *file != '\0') ? file : _("(default)"));
 	gtk_editable_set_editable(GTK_EDITABLE(sound_entry), FALSE);
 	gtk_box_pack_start(GTK_BOX(hbox), sound_entry, FALSE, FALSE, PIDGIN_HIG_BOX_SPACE);