[shotwell/shotwell-0.26] Use unicode strings in About and make it translatable



commit ee05c98b0b6402de86bbcf6342dbf37fb4851034
Author: Jens Georg <mail jensge org>
Date:   Wed Mar 22 22:43:21 2017 +0100

    Use unicode strings in About and make it translatable
    
    Signed-off-by: Jens Georg <mail jensge org>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=780415

 src/AppWindow.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/AppWindow.vala b/src/AppWindow.vala
index a151c9a..bfdfcaf 100644
--- a/src/AppWindow.vala
+++ b/src/AppWindow.vala
@@ -592,7 +592,8 @@ public abstract class AppWindow : PageWindow {
     protected void on_about() {
         const string[] artists = { "Aachen logo under public domain license 
https://www.flickr.com/photos/30784528@N04/10860988196/";, null };
         Gtk.show_about_dialog(this,
-            "version", Resources.APP_VERSION + " \u2013 \"Aachen\"",
+            // translators: %s will be replaced by application version
+            "version", _("%s \u2013 “Aachen”".printf(Resources.APP_VERSION)),
             "comments", get_app_role(),
             "copyright", Resources.COPYRIGHT,
             "website", Resources.HOME_URL,


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