Skip to content

Commit

Permalink
🌽fix:修改菜单语言显示bug
Browse files Browse the repository at this point in the history
  • Loading branch information
durunsong committed Dec 7, 2024
1 parent b389342 commit cbcb422
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 37 deletions.
1 change: 1 addition & 0 deletions src/i18n/package/ara.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ const ara = {
proxyCheckError: "وكيل / فبن فشل الكشف .",
proxyCheckStatusError: "الكشف عن فشل بسبب خطأ في رمز الحالة .",
errorOccurred: "حدث خطأ :",
router_translation_process: "عملية الترجمة",
genericError: "فشل الكشف ، يرجى المحاولة مرة أخرى في وقت لاحق .",
};

Expand Down
1 change: 1 addition & 0 deletions src/i18n/package/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ const de = {
proxyCheckStatusError:
"Die Erkennung ist aufgrund eines Statuscodes fehlgeschlagen.",
errorOccurred: "Es ist ein Fehler aufgetreten:",
router_translation_process: "Übersetzungsprozess",
genericError:
"Die Erkennung ist fehlgeschlagen, bitte versuchen Sie es später erneut.",
};
Expand Down
1 change: 1 addition & 0 deletions src/i18n/package/el.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ const el = {
proxyCheckStatusError:
"Αποτυχία ανίχνευσης λόγω σφάλματος κωδικού κατάστασης.",
errorOccurred: "Παρουσιάστηκε σφάλμα:",
router_translation_process: "Διαδικασία μετάφρασης",
genericError: "Η ανίχνευση απέτυχε, δοκιμάστε ξανά αργότερα.",
};

Expand Down
1 change: 1 addition & 0 deletions src/i18n/package/fra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ const fra = {
proxyCheckStatusError:
"La détection a échoué en raison d'une erreur de code d'état.",
errorOccurred: "Une erreur est survenue:",
router_translation_process: "Processus de traduction",
genericError: "La détection a échoué, Veuillez réessayer plus tard.",
};

Expand Down
1 change: 1 addition & 0 deletions src/i18n/package/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ const it = {
proxyCheckStatusError:
"Rilevamento non riuscito a causa di errore del codice di stato.",
errorOccurred: "Si è verificato un errore:",
router_translation_process: "Processo di traduzione",
genericError: "Rilevamento fallito, riprova più tardi.",
};

Expand Down
2 changes: 2 additions & 0 deletions src/i18n/package/jp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ const jp = {
tour_userSettingsDescription: "個人設定",
tour_customSettingsTitle: "カスタム設定",
tour_customSettingsDescription: "システム設定",
router_ip_address: "IPアドレス",
detectionTitle:
"ユーザ{keywords}とVPN/エージェント検出(前後端ソリューション)",
webrtcComparison: "{webrtc}と{ipify}の比較判断例",
Expand Down Expand Up @@ -303,6 +304,7 @@ const jp = {
proxyCheckStatusError:
"検出に失敗しました。ステータスコードが間違っています。",
errorOccurred: "エラーが発生しました:",
router_translation_process: "翻訳プロセス",
genericError: "検出に失敗しました。後で再試行してください。",
};
export default jp;
2 changes: 2 additions & 0 deletions src/i18n/package/kor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ const kor = {
tour_userSettingsDescription: "개인 설정",
tour_customSettingsTitle: "사용자 정의 설정",
tour_customSettingsDescription: "시스템 설정",
router_ip_address: "IP 주소",
detectionTitle: "사용자 {keywords} 및 VPN/프록시 테스트(앞뒤 솔루션)",
webrtcComparison: "{webrtc} 와 {ipify} 비교 판단 사례",
ipifyDetection: "{ipify} 감지된 IP는 타사 서비스를 통해 판단({service})",
Expand Down Expand Up @@ -299,6 +300,7 @@ const kor = {
proxyCheckError: "프록시/VPN을 테스트하지 못했습니다.",
proxyCheckStatusError: "테스트 실패, 상태 코드 오류.",
errorOccurred: "오류 발생:",
router_translation_process: "번역 과정",
genericError: "테스트에 실패했습니다. 나중에 다시 시도하십시오.",
};
export default kor;
1 change: 1 addition & 0 deletions src/i18n/package/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ const nl = {
proxyCheckError: "Proxy/VPN detectie mislukt.",
proxyCheckStatusError: "Detectie mislukt als gevolg van statuscode fout.",
errorOccurred: "Er is een fout opgetreden:",
router_translation_process: "Vertaalproces",
genericError: "Detectie mislukt, probeer het later opnieuw.",
};

Expand Down
1 change: 1 addition & 0 deletions src/i18n/package/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ const pl = {
proxyCheckError: "Wykrywanie proxy/VPN nie powiodło się.",
proxyCheckStatusError: "Wykrycie nie powiodło się z powodu błędu kodu stanu.",
errorOccurred: "Wystąpił błąd:",
router_translation_process: "Proces tłumaczenia",
genericError: "Wykrycie nie powiodło się, spróbuj ponownie później.",
};

Expand Down
1 change: 1 addition & 0 deletions src/i18n/package/pt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ const pt = {
proxyCheckError: "Proxy/VPN felismerés sikertelen.",
proxyCheckStatusError: "Az észlelés nem sikerült állapotkód hiba miatt.",
errorOccurred: "Hiba történt:",
router_translation_process: "Processo de tradução",
genericError: "Az észlelés sikertelen, kérjük próbálja meg újra később.",
};

Expand Down
1 change: 1 addition & 0 deletions src/i18n/package/rom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ const rom = {
proxyCheckStatusError:
"Detectarea a eșuat din cauza erorii codului de stare.",
errorOccurred: "A apărut o eroare:",
router_translation_process: "Procesul de traducere",
genericError: "Detectarea a eșuat, vă rugăm să încercați din nou mai târziu.",
};
export default rom;
1 change: 1 addition & 0 deletions src/i18n/package/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ const ru = {
proxyCheckError: "Ошибка обнаружения прокси / VPN.",
proxyCheckStatusError: "Ошибка обнаружения из - за кода состояния.",
errorOccurred: "Произошла ошибка:",
router_translation_process: "Процесс перевода",
genericError: "Тест не удался, попробуйте позже.",
};

Expand Down
1 change: 1 addition & 0 deletions src/i18n/package/spa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ const spa = {
proxyCheckStatusError:
"La detección falló debido a un error en el Código de Estado.",
errorOccurred: "Se produjo un error:",
router_translation_process: "Proceso de traducción",
genericError: "La prueba falló, por favor vuelva a intentarlo más tarde.",
};
export default spa;
1 change: 1 addition & 0 deletions src/i18n/package/swe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ const swe = {
proxyCheckError: "Detektering av proxy/VPN misslyckades.",
proxyCheckStatusError: "Upptäckt misslyckades på grund av statuskodfel.",
errorOccurred: "Ett fel uppstod:",
router_translation_process: "Översättningsprocess",
genericError: "Upptäckt misslyckades, försök igen senare.",
};
export default swe;
40 changes: 3 additions & 37 deletions src/views/function-card/ip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<el-card shadow="hover">
<div flex items-center justify-between>
<h3 class="text-blue-500">
{{ $t("webrtcComparison", { webrtc: "WebRTC", ipify: "ipify" }) }} 🔽
🥝{{ $t("webrtcComparison", { webrtc: "WebRTC", ipify: "ipify" }) }}
🔽
</h3>
<el-button type="primary" @click="reloadComponent" icon="Refresh">
{{ $t("recheck") }}
Expand All @@ -18,7 +19,7 @@
<div style="width: 100%">
<div flex items-center justify-between>
<h3 class="text-blue-500">
{{
🥝{{
$t("ipifyDetection", { ipify: "ipify", service: "proxycheck.io" })
}}
🔽
Expand All @@ -44,41 +45,6 @@ import { ref } from "vue";
import WebrtcIp from "@/components/WebrtcIp/WebrtcIp.vue";
import Proxycheck from "@/components/WebrtcIp/Proxycheck.vue";
const hudehfur = {
detectionTitle: "用户 {keywords} 和 VPN/代理检测 (前后端解决方案)",
webrtcComparison: "{webrtc} 和 {ipify} 对比判断案例",
ipifyDetection: "{ipify} 检测的 IP 通过第三方服务判断 ({service})",
recheck: "重新检测",
stunRequestInfo:
"该演示会秘密向 STUN 服务器发出请求,这些服务器会记录你的请求。这些请求不会显示在开发者控制台中,而且无法被浏览器插件(AdBlock、Ghostery 等)阻止。",
webrtcPublicIp: "你的 {webrtc} 公网 IP 地址是:",
ipifyPublicIp: "通过 {ipify} 获取的公网 IP 地址是:",
comparisonMatch:
"检测结果:{webrtc} 和 {ipify} 的 IP 地址相同,你没有使用 VPN/代理",
comparisonMismatch:
"检测结果:{webrtc} 和 {ipify} 的 IP 地址不同,你可能正在使用 VPN/代理",
ipifyError: "获取 {ipify} IP 地址失败,请检查网络连接!",
vpnCheckTitle: "代理/VPN 检测结果",
ipifyCurrentIP: "ipify检测当前IP 地址:",
proxyCheckRange: "proxycheck.io检测当前IP 范围:",
proxyCheckProxy: "代理:",
proxyCheckType: "类型:",
proxyCheckProvider: "提供商:",
proxyCheckCountry: "国家:",
proxyCheckCity: "城市:",
proxyCheckTimezone: "时区:",
proxyCheckCoordinates: "经纬度:",
dataLoading: "数据加载中,请稍后...",
comparisonMatch_ss: "检测结果:通过{service}检测,你没有使用 VPN/代理",
comparisonMismatch_ss: "检测结果:通过{service}检测,你可能正在使用 VPN/代理",
ipFetchError: "获取 IP 地址失败。",
proxyCheckError: "检测代理/VPN 失败。",
proxyCheckStatusError: "检测失败,状态码错误。",
errorOccurred: "发生错误:",
genericError: "检测失败,请稍后重试。",
};
console.log(hudehfur);
// 用于刷新组件的 key
const componentKey = ref(0);
Expand Down

0 comments on commit cbcb422

Please sign in to comment.