From 815b507562d46130b3c66ca2b84a260931f6447b Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Mon, 26 Dec 2016 23:19:50 +0100 Subject: [PATCH] Add suport for russian --- src/manjaro_hello.py | 3 +-- ui/manjaro-hello.glade | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index 298357e..0cde8bf 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -78,7 +78,7 @@ class ManjaroHello(): self.builder.get_object("stack").add_named(scrolled_window, page + "page") # Init translation - self.locales = ("de", "en", "fr", "pl") # supported locales + self.locales = ("de", "en", "fr", "pl", "ru") # supported locales self.default_locale = "en" self.sys_locale = locale.getdefaultlocale()[0] self.default_texts = {} @@ -172,7 +172,6 @@ class ManjaroHello(): } } for method in elts: - print(elts[method]) for elt in elts[method]: if elt not in self.default_texts: self.default_texts[elt] = getattr(self.builder.get_object(elt), "get_" + method)() diff --git a/ui/manjaro-hello.glade b/ui/manjaro-hello.glade index 4b21c76..b85395f 100644 --- a/ui/manjaro-hello.glade +++ b/ui/manjaro-hello.glade @@ -505,6 +505,7 @@ We, the Manjaro Developers, hope that you will enjoy using Manjaro as much as we English (United States) Français (France) Polski (Polska) + Pусский (Россия)