Fixed lots of strings for translatable text

This commit is contained in:
2015-06-26 08:27:43 -05:00
parent 920c1cf863
commit bb0227f3b8
11 changed files with 25 additions and 25 deletions

View File

@@ -67,8 +67,8 @@ class mainFrame(wx.Frame):
self.changelog.Enable(False)
self.check_for_updates = help.Append(wx.NewId(), _(u"&Check for updates"))
self.reportError = help.Append(wx.NewId(), _(u"&Report an error"))
self.visit_website = help.Append(-1, _(unicode(application.name+"'s &website")))
self.about = help.Append(-1, _(u"About &"+application.name))
self.visit_website = help.Append(-1, _(u"{0}'s &website").format(application.name,))
self.about = help.Append(-1, _(u"About &{0}").format(application.name,))
# Add all to the menu Bar
menuBar.Append(app, _(u"&Application"))
@@ -179,4 +179,4 @@ class mainFrame(wx.Frame):
getattr(self, menuitem).Check(check)
def no_update_available():
wx.MessageDialog(None, _(u"Your {0} version is up to date").format(application.name,), _(u"Update"), style=wx.OK).ShowModal()
wx.MessageDialog(None, _(u"Your {0} version is up to date").format(application.name,), _(u"Update"), style=wx.OK).ShowModal()