[gnome-photos] main-window: Don't mark PACKAGE_VERSION as translatable

commit 0c116b5ff2e2cbdf7804978e49149b9004a9bb69
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Mar 13 23:13:27 2017 +0100

    main-window: Don't mark PACKAGE_VERSION as translatable
    It doesn't get extracted as a translatable string because xgettext
    looks for string literals in the un-preprocessed code. Even if it did
    work, it keeps changing for every release, and it would be difficult
    to respect the string freeze.

 src/photos-main-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/photos-main-window.c b/src/photos-main-window.c
index 44fd1f9..6f06260 100644
--- a/src/photos-main-window.c
+++ b/src/photos-main-window.c
@@ -495,7 +495,7 @@ photos_main_window_show_about (PhotosMainWindow *self)
                          "license-type", GTK_LICENSE_GPL_2_0,
                          "logo-icon-name", app_id,
                          "program-name", _(PACKAGE_NAME),
-                         "version", _(PACKAGE_VERSION),
+                         "version", PACKAGE_VERSION,
                          "website", PACKAGE_URL,
                          "wrap-license", TRUE,
                          /* Translators: Put your names here */

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