add translation into Russian for dialog window "About PLCOpen Editor"
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Thu, 21 Apr 2016 17:41:43 +0300
changeset 1492 14ce1a631f44
parent 1491 f3c26ebce488
child 1493 6dbebfcec074
add translation into Russian for dialog window "About PLCOpen Editor"
PLCOpenEditor.py
doc/plcopen_about.ru.html
--- a/PLCOpenEditor.py	Thu Apr 21 17:40:52 2016 +0300
+++ b/PLCOpenEditor.py	Thu Apr 21 17:41:43 2016 +0300
@@ -343,7 +343,7 @@
         open_pdf(os.path.join(beremiz_dir, "plcopen", "TC6_XML_V101.pdf"))
 
     def OnAboutMenu(self, event):
-        OpenHtmlFrame(self,_("About PLCOpenEditor"), os.path.join(beremiz_dir, "doc", "plcopen_about.html"), wx.Size(350, 350))
+        OpenHtmlFrame(self,_("About PLCOpenEditor"), os.path.join(beremiz_dir, "doc", _("plcopen_about.html")), wx.Size(350, 350))
 
     def SaveProject(self):
         result = self.Controler.SaveXMLFile()
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/plcopen_about.ru.html	Thu Apr 21 17:41:43 2016 +0300
@@ -0,0 +1,17 @@
+<HTML>
+  <HEAD><meta charset="utf-8" http-equiv="Content-Type" content="text/html; charset=utf-8">  
+    <TITLE>О PLCOpen Editor</TITLE>
+  </HEAD>
+  <BODY>
+<CENTER>
+<IMG SRC="../images/aboutlogo.png">
+<BR><BR>
+<font size="3">PLCopen Editor сохраняет и загружает XML
+  проекты,<BR>созданные согласно PLCopen TC6-XML схемам.</font>
+<BR><BR>
+За подробной информацией обращаться:
+<a href="http://www.beremiz.org/">http://www.beremiz.org/</a>
+<BR><BR>
+</CENTER>
+</BODY>
+</HTML>