From 5be9bccaeb16d91a90f0da9188db1980dca7e4c6 Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Sat, 16 Sep 2017 16:11:21 +0200 Subject: [PATCH] Remove wrong comments --- src/manjaro_hello.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index d8fa310..7f73d77 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -129,13 +129,10 @@ class Hello(): self.save["locale"] = locale - # Dirty code to fix an issue with gettext that can't translate strings from glade files - # Redfining all translatables strings - # TODO: Find a better solution + # Real-time locale changing + elts = { - "comments": { - "aboutdialog" - }, + "comments": { "aboutdialog"}, "label": { "autostartlabel", "development", @@ -155,10 +152,7 @@ class Hello(): "welcometitle", "wiki" }, - "tooltip_text": { - "about", - "home" - } + "tooltip_text": { "about", "home" } } for method in elts: for elt in elts[method]: