Merge branch 'main' into 'develop'

Main

See merge request yoxem/pleroma-fe!1
This commit is contained in:
Kian-ting Tan 2023-06-20 14:10:51 +00:00
commit a7aafd0775
3 changed files with 1256 additions and 1 deletions

View File

@ -1,4 +1,3 @@
const languages = [ const languages = [
'ar', 'ar',
'ca', 'ca',
@ -18,6 +17,7 @@ const languages = [
'ja', 'ja',
'ja_easy', 'ja_easy',
'ko', 'ko',
'nan',
'nb', 'nb',
'nl', 'nl',
'oc', 'oc',

1253
src/i18n/nan.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -3,6 +3,7 @@ import ISO6391 from 'iso-639-1'
import _ from 'lodash' import _ from 'lodash'
const specialLanguageCodes = { const specialLanguageCodes = {
nan: 'nan',
ja_easy: 'ja', ja_easy: 'ja',
zh_Hant: 'zh-HANT', zh_Hant: 'zh-HANT',
zh: 'zh-Hans' zh: 'zh-Hans'
@ -19,6 +20,7 @@ const internalToBackendLocaleMulti = codes => {
const getLanguageName = (code) => { const getLanguageName = (code) => {
const specialLanguageNames = { const specialLanguageNames = {
ja_easy: 'やさしいにほんご', ja_easy: 'やさしいにほんご',
nan: '臺語(閩南語)',
zh: '简体中文', zh: '简体中文',
zh_Hant: '繁體中文' zh_Hant: '繁體中文'
} }