PluginProjectWeb.py

changeset 22
0da9392cdde8
parent 21
d72188f9ad6e
child 24
df7785eb1859
--- a/PluginProjectWeb.py	Sat Dec 31 13:51:00 2016 +0100
+++ b/PluginProjectWeb.py	Tue Mar 28 19:33:41 2017 +0200
@@ -153,7 +153,7 @@
             if loc and loc != "C":
                 locale_dir = os.path.join(
                     os.path.dirname(__file__), "ProjectWeb", "i18n")
-                translation = "web_%s" % loc
+                translation = "web_{0}".format(loc)
                 translator = QTranslator(None)
                 loaded = translator.load(translation, locale_dir)
                 if loaded:
@@ -329,3 +329,6 @@
             editor.endUndoAction()
             
             editor.setCursorPosition(cursorLine, cursorIndex)
+
+#
+# eflag: noqa = M801

eric ide

mercurial