[frogr] Use "translator-credits" properly



commit 7e2014bdfed0927aeecab9a36f5b8886bbf1c7fd
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Tue Jan 18 11:22:14 2011 +0200

    Use "translator-credits" properly

 po/en_GB.po              |   14 +++-----------
 po/es.po                 |   14 ++++----------
 po/fr.po                 |   14 +++-----------
 src/frogr-about-dialog.c |   15 +--------------
 4 files changed, 11 insertions(+), 46 deletions(-)
---
diff --git a/po/en_GB.po b/po/en_GB.po
index 2b13ad5..ce72a44 100644
--- a/po/en_GB.po
+++ b/po/en_GB.po
@@ -20,17 +20,9 @@ msgstr ""
 msgid "A Flickr remote organizer for GNOME\n"
 msgstr "A Flickr remote organiser for GNOME\n"
 
-#: ../src/frogr-about-dialog.c:101
-msgid "Spanish"
-msgstr "Spanish"
-
-#: ../src/frogr-about-dialog.c:102
-msgid "British English"
-msgstr "British English"
-
-#: ../src/frogr-about-dialog.c:103
-msgid "French"
-msgstr ""
+#: ../src/frogr-about-dialog.c:107
+msgid "translator-credits"
+msgstr "Philip Withnall <philip tecnocode co uk>"
 
 #: ../src/frogr-add-tags-dialog.c:342
 msgid "Enter a spaces separated list of tags:"
diff --git a/po/es.po b/po/es.po
index 779ec97..5148f4a 100644
--- a/po/es.po
+++ b/po/es.po
@@ -21,17 +21,11 @@ msgstr ""
 msgid "A Flickr remote organizer for GNOME\n"
 msgstr "Un organizador remoto de Flickr para GNOME\n"
 
-#: ../src/frogr-about-dialog.c:101
-msgid "Spanish"
-msgstr "Español"
-
-#: ../src/frogr-about-dialog.c:102
-msgid "British English"
-msgstr "Inglés Británico"
-
-#: ../src/frogr-about-dialog.c:103
-msgid "French"
+#: ../src/frogr-about-dialog.c:107
+msgid "translator-credits"
 msgstr ""
+"Alejandro Pinheiro <apinheiro igalia com>\n"
+"Mario Sanchez Prada <msanchez igalia com>"
 
 #: ../src/frogr-add-tags-dialog.c:342
 msgid "Enter a spaces separated list of tags:"
diff --git a/po/fr.po b/po/fr.po
index 0e71a46..5007ad6 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -20,17 +20,9 @@ msgstr ""
 msgid "A Flickr remote organizer for GNOME\n"
 msgstr "Un organisateur à distance Flickr pour GNOME\n"
 
-#: ../src/frogr-about-dialog.c:101
-msgid "Spanish"
-msgstr "Espagnol"
-
-#: ../src/frogr-about-dialog.c:102
-msgid "British English"
-msgstr "Anglais britannique"
-
-#: ../src/frogr-about-dialog.c:103
-msgid "French"
-msgstr ""
+#: ../src/frogr-about-dialog.c:107
+msgid "translator-credits"
+msgstr "Alexandre Franke <alexandre franke gmail com>"
 
 #: ../src/frogr-add-tags-dialog.c:342
 msgid "Enter a spaces separated list of tags:"
diff --git a/src/frogr-about-dialog.c b/src/frogr-about-dialog.c
index e3644d7..90fdc3c 100644
--- a/src/frogr-about-dialog.c
+++ b/src/frogr-about-dialog.c
@@ -62,11 +62,6 @@ static const gchar *license =
   "This program uses flickr API through the flicksoup\n"
   "library (which comes bundled-in with frogr), but\n"
   "it's neither approved nor certified by flickr.";
-static const char translators_tpl[] =
-"%s (es)\n* Alejandro Piñeiro Iglesias <apinheiro igalia com>\n"
-         "* Mario Sanchez Prada <msanchez igalia com>\n\n"
-"%s (en_GB)\n* Philip Withnall <philip tecnocode co uk>\n\n"
-"%s (fr)\n* Alexandre Franke <alexandre franke gmail com>\n";
 
 #if !GTK_CHECK_VERSION (2,23,0)
 static void
@@ -84,7 +79,6 @@ void
 frogr_about_dialog_show (GtkWindow *parent)
 {
   GdkPixbuf *logo = NULL;
-  char *translators = NULL;
   char *version = NULL;
 
   logo = gdk_pixbuf_new_from_file (ABOUT_DIALOG_ICON, NULL);
@@ -96,12 +90,6 @@ frogr_about_dialog_show (GtkWindow *parent)
                                    NULL);
 #endif
 
-  /* Translated list of translators */
-  translators = g_strdup_printf (translators_tpl,
-                                 _("Spanish"),
-                                 _("British English"),
-                                 _("French"));
-
   /* XXX: Show clearly that this is an unreleased version */
   version = g_strdup_printf ("%s~unreleased", VERSION);
 
@@ -116,11 +104,10 @@ frogr_about_dialog_show (GtkWindow *parent)
                          "version", version,
                          "website", website,
                          "logo", logo,
-                         "translator-credits", translators,
+                         "translator-credits", _("translator-credits"),
                          "modal", TRUE,
                          NULL);
 
   g_object_unref (logo);
-  g_free (translators);
   g_free (version);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]