mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-28 05:07:14 +00:00
perf: add text comment on bot log button
This commit is contained in:
@@ -94,9 +94,8 @@ export default function BotCard({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
size="icon"
|
|
||||||
variant="outline"
|
variant="outline"
|
||||||
className="w-[40px] h-[40px]"
|
className="w-auto h-[40px]"
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
onClickLogIcon();
|
onClickLogIcon();
|
||||||
e.stopPropagation();
|
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>
|
<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>
|
</svg>
|
||||||
|
{t('bots.log')}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -128,6 +128,7 @@ const enUS = {
|
|||||||
earlier: 'Earlier',
|
earlier: 'Earlier',
|
||||||
dateFormat: '{{month}}/{{day}}',
|
dateFormat: '{{month}}/{{day}}',
|
||||||
setBotEnableError: 'Failed to set bot enable status',
|
setBotEnableError: 'Failed to set bot enable status',
|
||||||
|
log: 'Log',
|
||||||
},
|
},
|
||||||
plugins: {
|
plugins: {
|
||||||
title: 'Plugins',
|
title: 'Plugins',
|
||||||
|
|||||||
@@ -126,6 +126,7 @@ const zhHans = {
|
|||||||
earlier: '更久之前',
|
earlier: '更久之前',
|
||||||
dateFormat: '{{month}}月{{day}}日',
|
dateFormat: '{{month}}月{{day}}日',
|
||||||
setBotEnableError: '设置机器人启用状态失败',
|
setBotEnableError: '设置机器人启用状态失败',
|
||||||
|
log: '日志',
|
||||||
},
|
},
|
||||||
plugins: {
|
plugins: {
|
||||||
title: '插件管理',
|
title: '插件管理',
|
||||||
|
|||||||
Reference in New Issue
Block a user