diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2024-09-14 23:31:53 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2024-09-14 23:31:53 +0000 |
| commit | 8ee51229090ba323ceacf2cb8c6b50f2b1309560 (patch) | |
| tree | 265a5f7bd603680baed7927d2ff9a9bf027c469a /src | |
| parent | 1667f1330cd7c4aceb94dc9059075c3ad14f19c7 (diff) | |
| parent | 5ad5f4c51e8ddc1b8f99f0a223b4cbf33cefad6e (diff) | |
Merge branch 'add-pdc-language' into 'develop'
add Pennsylvania Dutch to languages
See merge request pleroma/pleroma-fe!1935
Diffstat (limited to 'src')
| -rw-r--r-- | src/i18n/languages.js | 1 | ||||
| -rw-r--r-- | src/i18n/service_worker_messages.js | 1 | ||||
| -rw-r--r-- | src/services/locale/locale.service.js | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/i18n/languages.js b/src/i18n/languages.js index 33a98f8e..475bf5ac 100644 --- a/src/i18n/languages.js +++ b/src/i18n/languages.js @@ -22,6 +22,7 @@ const languages = [ 'nl', 'oc', 'pl', + 'pdc', 'pt', 'ro', 'ru', diff --git a/src/i18n/service_worker_messages.js b/src/i18n/service_worker_messages.js index f691f1c4..a4e6d60a 100644 --- a/src/i18n/service_worker_messages.js +++ b/src/i18n/service_worker_messages.js @@ -25,6 +25,7 @@ const messages = { oc: require('../lib/notification-i18n-loader.js!./oc.json'), pl: require('../lib/notification-i18n-loader.js!./pl.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'), ru: require('../lib/notification-i18n-loader.js!./ru.json'), sk: require('../lib/notification-i18n-loader.js!./sk.json'), diff --git a/src/services/locale/locale.service.js b/src/services/locale/locale.service.js index 24ed3cdb..9a96cf01 100644 --- a/src/services/locale/locale.service.js +++ b/src/services/locale/locale.service.js @@ -3,6 +3,7 @@ import ISO6391 from 'iso-639-1' import _ from 'lodash' const specialLanguageCodes = { + pdc: 'en', ja_easy: 'ja', zh_Hant: 'zh-HANT', zh: 'zh-Hans' @@ -18,6 +19,7 @@ const internalToBackendLocaleMulti = codes => { const getLanguageName = (code) => { const specialLanguageNames = { + pdc: 'Pennsilfaanisch-Deitsch', ja_easy: 'やさしいにほんご', 'nan-TW': '臺語(閩南語)', zh: '简体中文', |
