From: Youness Alaoui Date: Wed, 12 Aug 2015 17:48:16 +0000 (-0400) Subject: Make new version dialog translatable and rename Ok into OK X-Git-Tag: lulzbot-15.02.1-2.02~16 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e8c1e2624f05e23be932bd5297f4198ff29c9ce9;p=cura.git Make new version dialog translatable and rename Ok into OK --- diff --git a/Cura/gui/newVersionDialog.py b/Cura/gui/newVersionDialog.py index 9c9767f8..e6d9936b 100644 --- a/Cura/gui/newVersionDialog.py +++ b/Cura/gui/newVersionDialog.py @@ -27,15 +27,15 @@ class newVersionDialog(wx.Dialog): dc.SetFont(font) title.SetMinSize(dc.GetTextExtent(title_text)) s.Add(title, flag=wx.ALIGN_CENTRE|wx.EXPAND|wx.BOTTOM, border=5) - s.Add(wx.StaticText(p, -1, 'Welcome to the new release of Cura LulzBot Edition!')) - s.Add(wx.StaticText(p, -1, '(This dialog is only shown once)')) + s.Add(wx.StaticText(p, -1, _('Welcome to the new release of Cura LulzBot Edition!'))) + s.Add(wx.StaticText(p, -1, _('(This dialog is only shown once)'))) s.Add(wx.StaticLine(p), flag=wx.EXPAND|wx.TOP|wx.BOTTOM, border=10) - s.Add(wx.StaticText(p, -1, 'Want to know what is new and cool in this version?')) - s.Add(wx.StaticText(p, -1, 'Click here for a list of changes:')) + s.Add(wx.StaticText(p, -1, _('Want to know what is new and cool in this version?'))) + s.Add(wx.StaticText(p, -1, _('Click here for a list of changes:'))) s.Add(wx.HyperlinkCtrl(p, -1, newVersionDialog.url)) s.Add(wx.StaticLine(p), flag=wx.EXPAND|wx.TOP|wx.BOTTOM, border=10) - button = wx.Button(p, -1, 'Ok') + button = wx.Button(p, -1, _('OK')) self.Bind(wx.EVT_BUTTON, self.OnOk, button) s.Add(button, flag=wx.TOP|wx.ALIGN_RIGHT, border=5)