diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 21c63b5c3..ffbec6d83 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -82,8 +82,10 @@ class DisplayChangeDialog extends ModalDialog.ModalDialog { } _formatCountDown() { - let fmt = ngettext("Settings changes will revert in %d second", - "Settings changes will revert in %d seconds"); + const fmt = ngettext( + 'Settings changes will revert in %d second', + 'Settings changes will revert in %d seconds', + this._countDown); return fmt.format(this._countDown); }