mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-03 11:19:10 +08:00
fix(SelectionAssistant): make add custom action button bigger (#7185)
fix: make add custom action button bigger
This commit is contained in:
parent
8fa898a2bf
commit
9911196bde
@ -1962,6 +1962,7 @@
|
|||||||
},
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
"title": "Actions",
|
"title": "Actions",
|
||||||
|
"custom": "Custom Action",
|
||||||
"reset": {
|
"reset": {
|
||||||
"button": "Reset",
|
"button": "Reset",
|
||||||
"tooltip": "Reset to default actions. Custom actions will not be deleted.",
|
"tooltip": "Reset to default actions. Custom actions will not be deleted.",
|
||||||
|
|||||||
@ -1962,6 +1962,7 @@
|
|||||||
},
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
"title": "機能設定",
|
"title": "機能設定",
|
||||||
|
"custom": "カスタム機能",
|
||||||
"reset": {
|
"reset": {
|
||||||
"button": "リセット",
|
"button": "リセット",
|
||||||
"tooltip": "デフォルト機能にリセット(カスタム機能は保持)",
|
"tooltip": "デフォルト機能にリセット(カスタム機能は保持)",
|
||||||
|
|||||||
@ -1962,6 +1962,7 @@
|
|||||||
},
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
"title": "Действия",
|
"title": "Действия",
|
||||||
|
"custom": "Пользовательское действие",
|
||||||
"reset": {
|
"reset": {
|
||||||
"button": "Сбросить",
|
"button": "Сбросить",
|
||||||
"tooltip": "Сбросить стандартные действия. Пользовательские останутся.",
|
"tooltip": "Сбросить стандартные действия. Пользовательские останутся.",
|
||||||
|
|||||||
@ -1927,7 +1927,7 @@
|
|||||||
"selected": "划词",
|
"selected": "划词",
|
||||||
"selected_note": "划词后立即显示工具栏",
|
"selected_note": "划词后立即显示工具栏",
|
||||||
"ctrlkey": "Ctrl 键",
|
"ctrlkey": "Ctrl 键",
|
||||||
"ctrlkey_note": "划词后,再 按住 Ctrl键,才显示工具栏",
|
"ctrlkey_note": "划词后,再 长按 Ctrl键,才显示工具栏",
|
||||||
"shortcut": "快捷键",
|
"shortcut": "快捷键",
|
||||||
"shortcut_note": "划词后,使用快捷键显示工具栏。请在快捷键设置页面中设置取词快捷键并启用。",
|
"shortcut_note": "划词后,使用快捷键显示工具栏。请在快捷键设置页面中设置取词快捷键并启用。",
|
||||||
"shortcut_link": "前往快捷键设置"
|
"shortcut_link": "前往快捷键设置"
|
||||||
@ -1962,6 +1962,7 @@
|
|||||||
},
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
"title": "功能",
|
"title": "功能",
|
||||||
|
"custom": "自定义功能",
|
||||||
"reset": {
|
"reset": {
|
||||||
"button": "重置",
|
"button": "重置",
|
||||||
"tooltip": "重置为默认功能,自定义功能不会被删除",
|
"tooltip": "重置为默认功能,自定义功能不会被删除",
|
||||||
|
|||||||
@ -1962,6 +1962,7 @@
|
|||||||
},
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
"title": "功能",
|
"title": "功能",
|
||||||
|
"custom": "自訂功能",
|
||||||
"reset": {
|
"reset": {
|
||||||
"button": "重設",
|
"button": "重設",
|
||||||
"tooltip": "重設為預設功能,自訂功能不會被刪除",
|
"tooltip": "重設為預設功能,自訂功能不會被刪除",
|
||||||
|
|||||||
@ -32,7 +32,14 @@ const SettingsActionsListHeader = memo(({ customItemsCount, maxCustomItems, onRe
|
|||||||
? t('selection.settings.actions.add_tooltip.disabled', { max: maxCustomItems })
|
? t('selection.settings.actions.add_tooltip.disabled', { max: maxCustomItems })
|
||||||
: t('selection.settings.actions.add_tooltip.enabled')
|
: t('selection.settings.actions.add_tooltip.enabled')
|
||||||
}>
|
}>
|
||||||
<Button type="primary" icon={<Plus size={16} />} onClick={onAdd} disabled={isCustomItemLimitReached} />
|
<Button
|
||||||
|
type="primary"
|
||||||
|
icon={<Plus size={16} />}
|
||||||
|
onClick={onAdd}
|
||||||
|
disabled={isCustomItemLimitReached}
|
||||||
|
style={{ paddingInline: '8px' }}>
|
||||||
|
{t('selection.settings.actions.custom')}
|
||||||
|
</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</Row>
|
</Row>
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user