[gnome-software/1525-os-upgrade-vertically-center-download-button] Apply 1 suggestion(s) to 1 file(s)



commit 4f6f86df8b163f0d6d14f8ce4deffbf7c614c3e4
Author: Philip Withnall <philip tecnocode co uk>
Date:   Mon Nov 1 15:02:57 2021 +0000

    Apply 1 suggestion(s) to 1 file(s)

 src/gs-upgrade-banner.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-upgrade-banner.c b/src/gs-upgrade-banner.c
index 96bfa6764..2a87cc580 100644
--- a/src/gs-upgrade-banner.c
+++ b/src/gs-upgrade-banner.c
@@ -86,7 +86,7 @@ gs_upgrade_banner_refresh (GsUpgradeBanner *self)
                /* TRANSLATORS: This is the text displayed when a distro
                 * upgrade is available. The first %s is the distro name
                 * and the 2nd %s is the version, e.g. "Fedora 35 Available" */
-               str = g_strdup_printf (_("%s %s Available"), gs_app_get_name (priv->app), gs_app_get_version 
(priv->app));
+               str = g_strdup_printf (_("%s %s Available"), gs_app_get_name (priv->app), version);
        } else {
                /* TRANSLATORS: This is the text displayed when a distro
                 * upgrade is available. The %s is the distro name,


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