From 01a4599136c5bc1a66bfbc86aed5e86344f33636 Mon Sep 17 00:00:00 2001 From: DiMartinoXBMC Date: Sun, 28 Jun 2015 13:25:15 +0300 Subject: [PATCH] uk ru exchange --- Localization.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Localization.py b/Localization.py index 34cbd4d..88a3430 100644 --- a/Localization.py +++ b/Localization.py @@ -474,4 +474,10 @@ def localize(text): try: return dictionary[language][text] except: - return text + if language=='uk': + try: + return dictionary['ru'][text] + except: + return text + else: + return text