chore: update locale

This commit is contained in:
MystiPanda 2024-07-13 19:15:07 +08:00
parent c14a33444b
commit 3878e66ea4
No known key found for this signature in database
5 changed files with 23 additions and 5 deletions

View File

@ -43,7 +43,7 @@ export const NetworkInterfaceViewer = forwardRef<DialogRef>((props, ref) => {
setIsV4((prev) => !prev);
}}
>
{isV4 ? t("Ipv6") : t("Ipv4")}
{isV4 ? "Ipv6" : "Ipv4"}
</Button>
</Box>
</Box>
@ -65,12 +65,15 @@ export const NetworkInterfaceViewer = forwardRef<DialogRef>((props, ref) => {
address.V4 && (
<AddressDisplay
key={address.V4.ip}
label="Address"
label={t("Ip Address")}
content={address.V4.ip}
/>
)
)}
<AddressDisplay label="Mac" content={item.mac_addr ?? ""} />
<AddressDisplay
label={t("Mac Address")}
content={item.mac_addr ?? ""}
/>
</>
)}
{!isV4 && (
@ -80,12 +83,15 @@ export const NetworkInterfaceViewer = forwardRef<DialogRef>((props, ref) => {
address.V6 && (
<AddressDisplay
key={address.V6.ip}
label="Address"
label={t("Ip Address")}
content={address.V6.ip}
/>
)
)}
<AddressDisplay label="Mac" content={item.mac_addr ?? ""} />
<AddressDisplay
label={t("Mac Address")}
content={item.mac_addr ?? ""}
/>
</>
)}
</Box>

View File

@ -242,6 +242,9 @@
"Github Repo": "Github Repo",
"Clash Setting": "Clash Setting",
"Allow Lan": "Allow LAN",
"Network Interface": "Network Interface",
"Ip Address": "IP Address",
"Mac Address": "MAC Address",
"IPv6": "IPv6",
"Log Level": "Log Level",
"Port Config": "Port Config",

View File

@ -237,6 +237,9 @@
"Silent Start Info": "برنامه را در حالت پس‌زمینه بدون نمایش پانل اجرا کنید",
"Clash Setting": "تنظیمات Clash",
"Allow Lan": "اجازه LAN",
"Network Interface": "رابط شبکه",
"Ip Address": "آدرس IP",
"Mac Address": "آدرس MAC",
"IPv6": "IPv6",
"Log Level": "سطح لاگ",
"Port Config": "پیکربندی پورت",

View File

@ -240,6 +240,9 @@
"Github Repo": "GitHub репозиторий",
"Clash Setting": "Настройки Clash",
"Allow Lan": "Разрешить локальную сеть",
"Network Interface": "Сетевой интерфейс",
"Ip Address": "IP адрес",
"Mac Address": "MAC адрес",
"IPv6": "IPv6",
"Log Level": "Уровень логов",
"Port Config": "Настройка порта",

View File

@ -242,6 +242,9 @@
"Github Repo": "GitHub 项目地址",
"Clash Setting": "Clash 设置",
"Allow Lan": "局域网连接",
"Network Interface": "网络接口",
"Ip Address": "IP 地址",
"Mac Address": "MAC 地址",
"IPv6": "IPv6",
"Log Level": "日志等级",
"Port Config": "端口设置",