diff cagou/plugins/plugin_wid_settings.py @ 312:772c170b47a9

Python3 port: /!\ Cagou now runs with Python 3.6+ Port has been done in the same way as for backend (check backend commit b2d067339de3 message for details).
author Goffi <goffi@goffi.org>
date Tue, 13 Aug 2019 19:14:22 +0200
parents 4772ba26623f
children 080b6cc17f53
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_settings.py	Mon Aug 05 11:21:54 2019 +0200
+++ b/cagou/plugins/plugin_wid_settings.py	Tue Aug 13 19:14:22 2019 +0200
@@ -30,10 +30,10 @@
 
 
 PLUGIN_INFO = {
-    "name": _(u"settings"),
+    "name": _("settings"),
     "main": "CagouSettings",
-    "description": _(u"Cagou/SàT settings"),
-    "icon_symbol": u"wrench",
+    "description": _("Cagou/SàT settings"),
+    "icon_symbol": "wrench",
 }
 
 
@@ -60,7 +60,7 @@
 
     def getParamsUIEb(self, failure):
         self.changeWidget(Label(
-            text=_(u"Can't load parameters!"),
+            text=_("Can't load parameters!"),
             bold=True,
             color=(1,0,0,1)))
-        G.host.showDialog(u"Can't load params UI", failure, "error")
+        G.host.showDialog("Can't load params UI", failure, "error")