summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup/main.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/setup/main.py b/setup/main.py
index 9c98c41f..dee7be4d 100644
--- a/setup/main.py
+++ b/setup/main.py
@@ -373,9 +373,10 @@ class Setup(object):
def __shortcut_button_clicked_cb(self, button, name, section, _name, entry):
buttons = (_("_Cancel"), Gtk.ResponseType.CANCEL,
_("_OK"), Gtk.ResponseType.OK)
- title = _("Select keyboard shortcut for %s") % \
- # Translators: Title of the window
- _("switching input methods")
+ title1 = _("Select keyboard shortcut for %s")
+ # Translators: Title of the window
+ title2 = _("switching input methods")
+ title = title1 % title2
dialog = keyboardshortcut.KeyboardShortcutSelectionDialog(buttons = buttons, title = title)
text = entry.get_text()
if text: