[gnome-shell] ui: fix a translator comment in InhibitShortcutsDialog



commit 090063a1ccf0b69f5ef761e352f06af067bfc70f
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Fri Aug 11 19:45:02 2017 +0200

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/inhibitShortcutsDialog.js b/js/ui/inhibitShortcutsDialog.js
index db0411d..3bf9bc2 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]