Merge branch 'add-pdc-language' into 'develop'
add Pennsylvania Dutch to languages See merge request pleroma/pleroma-fe!1935
This commit is contained in:
commit
8ee5122909
|
@ -22,6 +22,7 @@ const languages = [
|
||||||
'nl',
|
'nl',
|
||||||
'oc',
|
'oc',
|
||||||
'pl',
|
'pl',
|
||||||
|
'pdc',
|
||||||
'pt',
|
'pt',
|
||||||
'ro',
|
'ro',
|
||||||
'ru',
|
'ru',
|
||||||
|
|
|
@ -25,6 +25,7 @@ const messages = {
|
||||||
oc: require('../lib/notification-i18n-loader.js!./oc.json'),
|
oc: require('../lib/notification-i18n-loader.js!./oc.json'),
|
||||||
pl: require('../lib/notification-i18n-loader.js!./pl.json'),
|
pl: require('../lib/notification-i18n-loader.js!./pl.json'),
|
||||||
pt: require('../lib/notification-i18n-loader.js!./pt.json'),
|
pt: require('../lib/notification-i18n-loader.js!./pt.json'),
|
||||||
|
pdc: require('../lib/notification-i18n-loader.js!./pdc.json'),
|
||||||
ro: require('../lib/notification-i18n-loader.js!./ro.json'),
|
ro: require('../lib/notification-i18n-loader.js!./ro.json'),
|
||||||
ru: require('../lib/notification-i18n-loader.js!./ru.json'),
|
ru: require('../lib/notification-i18n-loader.js!./ru.json'),
|
||||||
sk: require('../lib/notification-i18n-loader.js!./sk.json'),
|
sk: require('../lib/notification-i18n-loader.js!./sk.json'),
|
||||||
|
|
|
@ -3,6 +3,7 @@ import ISO6391 from 'iso-639-1'
|
||||||
import _ from 'lodash'
|
import _ from 'lodash'
|
||||||
|
|
||||||
const specialLanguageCodes = {
|
const specialLanguageCodes = {
|
||||||
|
pdc: 'en',
|
||||||
ja_easy: 'ja',
|
ja_easy: 'ja',
|
||||||
zh_Hant: 'zh-HANT',
|
zh_Hant: 'zh-HANT',
|
||||||
zh: 'zh-Hans'
|
zh: 'zh-Hans'
|
||||||
|
@ -18,6 +19,7 @@ const internalToBackendLocaleMulti = codes => {
|
||||||
|
|
||||||
const getLanguageName = (code) => {
|
const getLanguageName = (code) => {
|
||||||
const specialLanguageNames = {
|
const specialLanguageNames = {
|
||||||
|
pdc: 'Pennsilfaanisch-Deitsch',
|
||||||
ja_easy: 'やさしいにほんご',
|
ja_easy: 'やさしいにほんご',
|
||||||
'nan-TW': '臺語(閩南語)',
|
'nan-TW': '臺語(閩南語)',
|
||||||
zh: '简体中文',
|
zh: '简体中文',
|
||||||
|
|
Loading…
Reference in a new issue