[gnome-software] fedora-distro-upgrades: Mark two strings for translation



commit bcc88f74cc527a9e99c3c000614c8db45329a0ba
Author: Kalev Lember <klember redhat com>
Date:   Thu Dec 29 15:50:18 2016 +0100

    fedora-distro-upgrades: Mark two strings for translation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=776580

 po/POTFILES.in                                 |    1 +
 src/plugins/gs-plugin-fedora-distro-upgrades.c |   17 ++++++++++-------
 2 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index f42b414..ae50196 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -67,6 +67,7 @@ src/gs-shell-loading.c
 src/gs-shell-loading.ui
 src/plugins/gs-desktop-common.c
 src/plugins/gs-install-appstream.c
+src/plugins/gs-plugin-fedora-distro-upgrades.c
 src/plugins/gs-plugin-generic-updates.c
 src/plugins/org.gnome.Software.Plugin.Epiphany.metainfo.xml.in
 src/plugins/org.gnome.Software.Plugin.Flatpak.metainfo.xml.in
diff --git a/src/plugins/gs-plugin-fedora-distro-upgrades.c b/src/plugins/gs-plugin-fedora-distro-upgrades.c
index b2ab232..16cc302 100644
--- a/src/plugins/gs-plugin-fedora-distro-upgrades.c
+++ b/src/plugins/gs-plugin-fedora-distro-upgrades.c
@@ -21,6 +21,7 @@
 
 #include <config.h>
 
+#include <glib/gi18n.h>
 #include <json-glib/json-glib.h>
 #include <gnome-software.h>
 
@@ -415,14 +416,16 @@ gs_plugin_add_distro_upgrades (GsPlugin *plugin,
                gs_app_set_state (app, AS_APP_STATE_AVAILABLE);
                gs_app_set_name (app, GS_APP_QUALITY_LOWEST, distro_info->name);
                gs_app_set_summary (app, GS_APP_QUALITY_LOWEST,
-                                   "A major upgrade, with new features "
-                                   "and added polish.");
+                                   /* TRANSLATORS: this is a title for Fedora distro upgrades */
+                                   _("A major upgrade, with new features and added polish."));
                gs_app_set_description (app, GS_APP_QUALITY_LOWEST,
-                                       "Fedora Workstation is a polished, "
-                                       "easy to use operating system for "
-                                       "laptop and desktop computers, with a "
-                                       "complete set of tools for developers "
-                                       "and makers of all kinds.");
+                                       /* TRANSLATORS: this is a description
+                                        * displayed with Fedora distro upgrades */
+                                       _("Fedora Workstation is a polished, "
+                                         "easy to use operating system for "
+                                         "laptop and desktop computers, with a "
+                                         "complete set of tools for developers "
+                                         "and makers of all kinds."));
                gs_app_set_version (app, app_version);
                gs_app_set_size_installed (app, 1024 * 1024 * 1024); /* estimate */
                gs_app_set_size_download (app, 256 * 1024 * 1024); /* estimate */


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