translate enhancement (#1574)

This commit is contained in:
shahin-io
2024-01-15 09:37:01 +00:00
committed by GitHub
parent 98cf1f2db6
commit c3d90c3f94
8 changed files with 342 additions and 337 deletions

View File

@@ -452,22 +452,22 @@
title: "ID",
align: 'right',
dataIndex: "id",
width: 40,
width: 30,
responsive: ["xs"],
}, {
title: '{{ i18n "pages.inbounds.operate" }}',
align: 'center',
width: 40,
width: 30,
scopedSlots: { customRender: 'action' },
}, {
title: '{{ i18n "pages.inbounds.enable" }}',
align: 'center',
width: 40,
width: 30,
scopedSlots: { customRender: 'enable' },
}, {
title: '{{ i18n "pages.inbounds.remark" }}',
align: 'center',
width: 80,
width: 60,
dataIndex: "remark",
}, {
title: '{{ i18n "pages.inbounds.port" }}',
@@ -477,7 +477,7 @@
}, {
title: '{{ i18n "pages.inbounds.protocol" }}',
align: 'left',
width: 90,
width: 70,
scopedSlots: { customRender: 'protocol' },
}, {
title: '{{ i18n "clients" }}',
@@ -492,7 +492,7 @@
}, {
title: '{{ i18n "pages.inbounds.expireDate" }}',
align: 'center',
width: 60,
width: 40,
scopedSlots: { customRender: 'expiryTime' },
}];

View File

@@ -141,6 +141,7 @@
<a-card hoverable>
<a-row>
<a-col :span="12">
<a-icon type="global"></a-icon>
IPv4:
<a-tooltip>
<template slot="title">
@@ -150,6 +151,7 @@
</a-tooltip>
</a-col>
<a-col :span="12">
<a-icon type="global"></a-icon>
IPv6:
<a-tooltip>
<template slot="title">
@@ -165,6 +167,7 @@
<a-card hoverable>
<a-row>
<a-col :span="12">
<a-icon type="swap"></a-icon>
TCP: [[ status.tcpCount ]]
<a-tooltip>
<template slot="title">
@@ -174,6 +177,7 @@
</a-tooltip>
</a-col>
<a-col :span="12">
<a-icon type="swap"></a-icon>
UDP: [[ status.udpCount ]]
<a-tooltip>
<template slot="title">