perf: add text comment on bot log button

This commit is contained in:
Junyan Qin
2025-06-09 15:27:17 +08:00
parent ec012cf5ed
commit f5a4503610
3 changed files with 4 additions and 2 deletions

View File

@@ -94,9 +94,8 @@ export default function BotCard({
}}
/>
<Button
size="icon"
variant="outline"
className="w-[40px] h-[40px]"
className="w-auto h-[40px]"
onClick={(e) => {
onClickLogIcon();
e.stopPropagation();
@@ -111,6 +110,7 @@ export default function BotCard({
>
<path d="M21 8V20.9932C21 21.5501 20.5552 22 20.0066 22H3.9934C3.44495 22 3 21.556 3 21.0082V2.9918C3 2.45531 3.4487 2 4.00221 2H14.9968L21 8ZM19 9H14V4H5V20H19V9ZM8 7H11V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z"></path>
</svg>
{t('bots.log')}
</Button>
</div>
</div>

View File

@@ -128,6 +128,7 @@ const enUS = {
earlier: 'Earlier',
dateFormat: '{{month}}/{{day}}',
setBotEnableError: 'Failed to set bot enable status',
log: 'Log',
},
plugins: {
title: 'Plugins',

View File

@@ -126,6 +126,7 @@ const zhHans = {
earlier: '更久之前',
dateFormat: '{{month}}月{{day}}日',
setBotEnableError: '设置机器人启用状态失败',
log: '日志',
},
plugins: {
title: '插件管理',