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

View File

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