[gimp/gimp-2-10] app: make version + revision string translatable.



commit c82bf2978ab907245c537048acde5d77640df615
Author: Jehan <jehan girinstud io>
Date:   Sat Apr 4 16:37:30 2020 +0200

    app: make version + revision string translatable.
    
    Also add some comment for translators on this string and another.
    Thanks to Piotr Drąg for commenting on these.
    
    (cherry picked from commit 023919d606c6c8439af3ac2dc47f5ea0d3861a3c)

 app/dialogs/about-dialog.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/app/dialogs/about-dialog.c b/app/dialogs/about-dialog.c
index dd9770d5db..bc1a4d3726 100644
--- a/app/dialogs/about-dialog.c
+++ b/app/dialogs/about-dialog.c
@@ -125,7 +125,11 @@ about_dialog_create (GimpCoreConfig *config)
 
       copyright = g_strdup_printf (GIMP_COPYRIGHT, GIMP_GIT_LAST_COMMIT_YEAR);
       if (gimp_version_get_revision () > 0)
-        version = g_strdup_printf ("%s (revision %d)", GIMP_VERSION,
+        /* Translators: the %s is GIMP version, the %d is the
+         * installer/package revision.
+         * For instance: "2.10.18 (revision 2)"
+         */
+        version = g_strdup_printf (_("%s (revision %d)"), GIMP_VERSION,
                                    gimp_version_get_revision ());
       else
         version = g_strdup (GIMP_VERSION);
@@ -435,6 +439,10 @@ about_dialog_add_update (GimpAboutDialog *dialog,
       datetime = g_date_time_new_from_unix_local (config->check_update_timestamp);
       date = g_date_time_format (datetime, "%x");
       time = g_date_time_format (datetime, "%X");
+      /* Translators: first string is the date in the locale's date
+       * representation (e.g., 12/31/99), second is the time in the
+       * locale's time representation (e.g., 23:13:48).
+       */
       subtext = g_strdup_printf (_("Last checked on %s at %s"), date, time);
       g_date_time_unref (datetime);
       g_free (date);


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