Add Uyghur

This commit is contained in:
JC Brand 2023-01-02 09:45:04 +01:00
parent 9ab99a0859
commit de65409e79
2 changed files with 43 additions and 6 deletions

View File

@ -52,9 +52,46 @@ export const DEFAULT_SETTINGS = {
keepalive: true,
loglevel: 'info',
locales: [
'af', 'ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'eo', 'es', 'eu', 'en', 'fa', 'fi', 'fr',
'gl', 'he', 'hi', 'hu', 'id', 'it', 'ja', 'lt', 'nb', 'nl', 'mr', 'oc',
'pl', 'pt', 'pt_BR', 'ro', 'ru', 'sv', 'th', 'tr', 'uk', 'vi', 'zh_CN', 'zh_TW'
'af',
'ar',
'bg',
'ca',
'cs',
'da',
'de',
'el',
'en',
'eo',
'es',
'eu',
'fa',
'fi',
'fr',
'gl',
'he',
'hi',
'hu',
'id',
'it',
'ja',
'lt',
'mr',
'nb',
'nl',
'oc',
'pl',
'pt',
'pt_BR',
'ro',
'ru',
'sv',
'th',
'tr',
'ug',
'uk',
'vi',
'zh_CN',
'zh_TW',
],
nickname: undefined,
password: undefined,
@ -66,5 +103,5 @@ export const DEFAULT_SETTINGS = {
strict_plugin_dependencies: false,
view_mode: 'overlayed', // Choices are 'overlayed', 'fullscreen', 'mobile'
websocket_url: undefined,
whitelisted_plugins: []
whitelisted_plugins: [],
};

View File

@ -5,8 +5,8 @@
* @description This is the internationalization module
*/
import Jed from 'jed';
import log from "@converse/headless/log";
import { _converse, api, converse, i18n } from '@converse/headless/core';
import log from "@converse/headless/log.js";
import { _converse, api, converse, i18n } from '@converse/headless/core.js';
const { dayjs } = converse.env;