From 381cb6118552344f959d3ceb1d6dc8f62187e4c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=98=AD?= <81747598+lan-yonghui@users.noreply.github.com>
Date: Wed, 8 Jan 2025 11:33:37 +0800
Subject: [PATCH] feat: Internationalization language order (#7666)
---
frontend/src/views/login/components/login-form.vue | 2 +-
frontend/src/views/setting/panel/index.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/frontend/src/views/login/components/login-form.vue b/frontend/src/views/login/components/login-form.vue
index 6d824d252..1b40a6487 100644
--- a/frontend/src/views/login/components/login-form.vue
+++ b/frontend/src/views/login/components/login-form.vue
@@ -60,8 +60,8 @@
English
- Português (Brasil)
日本語
+ Português (Brasil)
Русский
Bahasa Melayu
diff --git a/frontend/src/views/setting/panel/index.vue b/frontend/src/views/setting/panel/index.vue
index 8520abeee..2dd729162 100644
--- a/frontend/src/views/setting/panel/index.vue
+++ b/frontend/src/views/setting/panel/index.vue
@@ -318,8 +318,8 @@ const languageOptions = ref([
{ value: 'zh', label: '中文(简体)' },
{ value: 'tw', label: '中文(繁體)' },
...(!globalStore.isIntl ? [{ value: 'en', label: 'English' }] : []),
- { value: 'pt-BR', label: 'Português (Brasil)' },
{ value: 'ja', label: '日本語' },
+ { value: 'pt-BR', label: 'Português (Brasil)' },
{ value: 'ru', label: 'Русский' },
{ value: 'ms', label: 'Bahasa Melayu' },
]);