PluginMqttMonitor: fixed a typo causing translation files to not being loaded. release-1.1.1

Fri, 21 Sep 2018 18:01:10 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 21 Sep 2018 18:01:10 +0200
changeset 61
008d32130cdf
parent 60
38214865b8ef
child 62
bedbef0a30c0

PluginMqttMonitor: fixed a typo causing translation files to not being loaded.

ChangeLog file | annotate | diff | comparison | revisions
PluginMqttMonitor.py file | annotate | diff | comparison | revisions
PluginMqttMonitor.zip file | annotate | diff | comparison | revisions
--- a/ChangeLog	Thu Sep 20 19:21:16 2018 +0200
+++ b/ChangeLog	Fri Sep 21 18:01:10 2018 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 1.1.1
+- bug fixes
+
 Version 1.1.0
 - bug fixes
 - limited amount of recently used brokers to 20
--- a/PluginMqttMonitor.py	Thu Sep 20 19:21:16 2018 +0200
+++ b/PluginMqttMonitor.py	Fri Sep 21 18:01:10 2018 +0200
@@ -26,7 +26,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "1.1.0"
+version = "1.1.1"
 className = "MqttMonitorPlugin"
 packageName = "MqttMonitor"
 shortDescription = "Plug-in implementing a tool to connect to a MQTT broker"
@@ -178,7 +178,7 @@
             if loc and loc != "C":
                 locale_dir = os.path.join(
                     os.path.dirname(__file__), "MqttMonitor", "i18n")
-                translation = "mqttmonitor{0}".format(loc)
+                translation = "mqttmonitor_{0}".format(loc)
                 translator = QTranslator(None)
                 loaded = translator.load(translation, locale_dir)
                 if loaded:
Binary file PluginMqttMonitor.zip has changed

eric ide

mercurial