Add translator comment from Christian Rose, and fix up strcmp's for
2004-08-17 Glynn Foster <glynn.foster@sun.com> * src/about.c: Add translator comment from Christian Rose, and fix up strcmp's for untranslated translator-credits.
This commit is contained in:
parent
bd39b585a3
commit
b46dd53df6
@ -1,3 +1,8 @@
|
|||||||
|
2004-08-17 Glynn Foster <glynn.foster@sun.com>
|
||||||
|
|
||||||
|
* src/about.c: Add translator comment from Christian Rose,
|
||||||
|
and fix up strcmp's for untranslated translator-credits.
|
||||||
|
|
||||||
2004-08-16 Christian Rose <menthos@menthos.com>
|
2004-08-16 Christian Rose <menthos@menthos.com>
|
||||||
|
|
||||||
* configure.in: Added "bs" to ALL_LINGUAS.
|
* configure.in: Added "bs" to ALL_LINGUAS.
|
||||||
|
12
src/about.c
12
src/about.c
@ -355,6 +355,14 @@ zenity_about (ZenityData *data)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Translators: This is a special message that shouldn't be translated
|
||||||
|
literally. It is used in the about box to give credits to
|
||||||
|
the translators.
|
||||||
|
Thus, you should translate it to your name and email address.
|
||||||
|
You can also include other translators who have contributed to
|
||||||
|
this translation; in that case, please write them on separate
|
||||||
|
lines seperated by newlines (\n). */
|
||||||
|
|
||||||
translator_credits = _("translator-credits");
|
translator_credits = _("translator-credits");
|
||||||
|
|
||||||
glade_xml_signal_autoconnect (glade_dialog);
|
glade_xml_signal_autoconnect (glade_dialog);
|
||||||
@ -445,7 +453,7 @@ zenity_about_update_translator_label (GtkWidget *label)
|
|||||||
GString *string;
|
GString *string;
|
||||||
gchar *tmp;
|
gchar *tmp;
|
||||||
|
|
||||||
if (strcmp (translator_credits, "translator_credits") == 0) {
|
if (strcmp (translator_credits, "translator-credits") == 0) {
|
||||||
gtk_widget_hide (label);
|
gtk_widget_hide (label);
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
@ -504,7 +512,7 @@ zenity_about_display_credits_dialog (void)
|
|||||||
zenity_about_update_author_label (label);
|
zenity_about_update_author_label (label);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (translator_credits != NULL && strcmp (translator_credits, "translator_credits") != 0) {
|
if (translator_credits != NULL && strcmp (translator_credits, "translator-credits") != 0) {
|
||||||
label = zenity_about_create_label ();
|
label = zenity_about_create_label ();
|
||||||
sw = gtk_scrolled_window_new (NULL, NULL);
|
sw = gtk_scrolled_window_new (NULL, NULL);
|
||||||
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),
|
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),
|
||||||
|
Reference in New Issue
Block a user