mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
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:
@@ -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'
|
||||
: ''
|
||||
}`}
|
||||
>
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -11,7 +11,7 @@ const jaJP = {
|
||||
quickStart: 'クイックスタート',
|
||||
scrollToBottom: '一番下までスクロール',
|
||||
editionCommunity: 'コミュニティ版',
|
||||
editionCloud: 'クラウド版',
|
||||
editionCloud: 'Cloud',
|
||||
},
|
||||
common: {
|
||||
login: 'ログイン',
|
||||
|
||||
@@ -12,7 +12,7 @@ const ruRU = {
|
||||
quickStart: 'Быстрый старт',
|
||||
scrollToBottom: 'Прокрутить вниз',
|
||||
editionCommunity: 'Сообщество',
|
||||
editionCloud: 'Облако',
|
||||
editionCloud: 'Cloud',
|
||||
},
|
||||
common: {
|
||||
login: 'Войти',
|
||||
|
||||
@@ -11,7 +11,7 @@ const thTH = {
|
||||
quickStart: 'เริ่มต้นอย่างรวดเร็ว',
|
||||
scrollToBottom: 'เลื่อนไปด้านล่าง',
|
||||
editionCommunity: 'รุ่นชุมชน',
|
||||
editionCloud: 'รุ่นคลาวด์',
|
||||
editionCloud: 'Cloud',
|
||||
},
|
||||
common: {
|
||||
login: 'เข้าสู่ระบบ',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -11,7 +11,7 @@ const zhHans = {
|
||||
quickStart: '快速开始向导',
|
||||
scrollToBottom: '滚动到底部',
|
||||
editionCommunity: '社区版',
|
||||
editionCloud: '云端版',
|
||||
editionCloud: 'Cloud',
|
||||
},
|
||||
common: {
|
||||
login: '登录',
|
||||
|
||||
@@ -11,7 +11,7 @@ const zhHant = {
|
||||
quickStart: '快速開始',
|
||||
scrollToBottom: '捲動到底部',
|
||||
editionCommunity: '社區版',
|
||||
editionCloud: '雲端版',
|
||||
editionCloud: 'Cloud',
|
||||
},
|
||||
common: {
|
||||
login: '登入',
|
||||
|
||||
Reference in New Issue
Block a user