mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 10:40:07 +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": {
|
||||
"title": "Actions",
|
||||
"custom": "Custom Action",
|
||||
"reset": {
|
||||
"button": "Reset",
|
||||
"tooltip": "Reset to default actions. Custom actions will not be deleted.",
|
||||
|
||||
@ -1962,6 +1962,7 @@
|
||||
},
|
||||
"actions": {
|
||||
"title": "機能設定",
|
||||
"custom": "カスタム機能",
|
||||
"reset": {
|
||||
"button": "リセット",
|
||||
"tooltip": "デフォルト機能にリセット(カスタム機能は保持)",
|
||||
|
||||
@ -1962,6 +1962,7 @@
|
||||
},
|
||||
"actions": {
|
||||
"title": "Действия",
|
||||
"custom": "Пользовательское действие",
|
||||
"reset": {
|
||||
"button": "Сбросить",
|
||||
"tooltip": "Сбросить стандартные действия. Пользовательские останутся.",
|
||||
|
||||
@ -1927,7 +1927,7 @@
|
||||
"selected": "划词",
|
||||
"selected_note": "划词后立即显示工具栏",
|
||||
"ctrlkey": "Ctrl 键",
|
||||
"ctrlkey_note": "划词后,再 按住 Ctrl键,才显示工具栏",
|
||||
"ctrlkey_note": "划词后,再 长按 Ctrl键,才显示工具栏",
|
||||
"shortcut": "快捷键",
|
||||
"shortcut_note": "划词后,使用快捷键显示工具栏。请在快捷键设置页面中设置取词快捷键并启用。",
|
||||
"shortcut_link": "前往快捷键设置"
|
||||
@ -1962,6 +1962,7 @@
|
||||
},
|
||||
"actions": {
|
||||
"title": "功能",
|
||||
"custom": "自定义功能",
|
||||
"reset": {
|
||||
"button": "重置",
|
||||
"tooltip": "重置为默认功能,自定义功能不会被删除",
|
||||
|
||||
@ -1962,6 +1962,7 @@
|
||||
},
|
||||
"actions": {
|
||||
"title": "功能",
|
||||
"custom": "自訂功能",
|
||||
"reset": {
|
||||
"button": "重設",
|
||||
"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.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>
|
||||
</Row>
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user