mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 00:09:16 +08:00
feat: Internationalization language order (#7666)
This commit is contained in:
parent
8d69da7702
commit
381cb61185
@ -60,8 +60,8 @@
|
|||||||
<el-dropdown-item v-if="!globalStore.isIntl" command="en">
|
<el-dropdown-item v-if="!globalStore.isIntl" command="en">
|
||||||
English
|
English
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
<el-dropdown-item command="pt-BR">Português (Brasil)</el-dropdown-item>
|
|
||||||
<el-dropdown-item command="ja">日本語</el-dropdown-item>
|
<el-dropdown-item command="ja">日本語</el-dropdown-item>
|
||||||
|
<el-dropdown-item command="pt-BR">Português (Brasil)</el-dropdown-item>
|
||||||
<el-dropdown-item command="ru">Русский</el-dropdown-item>
|
<el-dropdown-item command="ru">Русский</el-dropdown-item>
|
||||||
<el-dropdown-item command="ms">Bahasa Melayu</el-dropdown-item>
|
<el-dropdown-item command="ms">Bahasa Melayu</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
|
@ -318,8 +318,8 @@ const languageOptions = ref([
|
|||||||
{ value: 'zh', label: '中文(简体)' },
|
{ value: 'zh', label: '中文(简体)' },
|
||||||
{ value: 'tw', label: '中文(繁體)' },
|
{ value: 'tw', label: '中文(繁體)' },
|
||||||
...(!globalStore.isIntl ? [{ value: 'en', label: 'English' }] : []),
|
...(!globalStore.isIntl ? [{ value: 'en', label: 'English' }] : []),
|
||||||
{ value: 'pt-BR', label: 'Português (Brasil)' },
|
|
||||||
{ value: 'ja', label: '日本語' },
|
{ value: 'ja', label: '日本語' },
|
||||||
|
{ value: 'pt-BR', label: 'Português (Brasil)' },
|
||||||
{ value: 'ru', label: 'Русский' },
|
{ value: 'ru', label: 'Русский' },
|
||||||
{ value: 'ms', label: 'Bahasa Melayu' },
|
{ value: 'ms', label: 'Bahasa Melayu' },
|
||||||
]);
|
]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user