controls/UriLocationEditor.py
changeset 2179 84c4e56b38d6
parent 2176 748017ca4151
child 2182 eeca1aff0691
--- a/controls/UriLocationEditor.py	Thu Jun 07 16:53:21 2018 +0300
+++ b/controls/UriLocationEditor.py	Thu Jun 07 16:58:13 2018 +0300
@@ -32,7 +32,7 @@
     def _init_sizers(self):
         self.mainSizer = wx.BoxSizer(wx.VERTICAL)
         typeSizer = wx.BoxSizer(wx.HORIZONTAL)
-        typeSizer.Add(wx.StaticText(self,wx.ID_ANY,"URI type:"), border=5, flag=wx.ALIGN_CENTER_VERTICAL|wx.ALL)
+        typeSizer.Add(wx.StaticText(self,wx.ID_ANY, _("URI type:")), border=5, flag=wx.ALIGN_CENTER_VERTICAL|wx.ALL)
         typeSizer.Add(self.UriTypeChoice, border=5, flag=wx.ALL)
         self.mainSizer.Add(typeSizer)
 
@@ -43,7 +43,7 @@
         self.Fit()
 
     def __init__(self, parent, uri):
-        self.URITYPES = ["- Select URI type -"]
+        self.URITYPES = [_("- Select URI type -")]
         for connector_type, connector_function in connectors_dialog.iteritems():
             try:
                 connector_function['function']()