fix: add missing translation for preferences drawer (#6094)

pull/87/MERGE
Netfan 2025-05-01 20:08:44 +08:00 committed by GitHub
parent 3e6d608a2f
commit 0517a7014f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 3 deletions

View File

@ -79,14 +79,14 @@ const handleCheckboxChange = () => {
</SwitchItem>
<CheckboxItem
:items="[
{ label: '收缩按钮', value: 'collapsed' },
{ label: '固定按钮', value: 'fixed' },
{ label: $t('preferences.sidebar.buttonCollapsed'), value: 'collapsed' },
{ label: $t('preferences.sidebar.buttonFixed'), value: 'fixed' },
]"
multiple
v-model="sidebarButtons"
:on-btn-click="handleCheckboxChange"
>
按钮配置
{{ $t('preferences.sidebar.buttons') }}
</CheckboxItem>
<NumberFieldItem
v-model="sidebarWidth"

View File

@ -45,6 +45,9 @@
"fixed": "Fixed"
},
"sidebar": {
"buttons": "Show Buttons",
"buttonFixed": "Fixed",
"buttonCollapsed": "Collapsed",
"title": "Sidebar",
"width": "Width",
"visible": "Show Sidebar",

View File

@ -45,6 +45,9 @@
"fixed": "固定"
},
"sidebar": {
"buttons": "显示按钮",
"buttonFixed": "固定按钮",
"buttonCollapsed": "折叠按钮",
"title": "侧边栏",
"width": "宽度",
"visible": "显示侧边栏",