diff options
author | Glynn Foster <glynn.foster@sun.com> | 2004-08-17 08:55:10 +0000 |
---|---|---|
committer | Glynn Foster <gman@src.gnome.org> | 2004-08-17 08:55:10 +0000 |
commit | b46dd53df6b51ac363eb1cc8b7b51586befd6bdf (patch) | |
tree | 701d467bc2370958fe06c9bb6e585c35f4f2cfe0 /src | |
parent | Updated Swedish translation. (diff) | |
download | zenity-b46dd53df6b51ac363eb1cc8b7b51586befd6bdf.tar.gz zenity-b46dd53df6b51ac363eb1cc8b7b51586befd6bdf.tar.bz2 zenity-b46dd53df6b51ac363eb1cc8b7b51586befd6bdf.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/about.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/about.c b/src/about.c index 1ede5929..d9be6d44 100644 --- a/src/about.c +++ b/src/about.c @@ -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), |