From 3878e66ea42d3c537119480a72f4df2e3a3518cd Mon Sep 17 00:00:00 2001 From: MystiPanda Date: Sat, 13 Jul 2024 19:15:07 +0800 Subject: [PATCH] chore: update locale --- .../setting/mods/network-interface-viewer.tsx | 16 +++++++++++----- src/locales/en.json | 3 +++ src/locales/fa.json | 3 +++ src/locales/ru.json | 3 +++ src/locales/zh.json | 3 +++ 5 files changed, 23 insertions(+), 5 deletions(-) diff --git a/src/components/setting/mods/network-interface-viewer.tsx b/src/components/setting/mods/network-interface-viewer.tsx index 5b33721..3e162fd 100644 --- a/src/components/setting/mods/network-interface-viewer.tsx +++ b/src/components/setting/mods/network-interface-viewer.tsx @@ -43,7 +43,7 @@ export const NetworkInterfaceViewer = forwardRef((props, ref) => { setIsV4((prev) => !prev); }} > - {isV4 ? t("Ipv6") : t("Ipv4")} + {isV4 ? "Ipv6" : "Ipv4"} @@ -65,12 +65,15 @@ export const NetworkInterfaceViewer = forwardRef((props, ref) => { address.V4 && ( ) )} - + )} {!isV4 && ( @@ -80,12 +83,15 @@ export const NetworkInterfaceViewer = forwardRef((props, ref) => { address.V6 && ( ) )} - + )} diff --git a/src/locales/en.json b/src/locales/en.json index 84d8db9..26846d1 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -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", diff --git a/src/locales/fa.json b/src/locales/fa.json index da4f6a0..418be11 100644 --- a/src/locales/fa.json +++ b/src/locales/fa.json @@ -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": "پیکربندی پورت", diff --git a/src/locales/ru.json b/src/locales/ru.json index ed1e484..bd4018c 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -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": "Настройка порта", diff --git a/src/locales/zh.json b/src/locales/zh.json index 296b33a..e66037e 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -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": "端口设置",