Skip to content
Snippets Groups Projects
Commit dae0704e authored by Campbell Barton's avatar Campbell Barton
Browse files

Update languages

parent 88a1758d
No related branches found
No related tags found
No related merge requests found
...@@ -91,8 +91,8 @@ fw(" \"ko_KR\": \"ko\",\n") # Korean ...@@ -91,8 +91,8 @@ fw(" \"ko_KR\": \"ko\",\n") # Korean
#fw(" \"pl_PL": \"pl",\n") #fw(" \"pl_PL": \"pl",\n")
fw(" \"pt_PT\": \"pt\",\n") # Portuguese fw(" \"pt_PT\": \"pt\",\n") # Portuguese
fw(" \"pt_BR\": \"pt\",\n") # Portuguese - for until we have a pt_BR version fw(" \"pt_BR\": \"pt\",\n") # Portuguese - for until we have a pt_BR version
fw(" \"zh_CN\": \"zh.cn\",\n") # Chinese - Should be changed to "zh_cn" but there is a bug in sphinx-intl fw(" \"zh_CN\": \"zh-hans\",\n") # Chinese - Should be changed to "zh_cn" but there is a bug in sphinx-intl
fw(" \"zh_TW\": \"zh.tw\",\n") # Taiwanese Chinese fw(" \"zh_TW\": \"zh-hant\",\n") # Taiwanese Chinese
fw("}.get(language)\n\n") fw("}.get(language)\n\n")
fw("if LANG is not None:\n") fw("if LANG is not None:\n")
fw(" url_manual_prefix = url_manual_prefix.replace(\"manual/en\", \"manual/\" + LANG)\n\n") fw(" url_manual_prefix = url_manual_prefix.replace(\"manual/en\", \"manual/\" + LANG)\n\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment