diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8394572d..55babb61f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - name: Linter checks run: | bash _tools/format.sh - codespell -I _tools/codespell-ignore.txt {about,community,development,getting_started,tutorials}/**/*.rst + codespell -I _tools/codespell-ignore.txt -x _tools/codespell-ignore-lines.txt {about,community,development,getting_started,tutorials}/**/*.rst - name: Sphinx build run: | diff --git a/_tools/codespell-ignore-lines.txt b/_tools/codespell-ignore-lines.txt new file mode 100644 index 000000000..7a125d5a1 --- /dev/null +++ b/_tools/codespell-ignore-lines.txt @@ -0,0 +1 @@ +| te | Telugu | diff --git a/tutorials/i18n/locales.rst b/tutorials/i18n/locales.rst index 674503f91..d4b885e4c 100644 --- a/tutorials/i18n/locales.rst +++ b/tutorials/i18n/locales.rst @@ -3,6 +3,8 @@ Locales ======= +.. Note: This list is synced with core/translation.cpp in the engine. + This is the list of supported locales and variants in the engine. It's based on the Unix standard locale strings: @@ -61,6 +63,8 @@ based on the Unix standard locale strings: +--------------+------------------------------------+ | ar_SD | Arabic (Sudan) | +--------------+------------------------------------+ +| ar_SS | Arabic (South Sudan) | ++--------------+------------------------------------+ | ar_SY | Arabic (Syria) | +--------------+------------------------------------+ | ar_TN | Arabic (Tunisia) | @@ -199,8 +203,6 @@ based on the Unix standard locale strings: +--------------+------------------------------------+ | en_NG | English (Nigeria) | +--------------+------------------------------------+ -| en_MT | English (Malta) | -+--------------+------------------------------------+ | en_NZ | English (New Zealand) | +--------------+------------------------------------+ | en_PH | English (Philippines) | @@ -279,6 +281,8 @@ based on the Unix standard locale strings: +--------------+------------------------------------+ | fi_FI | Finnish (Finland) | +--------------+------------------------------------+ +| fil | Filipino | ++--------------+------------------------------------+ | fil_PH | Filipino (Philippines) | +--------------+------------------------------------+ | fo_FO | Faroese (Faroe Islands) | @@ -375,6 +379,8 @@ based on the Unix standard locale strings: +--------------+------------------------------------+ | kab_DZ | Kabyle (Algeria) | +--------------+------------------------------------+ +| ka | Georgian | ++--------------+------------------------------------+ | ka_GE | Georgian (Georgia) | +--------------+------------------------------------+ | kk_KZ | Kazakh (Kazakhstan) | @@ -435,14 +441,18 @@ based on the Unix standard locale strings: +--------------+------------------------------------+ | mhr_RU | Eastern Mari (Russia) | +--------------+------------------------------------+ +| mi | Maori | ++--------------+------------------------------------+ | mi_NZ | Maori (New Zealand) | +--------------+------------------------------------+ -| miq_NI | Mískito (Nicaragua) | +| miq_NI | Mískito (Nicaragua) | +--------------+------------------------------------+ | mk | Macedonian | +--------------+------------------------------------+ | mk_MK | Macedonian (Macedonia) | +--------------+------------------------------------+ +| ml | Malayalam | ++--------------+------------------------------------+ | ml_IN | Malayalam (India) | +--------------+------------------------------------+ | mni_IN | Manipuri (India) | @@ -461,7 +471,7 @@ based on the Unix standard locale strings: +--------------+------------------------------------+ | my_MM | Burmese (Myanmar) | +--------------+------------------------------------+ -| myv_RU | Erzya (Russia) | +| myv_RU | Erzya (Russia) | +--------------+------------------------------------+ | nah_MX | Nahuatl languages (Mexico) | +--------------+------------------------------------+ @@ -495,10 +505,6 @@ based on the Unix standard locale strings: +--------------+------------------------------------+ | nn_NO | Norwegian Nynorsk (Norway) | +--------------+------------------------------------+ -| no | Norwegian | -+--------------+------------------------------------+ -| no_NO | Norwegian (Norway) | -+--------------+------------------------------------+ | nr_ZA | South Ndebele (South Africa) | +--------------+------------------------------------+ | nso_ZA | Pedi (South Africa) | @@ -577,6 +583,8 @@ based on the Unix standard locale strings: +--------------+------------------------------------+ | sid_ET | Sidamo (Ethiopia) | +--------------+------------------------------------+ +| si | Sinhala | ++--------------+------------------------------------+ | si_LK | Sinhala (Sri Lanka) | +--------------+------------------------------------+ | sk | Slovak | @@ -585,6 +593,8 @@ based on the Unix standard locale strings: +--------------+------------------------------------+ | sl | Slovenian | +--------------+------------------------------------+ +| sl_SI | Slovenian (Slovenia) | ++--------------+------------------------------------+ | so | Somali | +--------------+------------------------------------+ | so_DJ | Somali (Djibouti) | @@ -607,9 +617,9 @@ based on the Unix standard locale strings: +--------------+------------------------------------+ | sr | Serbian | +--------------+------------------------------------+ -| sr_BA | Serbian (Bosnia and Herzegovina) | +| sr_Cyrl | Serbian (Cyrillic) | +--------------+------------------------------------+ -| sr_CS | Serbian (Serbia and Montenegro) | +| sr_Latn | Serbian (Latin) | +--------------+------------------------------------+ | sr_ME | Serbian (Montenegro) | +--------------+------------------------------------+ @@ -639,6 +649,8 @@ based on the Unix standard locale strings: +--------------+------------------------------------+ | tcy_IN | Tulu (India) | +--------------+------------------------------------+ +| te | Telugu | ++--------------+------------------------------------+ | te_IN | Telugu (India) | +--------------+------------------------------------+ | tg_TJ | Tajik (Tajikistan) | @@ -649,8 +661,6 @@ based on the Unix standard locale strings: +--------------+------------------------------------+ | th_TH | Thai (Thailand) | +--------------+------------------------------------+ -| th_TH_TH | Thai (Thailand, TH) | -+--------------+------------------------------------+ | ti | Tigrinya | +--------------+------------------------------------+ | ti_ER | Tigrinya (Eritrea) |