ui: fix a translator comment in InhibitShortcutsDialog

It needs to be exactly one line above the string to be picked up by gettext.
This commit is contained in:
Piotr Drąg 2017-08-11 19:45:02 +02:00
parent 9fc6caeffb
commit 090063a1cc

View File

@ -57,10 +57,10 @@ var InhibitShortcutsDialog = new Lang.Class({
let contentParams = { icon, title }; let contentParams = { icon, title };
/* Translators: %s is a keyboard shortcut like "Super+x" */
let restoreAccel = this._getRestoreAccel(); let restoreAccel = this._getRestoreAccel();
if (restoreAccel) if (restoreAccel)
contentParams.subtitle = contentParams.subtitle =
/* Translators: %s is a keyboard shortcut like "Super+x" */
_("You can restore shortcuts by pressing %s.").format(restoreAccel); _("You can restore shortcuts by pressing %s.").format(restoreAccel);
let content = new Dialog.MessageDialogContent(contentParams); let content = new Dialog.MessageDialogContent(contentParams);