|
|
@ -24,7 +24,7 @@ i18next
|
|
|
|
['ru', 'Русский'],
|
|
|
|
['ru', 'Русский'],
|
|
|
|
['zh-CN', '简体中文'],
|
|
|
|
['zh-CN', '简体中文'],
|
|
|
|
['zh-TW', '繁體中文']
|
|
|
|
['zh-TW', '繁體中文']
|
|
|
|
],
|
|
|
|
].sort(),
|
|
|
|
languageSelector = $('#language');
|
|
|
|
languageSelector = $('#language');
|
|
|
|
languages.map(([code, name]) => {
|
|
|
|
languages.map(([code, name]) => {
|
|
|
|
languageSelector.append(`<option value="${code}"${code == i18next.language ? ' selected' : ''}>${name}</option>`);
|
|
|
|
languageSelector.append(`<option value="${code}"${code == i18next.language ? ' selected' : ''}>${name}</option>`);
|
|
|
|