From 090063a1ccf0b69f5ef761e352f06af067bfc70f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Dr=C4=85g?= Date: Fri, 11 Aug 2017 19:45:02 +0200 Subject: [PATCH] ui: fix a translator comment in InhibitShortcutsDialog It needs to be exactly one line above the string to be picked up by gettext. --- js/ui/inhibitShortcutsDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/inhibitShortcutsDialog.js b/js/ui/inhibitShortcutsDialog.js index db0411df9..3bf9bc220 100644 --- a/js/ui/inhibitShortcutsDialog.js +++ b/js/ui/inhibitShortcutsDialog.js @@ -57,10 +57,10 @@ var InhibitShortcutsDialog = new Lang.Class({ let contentParams = { icon, title }; - /* Translators: %s is a keyboard shortcut like "Super+x" */ let restoreAccel = this._getRestoreAccel(); if (restoreAccel) contentParams.subtitle = + /* Translators: %s is a keyboard shortcut like "Super+x" */ _("You can restore shortcuts by pressing %s.").format(restoreAccel); let content = new Dialog.MessageDialogContent(contentParams);