fix(sidebar): edition badge - drop hover, use "Cloud" in all locales

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) <noreply@anthropic.com>
This commit is contained in:
Junyan Qin
2026-06-02 11:43:29 +08:00
parent e2e0b015a4
commit 5b7d7841f6
8 changed files with 8 additions and 8 deletions

View File

@@ -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'
: ''
}`}
>

View File

@@ -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',

View File

@@ -11,7 +11,7 @@ const jaJP = {
quickStart: 'クイックスタート',
scrollToBottom: '一番下までスクロール',
editionCommunity: 'コミュニティ版',
editionCloud: 'クラウド版',
editionCloud: 'Cloud',
},
common: {
login: 'ログイン',

View File

@@ -12,7 +12,7 @@ const ruRU = {
quickStart: 'Быстрый старт',
scrollToBottom: 'Прокрутить вниз',
editionCommunity: 'Сообщество',
editionCloud: 'Облако',
editionCloud: 'Cloud',
},
common: {
login: 'Войти',

View File

@@ -11,7 +11,7 @@ const thTH = {
quickStart: 'เริ่มต้นอย่างรวดเร็ว',
scrollToBottom: 'เลื่อนไปด้านล่าง',
editionCommunity: 'รุ่นชุมชน',
editionCloud: 'รุ่นคลาวด์',
editionCloud: 'Cloud',
},
common: {
login: 'เข้าสู่ระบบ',

View File

@@ -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',

View File

@@ -11,7 +11,7 @@ const zhHans = {
quickStart: '快速开始向导',
scrollToBottom: '滚动到底部',
editionCommunity: '社区版',
editionCloud: '云端版',
editionCloud: 'Cloud',
},
common: {
login: '登录',

View File

@@ -11,7 +11,7 @@ const zhHant = {
quickStart: '快速開始',
scrollToBottom: '捲動到底部',
editionCommunity: '社區版',
editionCloud: '雲端版',
editionCloud: 'Cloud',
},
common: {
login: '登入',