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

View File

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

View File

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

View File

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

View File

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