[gnome-software/gnome-3-22] fedora-distro-upgrades: Mark a string for translation
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-22] fedora-distro-upgrades: Mark a string for translation
- Date: Mon, 16 Jan 2017 14:35:06 +0000 (UTC)
commit e608b9475dc4c6c4687c0b012a7b852268f0d66b
Author: Kalev Lember <klember redhat com>
Date: Thu Dec 29 15:50:18 2016 +0100
fedora-distro-upgrades: Mark a string for translation
This cherry-picks two commits from master:
(cherry picked from commit bcc88f74cc527a9e99c3c000614c8db45329a0ba)
(cherry picked from commit 081bc0a4e2c546ef8bfca1383d7ab36756752583)
https://bugzilla.gnome.org/show_bug.cgi?id=776580
po/POTFILES.in | 1 +
src/plugins/gs-plugin-fedora-distro-upgrades.c | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 123211e..67f4677 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -66,3 +66,4 @@ src/org.gnome.Software.desktop.in
src/gs-shell-loading.c
[type: gettext/glade]src/gs-shell-loading.ui
src/plugins/gs-desktop-common.c
+src/plugins/gs-plugin-fedora-distro-upgrades.c
diff --git a/src/plugins/gs-plugin-fedora-distro-upgrades.c b/src/plugins/gs-plugin-fedora-distro-upgrades.c
index c5dddf1..40b7dcf 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>
@@ -391,8 +392,8 @@ 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 "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]