windowManager: Fix ngettext() call
We don't pass the number that allows gettext to decide on the correct string, whoops. Spotted by Alexandre Franke. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2649
This commit is contained in:
parent
f4d90bc127
commit
5ec5978d4a
@ -82,8 +82,10 @@ class DisplayChangeDialog extends ModalDialog.ModalDialog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_formatCountDown() {
|
_formatCountDown() {
|
||||||
let fmt = ngettext("Settings changes will revert in %d second",
|
const fmt = ngettext(
|
||||||
"Settings changes will revert in %d seconds");
|
'Settings changes will revert in %d second',
|
||||||
|
'Settings changes will revert in %d seconds',
|
||||||
|
this._countDown);
|
||||||
return fmt.format(this._countDown);
|
return fmt.format(this._countDown);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user