Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2017-03-28 03:35:14 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2017-03-28 03:35:14 +0300
commite05df14bbda26263b2c7a2bb3ac6f54e7c52570d (patch)
treecc50d951b06687b3c677b3633118fdea5bd01aac
parent66100acb7648378c46f71c6b513dd522835afb1f (diff)
RNA manual access add new language links
-rw-r--r--modules/rna_manual_reference.py37
1 files changed, 19 insertions, 18 deletions
diff --git a/modules/rna_manual_reference.py b/modules/rna_manual_reference.py
index 63bf108c..1fa26cdc 100644
--- a/modules/rna_manual_reference.py
+++ b/modules/rna_manual_reference.py
@@ -32,29 +32,30 @@ if bpy.context.user_preferences.system.use_international_fonts:
language = os.getenv('LANG', '').split('.')[0]
LANG = {
-# "ar_EG": "ar",
-# "bg_BG": "bg",
-# "ca_AD": "ca",
-# "cs_CZ": "cz",
+# "ar_EG": "ar",
+# "bg_BG": "bg",
+# "ca_AD": "ca",
+# "cs_CZ": "cz",
"de_DE": "de", # German.
-# "el_GR": "el",
+# "el_GR": "el",
"ru_RU": "ru", # Russian.
-# "sr_RS": "sr",
-# "sv_SE": "sv",
-# "tr_TR": "th",
-# "uk_UA": "uk",
- "es": "es", # Spanish.
-# "fi_FI": "fi",
- "fr_FR": "fr", # French.
-# "id_ID": "id",
-# "it_IT": "it",
-# "ja_JP": "ja",
-# "nl_NL": "nl",
-# "pl_PL": "pl",
+# "sr_RS": "sr",
+# "sv_SE": "sv",
+# "tr_TR": "th",
+# "uk_UA": "uk ",
+ "es": "es", # Spanish
+# "fi_FI": "fi",
+ "fr_FR": "fr", # French
+# "id_ID": "id",
+ "it_IT": "it", # Italian
+ "ja_JP": "ja", # Japanese
+ "ko_KR": "ko", # Korean
+# "nl_NL": "nl",
+# "pl_PL": "pl",
"pt_PT": "pt", # Portuguese.
"pt_BR": "pt", # Portuguese - for until we have a pt_BR version.
"zh_CN": "zh.cn", # Chinese - Should be changed to "zh_cn" but there is a bug in sphinx-intl.
- "zh_TW": "zh.cn", # Taiwanese Chinese - for until we have a zh_tw version.
+ "zh_TW": "zh.tw", # Taiwanese Chinese
}.get(language)
if LANG is not None: