i18n: sider.cards.ip -> sider.cards.network

This commit is contained in:
Memory 2026-03-22 12:45:16 +08:00 committed by GitHub
parent 85f9e4755a
commit 5445a11ac8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@ const IPCard: React.FC<Props> = (props) => {
if (iconOnly) { if (iconOnly) {
return ( return (
<div className={`${networkCardStatus} flex justify-center`}> <div className={`${networkCardStatus} flex justify-center`}>
<Tooltip content={t('sider.cards.ip')} placement="right"> <Tooltip content={t('sider.cards.network')} placement="right">
<Button <Button
size="sm" size="sm"
isIconOnly isIconOnly
@ -87,7 +87,7 @@ const IPCard: React.FC<Props> = (props) => {
<h3 <h3
className={`text-md font-bold text-ellipsis whitespace-nowrap overflow-hidden ${match ? 'text-primary-foreground' : 'text-foreground'}`} className={`text-md font-bold text-ellipsis whitespace-nowrap overflow-hidden ${match ? 'text-primary-foreground' : 'text-foreground'}`}
> >
{t('sider.cards.ip')} {t('sider.cards.network')}
</h3> </h3>
</CardFooter> </CardFooter>
</Card> </Card>