[gnome-shell] welcomeDialog: Fix title translation



commit 7f77b6f054013e235c88df60163317ab2c7e8c9b
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Oct 5 15:05:18 2021 +0200

    welcomeDialog: Fix title translation
    
    Translators translate the format string ('... GNOME %s'), not the
    substituted one ('... GNOME 41').
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4669
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1998>

 js/ui/welcomeDialog.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/welcomeDialog.js b/js/ui/welcomeDialog.js
index cf6540fe23..9d99f0035f 100644
--- a/js/ui/welcomeDialog.js
+++ b/js/ui/welcomeDialog.js
@@ -33,7 +33,7 @@ class WelcomeDialog extends ModalDialog.ModalDialog {
 
     _buildLayout() {
         const [majorVersion] = Config.PACKAGE_VERSION.split('.');
-        const title = _('Welcome to GNOME %s'.format(majorVersion));
+        const title = _('Welcome to GNOME %s').format(majorVersion);
         const description = _('If you want to learn your way around, check out the tour.');
         const content = new Dialog.MessageDialogContent({ title, description });
 


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