From cf43c7b182224cd517f7f327d9066c2b4a7b5f82 Mon Sep 17 00:00:00 2001 From: str4d Date: Thu, 14 May 2015 04:45:43 +0000 Subject: [PATCH] Un-renamed language codes - this is Python, not Java... --- .tx/config | 2 +- i2p2www/__init__.py | 8 ++++---- i2p2www/static/images/flags/{in.png => id.png} | Bin .../translations/{in => id}/LC_MESSAGES/about.po | 0 .../{in => id}/LC_MESSAGES/comparison.po | 0 .../{in => id}/LC_MESSAGES/get-involved.po | 0 .../translations/{in => id}/LC_MESSAGES/research.po | 0 7 files changed, 5 insertions(+), 5 deletions(-) rename i2p2www/static/images/flags/{in.png => id.png} (100%) rename i2p2www/translations/{in => id}/LC_MESSAGES/about.po (100%) rename i2p2www/translations/{in => id}/LC_MESSAGES/comparison.po (100%) rename i2p2www/translations/{in => id}/LC_MESSAGES/get-involved.po (100%) rename i2p2www/translations/{in => id}/LC_MESSAGES/research.po (100%) diff --git a/.tx/config b/.tx/config index 913478ee..241b8345 100644 --- a/.tx/config +++ b/.tx/config @@ -1,6 +1,6 @@ [main] host = https://www.transifex.com -lang_map = he: iw, id: in, ru_RU: ru, sv_SE: sv, tr_TR: tr, uk_UA: uk, yi: ji, zh_CN: zh +lang_map = ru_RU: ru, sv_SE: sv, tr_TR: tr, uk_UA: uk, zh_CN: zh [I2P.website_about] file_filter = i2p2www/translations//LC_MESSAGES/about.po diff --git a/i2p2www/__init__.py b/i2p2www/__init__.py index a20d272f..6a517668 100644 --- a/i2p2www/__init__.py +++ b/i2p2www/__init__.py @@ -43,8 +43,8 @@ SUPPORTED_LANGS = [ 'ru', 'zh', 'ar', - 'in', - 'iw', + 'id', + 'he', 'it', 'ja', 'ko', @@ -62,13 +62,13 @@ SUPPORTED_LANGS = [ SUPPORTED_LANG_NAMES = { 'ar': u'Arabic العربية', - 'in': u'Bahasa Indonesia', + 'id': u'Bahasa Indonesia', 'zh': u'Chinese 中文', 'de': u'Deutsch', 'en': u'English', 'es': u'Castellano', 'fr': u'Français', - 'iw': u'Hebrew עברית', + 'he': u'Hebrew עברית', 'it': u'Italiano', 'ja': u'Japanese 日本語', 'ko': u'Korean 한국말', diff --git a/i2p2www/static/images/flags/in.png b/i2p2www/static/images/flags/id.png similarity index 100% rename from i2p2www/static/images/flags/in.png rename to i2p2www/static/images/flags/id.png diff --git a/i2p2www/translations/in/LC_MESSAGES/about.po b/i2p2www/translations/id/LC_MESSAGES/about.po similarity index 100% rename from i2p2www/translations/in/LC_MESSAGES/about.po rename to i2p2www/translations/id/LC_MESSAGES/about.po diff --git a/i2p2www/translations/in/LC_MESSAGES/comparison.po b/i2p2www/translations/id/LC_MESSAGES/comparison.po similarity index 100% rename from i2p2www/translations/in/LC_MESSAGES/comparison.po rename to i2p2www/translations/id/LC_MESSAGES/comparison.po diff --git a/i2p2www/translations/in/LC_MESSAGES/get-involved.po b/i2p2www/translations/id/LC_MESSAGES/get-involved.po similarity index 100% rename from i2p2www/translations/in/LC_MESSAGES/get-involved.po rename to i2p2www/translations/id/LC_MESSAGES/get-involved.po diff --git a/i2p2www/translations/in/LC_MESSAGES/research.po b/i2p2www/translations/id/LC_MESSAGES/research.po similarity index 100% rename from i2p2www/translations/in/LC_MESSAGES/research.po rename to i2p2www/translations/id/LC_MESSAGES/research.po