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 = [
'ar',
'ca',
@ -18,6 +17,7 @@ const languages = [
'ja',
'ja_easy',
'ko',
'nan',
'nb',
'nl',
'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'
const specialLanguageCodes = {
nan: 'nan',
ja_easy: 'ja',
zh_Hant: 'zh-HANT',
zh: 'zh-Hans'
@ -19,6 +20,7 @@ const internalToBackendLocaleMulti = codes => {
const getLanguageName = (code) => {
const specialLanguageNames = {
ja_easy: 'やさしいにほんご',
nan: '臺語(閩南語)',
zh: '简体中文',
zh_Hant: '繁體中文'
}