From fb89cf06f2a43cb42ba6150bb9618bb0139533bf Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Fri, 31 Mar 2017 20:37:08 +0200 Subject: [PATCH] translation related globals moved to translations.py --- lib/translations.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lib/translations.py b/lib/translations.py index 3d526f3..43615eb 100644 --- a/lib/translations.py +++ b/lib/translations.py @@ -1,5 +1,20 @@ # vim: set encoding=utf-8 +FULL_TRANSLATION = [ + "az", "bg", "cs", "da", "de", "el", "es", "fi", "fr", "hi", + "hu", "it", "ja", "ko", "ml", "nl", "nn", "pt", "pl", "ro", + "ru", "sk", "sr", "sr-lat", "sv", "tr", "uk", "vi", "zh", +] + +PARTIAL_TRANSLATION = [ + "et", "hy", "jv", "ka", "kk", "ky", "lt", "lv", "mk", "sw", + "th", "uz", "zu", + "hr", + "bs", +] + +SUPPORTED_LANGS = FULL_TRANSLATION + PARTIAL_TRANSLATION + MESSAGE = { 'NOT_FOUND_MESSAGE': { 'en': u"""