From 4896ebfffd82d289d779e5e630953f3017463512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Mon, 15 Jun 2015 04:56:36 -0500 Subject: [PATCH] Fixing strings for translation --- src/keystrokeEditor/constants.py | 2 +- src/wxUI/dialogs/configuration.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/keystrokeEditor/constants.py b/src/keystrokeEditor/constants.py index 1fef8931..e208f67b 100644 --- a/src/keystrokeEditor/constants.py +++ b/src/keystrokeEditor/constants.py @@ -20,7 +20,7 @@ actions = { "open_timeline": _(u"Open user timeline"), "remove_buffer": _(u"Destroy buffer"), "interact": _(u"Interact with the currently focused tweet."), -"secondary_interact": _(u"Perform secondary interact action (open URL in browser if Codeofdusk's intelegent audio tweet handlers enabled, play audio if disabled."), +"url": _(u"Open URL"), "volume_up": _(u"Increase volume by 5%"), "volume_down": _(u"Decrease volume by 5%"), "go_home": _(u"Jump to the first element of a buffer"), diff --git a/src/wxUI/dialogs/configuration.py b/src/wxUI/dialogs/configuration.py index c6b6f100..ed115b0a 100644 --- a/src/wxUI/dialogs/configuration.py +++ b/src/wxUI/dialogs/configuration.py @@ -18,11 +18,11 @@ class general(wx.Panel, baseDialog.BaseWXDialog): langBox.Add(language, 0, wx.ALL, 5) langBox.Add(self.language, 0, wx.ALL, 5) sizer.Add(langBox, 0, wx.ALL, 5) - self.ask_at_exit = wx.CheckBox(self, -1, _(U"ask before exiting "+application.name)) + self.ask_at_exit = wx.CheckBox(self, -1, _(U"ask before exiting {0}").format(application.name,)) sizer.Add(self.ask_at_exit, 0, wx.ALL, 5) - self.play_ready_sound = wx.CheckBox(self, -1, _(U"Play a sound when "+application.name+" launches")) + self.play_ready_sound = wx.CheckBox(self, -1, _(U"Play a sound when {0} launches").format(application.name,)) sizer.Add(self.play_ready_sound, 0, wx.ALL, 5) - self.speak_ready_msg = wx.CheckBox(self, -1, _(U"Speak a message when "+application.name+" launches")) + self.speak_ready_msg = wx.CheckBox(self, -1, _(U"Speak a message when {0} launches").format(application.name,)) sizer.Add(self.speak_ready_msg, 0, wx.ALL, 5) self.use_invisible_shorcuts = wx.CheckBox(self, -1, _(u"Use invisible interface's keyboard shortcuts while GUI is visible")) sizer.Add(self.use_invisible_shorcuts, 0, wx.ALL, 5)