# HG changeset patch # User Bj«Órn Voigt # Date 1179541302 0 # Node ID b3340b359804f99899ffbf6606dbadf72f1b4775 # Parent 3e463ddf18f7bab21935cec339cc1df4d2f971c2 "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 diff -r 3e463ddf18f7 -r b3340b359804 pidgin/gtkprefs.c --- 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);