editors/TextViewer.py
changeset 1488 00fb79aba7ac
parent 1417 374238039643
child 1504 d3f97b72c02a
--- a/editors/TextViewer.py	Wed Apr 20 16:14:25 2016 +0300
+++ b/editors/TextViewer.py	Wed Apr 20 16:20:53 2016 +0300
@@ -258,7 +258,7 @@
                     blockinputs = None
                 if values[1] != "function":
                     if blockname == "":
-                        dialog = wx.TextEntryDialog(self.ParentWindow, "Block name", "Please enter a block name", "", wx.OK|wx.CANCEL|wx.CENTRE)
+                        dialog = wx.TextEntryDialog(self.ParentWindow, _("Block name"), _("Please enter a block name"), "", wx.OK|wx.CANCEL|wx.CENTRE)
                         if dialog.ShowModal() == wx.ID_OK:
                             blockname = dialog.GetValue()
                         else: