summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2004-08-17 08:55:10 +0000
committerGlynn Foster <gman@src.gnome.org>2004-08-17 08:55:10 +0000
commitb46dd53df6b51ac363eb1cc8b7b51586befd6bdf (patch)
tree701d467bc2370958fe06c9bb6e585c35f4f2cfe0
parentUpdated Swedish translation. (diff)
downloadzenity-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.
-rw-r--r--ChangeLog5
-rw-r--r--src/about.c12
2 files changed, 15 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ddac87b0..24021578 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
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),
bgstack15