From 5b7d7841f63fd51dadbae5b9e33f9128b29c1fe9 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Tue, 2 Jun 2026 11:43:29 +0800 Subject: [PATCH] fix(sidebar): edition badge - drop hover, use "Cloud" in all locales MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The edition badge is not interactive, so remove the hover background on the cloud badge. Also use the literal "Cloud" label uniformly across all locales instead of localized variants (云端版/クラウド版/...). Co-Authored-By: Claude Opus 4.8 (1M context) --- web/src/app/home/components/home-sidebar/HomeSidebar.tsx | 2 +- web/src/i18n/locales/es-ES.ts | 2 +- web/src/i18n/locales/ja-JP.ts | 2 +- web/src/i18n/locales/ru-RU.ts | 2 +- web/src/i18n/locales/th-TH.ts | 2 +- web/src/i18n/locales/vi-VN.ts | 2 +- web/src/i18n/locales/zh-Hans.ts | 2 +- web/src/i18n/locales/zh-Hant.ts | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/web/src/app/home/components/home-sidebar/HomeSidebar.tsx b/web/src/app/home/components/home-sidebar/HomeSidebar.tsx index c009eb0d..dfc94df0 100644 --- a/web/src/app/home/components/home-sidebar/HomeSidebar.tsx +++ b/web/src/app/home/components/home-sidebar/HomeSidebar.tsx @@ -1807,7 +1807,7 @@ export default function HomeSidebar({ variant="secondary" className={`shrink-0 px-1 py-0 h-3.5 text-[0.55rem] font-medium ${ systemInfo?.edition === 'cloud' - ? 'border-transparent bg-blue-500 text-white hover:bg-blue-600' + ? 'border-transparent bg-blue-500 text-white' : '' }`} > diff --git a/web/src/i18n/locales/es-ES.ts b/web/src/i18n/locales/es-ES.ts index 080793ec..48a76d84 100644 --- a/web/src/i18n/locales/es-ES.ts +++ b/web/src/i18n/locales/es-ES.ts @@ -12,7 +12,7 @@ const esES = { quickStart: 'Inicio rápido', scrollToBottom: 'Desplazar al final', editionCommunity: 'Comunidad', - editionCloud: 'Nube', + editionCloud: 'Cloud', }, common: { login: 'Iniciar sesión', diff --git a/web/src/i18n/locales/ja-JP.ts b/web/src/i18n/locales/ja-JP.ts index 10df5e8f..7c4d2c7d 100644 --- a/web/src/i18n/locales/ja-JP.ts +++ b/web/src/i18n/locales/ja-JP.ts @@ -11,7 +11,7 @@ const jaJP = { quickStart: 'クイックスタート', scrollToBottom: '一番下までスクロール', editionCommunity: 'コミュニティ版', - editionCloud: 'クラウド版', + editionCloud: 'Cloud', }, common: { login: 'ログイン', diff --git a/web/src/i18n/locales/ru-RU.ts b/web/src/i18n/locales/ru-RU.ts index f66f4eab..f2bdb4ab 100644 --- a/web/src/i18n/locales/ru-RU.ts +++ b/web/src/i18n/locales/ru-RU.ts @@ -12,7 +12,7 @@ const ruRU = { quickStart: 'Быстрый старт', scrollToBottom: 'Прокрутить вниз', editionCommunity: 'Сообщество', - editionCloud: 'Облако', + editionCloud: 'Cloud', }, common: { login: 'Войти', diff --git a/web/src/i18n/locales/th-TH.ts b/web/src/i18n/locales/th-TH.ts index a25a8cca..9a9185a3 100644 --- a/web/src/i18n/locales/th-TH.ts +++ b/web/src/i18n/locales/th-TH.ts @@ -11,7 +11,7 @@ const thTH = { quickStart: 'เริ่มต้นอย่างรวดเร็ว', scrollToBottom: 'เลื่อนไปด้านล่าง', editionCommunity: 'รุ่นชุมชน', - editionCloud: 'รุ่นคลาวด์', + editionCloud: 'Cloud', }, common: { login: 'เข้าสู่ระบบ', diff --git a/web/src/i18n/locales/vi-VN.ts b/web/src/i18n/locales/vi-VN.ts index cae11960..2d654e06 100644 --- a/web/src/i18n/locales/vi-VN.ts +++ b/web/src/i18n/locales/vi-VN.ts @@ -12,7 +12,7 @@ const viVN = { quickStart: 'Bắt đầu nhanh', scrollToBottom: 'Cuộn xuống cuối', editionCommunity: 'Bản cộng đồng', - editionCloud: 'Bản đám mây', + editionCloud: 'Cloud', }, common: { login: 'Đăng nhập', diff --git a/web/src/i18n/locales/zh-Hans.ts b/web/src/i18n/locales/zh-Hans.ts index df5212ec..3b5e2ad5 100644 --- a/web/src/i18n/locales/zh-Hans.ts +++ b/web/src/i18n/locales/zh-Hans.ts @@ -11,7 +11,7 @@ const zhHans = { quickStart: '快速开始向导', scrollToBottom: '滚动到底部', editionCommunity: '社区版', - editionCloud: '云端版', + editionCloud: 'Cloud', }, common: { login: '登录', diff --git a/web/src/i18n/locales/zh-Hant.ts b/web/src/i18n/locales/zh-Hant.ts index 100487b2..285a78e9 100644 --- a/web/src/i18n/locales/zh-Hant.ts +++ b/web/src/i18n/locales/zh-Hant.ts @@ -11,7 +11,7 @@ const zhHant = { quickStart: '快速開始', scrollToBottom: '捲動到底部', editionCommunity: '社區版', - editionCloud: '雲端版', + editionCloud: 'Cloud', }, common: { login: '登入',