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:
Glynn Foster 2004-08-17 08:55:10 +00:00 committed by Glynn Foster
parent bd39b585a3
commit b46dd53df6
2 changed files with 15 additions and 2 deletions

View File

@ -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>
* configure.in: Added "bs" to ALL_LINGUAS.

View File

@ -355,6 +355,14 @@ zenity_about (ZenityData *data)
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");
glade_xml_signal_autoconnect (glade_dialog);
@ -445,7 +453,7 @@ zenity_about_update_translator_label (GtkWidget *label)
GString *string;
gchar *tmp;
if (strcmp (translator_credits, "translator_credits") == 0) {
if (strcmp (translator_credits, "translator-credits") == 0) {
gtk_widget_hide (label);
return;
} else {
@ -504,7 +512,7 @@ zenity_about_display_credits_dialog (void)
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 ();
sw = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),