Add russian translation on label "Tick" in debug variable panel.
authorSergey Surkov <surkovsv93@gmail.com>
Wed, 05 Oct 2016 18:01:28 +0300
changeset 1538 ee1715e94136
parent 1537 e8629f0cc93b
child 1539 8e5c03798abc
Add russian translation on label "Tick" in debug variable panel.
controls/DebugVariablePanel/DebugVariablePanel.py
i18n/Beremiz_ru_RU.po
locale/ru_RU/LC_MESSAGES/Beremiz.mo
--- a/controls/DebugVariablePanel/DebugVariablePanel.py	Wed Oct 05 10:07:10 2016 +0300
+++ b/controls/DebugVariablePanel/DebugVariablePanel.py	Wed Oct 05 18:01:28 2016 +0300
@@ -562,7 +562,7 @@
         else:
             tick = None
         if tick is not None:
-            self.TickLabel.SetLabel("Tick: %d" % tick)
+            self.TickLabel.SetLabel(label=_("Tick: %d") % tick)
             tick_duration = int(tick * self.Ticktime)
             not_null = False
             duration = ""
--- a/i18n/Beremiz_ru_RU.po	Wed Oct 05 10:07:10 2016 +0300
+++ b/i18n/Beremiz_ru_RU.po	Wed Oct 05 18:01:28 2016 +0300
@@ -2740,6 +2740,11 @@
 msgid "Range:"
 msgstr "Диапазон:"
 
+#: ../controls/DebugVariablePanel/DebugVariablePanel.py:565
+#, python-format
+msgid "Tick: %d"
+msgstr "Цикл: %d"
+
 #: ../ProjectController.py:1762
 msgid "Raw IEC code"
 msgstr "МЭК-код"
Binary file locale/ru_RU/LC_MESSAGES/Beremiz.mo has changed