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"
|
variant="secondary"
|
||||||
className={`shrink-0 px-1 py-0 h-3.5 text-[0.55rem] font-medium ${
|
className={`shrink-0 px-1 py-0 h-3.5 text-[0.55rem] font-medium ${
|
||||||
systemInfo?.edition === 'cloud'
|
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',
|
quickStart: 'Inicio rápido',
|
||||||
scrollToBottom: 'Desplazar al final',
|
scrollToBottom: 'Desplazar al final',
|
||||||
editionCommunity: 'Comunidad',
|
editionCommunity: 'Comunidad',
|
||||||
editionCloud: 'Nube',
|
editionCloud: 'Cloud',
|
||||||
},
|
},
|
||||||
common: {
|
common: {
|
||||||
login: 'Iniciar sesión',
|
login: 'Iniciar sesión',
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const jaJP = {
|
|||||||
quickStart: 'クイックスタート',
|
quickStart: 'クイックスタート',
|
||||||
scrollToBottom: '一番下までスクロール',
|
scrollToBottom: '一番下までスクロール',
|
||||||
editionCommunity: 'コミュニティ版',
|
editionCommunity: 'コミュニティ版',
|
||||||
editionCloud: 'クラウド版',
|
editionCloud: 'Cloud',
|
||||||
},
|
},
|
||||||
common: {
|
common: {
|
||||||
login: 'ログイン',
|
login: 'ログイン',
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ const ruRU = {
|
|||||||
quickStart: 'Быстрый старт',
|
quickStart: 'Быстрый старт',
|
||||||
scrollToBottom: 'Прокрутить вниз',
|
scrollToBottom: 'Прокрутить вниз',
|
||||||
editionCommunity: 'Сообщество',
|
editionCommunity: 'Сообщество',
|
||||||
editionCloud: 'Облако',
|
editionCloud: 'Cloud',
|
||||||
},
|
},
|
||||||
common: {
|
common: {
|
||||||
login: 'Войти',
|
login: 'Войти',
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const thTH = {
|
|||||||
quickStart: 'เริ่มต้นอย่างรวดเร็ว',
|
quickStart: 'เริ่มต้นอย่างรวดเร็ว',
|
||||||
scrollToBottom: 'เลื่อนไปด้านล่าง',
|
scrollToBottom: 'เลื่อนไปด้านล่าง',
|
||||||
editionCommunity: 'รุ่นชุมชน',
|
editionCommunity: 'รุ่นชุมชน',
|
||||||
editionCloud: 'รุ่นคลาวด์',
|
editionCloud: 'Cloud',
|
||||||
},
|
},
|
||||||
common: {
|
common: {
|
||||||
login: 'เข้าสู่ระบบ',
|
login: 'เข้าสู่ระบบ',
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ const viVN = {
|
|||||||
quickStart: 'Bắt đầu nhanh',
|
quickStart: 'Bắt đầu nhanh',
|
||||||
scrollToBottom: 'Cuộn xuống cuối',
|
scrollToBottom: 'Cuộn xuống cuối',
|
||||||
editionCommunity: 'Bản cộng đồng',
|
editionCommunity: 'Bản cộng đồng',
|
||||||
editionCloud: 'Bản đám mây',
|
editionCloud: 'Cloud',
|
||||||
},
|
},
|
||||||
common: {
|
common: {
|
||||||
login: 'Đăng nhập',
|
login: 'Đăng nhập',
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const zhHans = {
|
|||||||
quickStart: '快速开始向导',
|
quickStart: '快速开始向导',
|
||||||
scrollToBottom: '滚动到底部',
|
scrollToBottom: '滚动到底部',
|
||||||
editionCommunity: '社区版',
|
editionCommunity: '社区版',
|
||||||
editionCloud: '云端版',
|
editionCloud: 'Cloud',
|
||||||
},
|
},
|
||||||
common: {
|
common: {
|
||||||
login: '登录',
|
login: '登录',
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const zhHant = {
|
|||||||
quickStart: '快速開始',
|
quickStart: '快速開始',
|
||||||
scrollToBottom: '捲動到底部',
|
scrollToBottom: '捲動到底部',
|
||||||
editionCommunity: '社區版',
|
editionCommunity: '社區版',
|
||||||
editionCloud: '雲端版',
|
editionCloud: 'Cloud',
|
||||||
},
|
},
|
||||||
common: {
|
common: {
|
||||||
login: '登入',
|
login: '登入',
|
||||||
|
|||||||
Reference in New Issue
Block a user