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>
This commit is contained in:
parent
380d2db1d9
commit
7f77b6f054
@ -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 });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user