mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-17 05:20:01 -04:00
localizations
This commit is contained in:
parent
d5c720775f
commit
ad3d231d16
4 changed files with 18 additions and 9 deletions
|
@ -64,7 +64,10 @@
|
|||
"httpProxy": {
|
||||
"title": "(Advanced) HTTP Proxy",
|
||||
"subtitle": "Enter your own HTTP proxy to access geo-restricted content. This will only work with compatible Bare servers.",
|
||||
"link": "What is this?"
|
||||
"link": "What is this?",
|
||||
"badBare": "Your Bare server doesn't support HTTP proxies.",
|
||||
"badProxy": "Proxy connection failed. Please double check that your HTTP proxy is working.",
|
||||
"reset": "Reset"
|
||||
}
|
||||
},
|
||||
"titles": {
|
||||
|
|
|
@ -61,9 +61,12 @@
|
|||
"subtitle": "Elige una mirada para que tus ojos no nos odienn"
|
||||
},
|
||||
"httpProxy": {
|
||||
"title": "(Advanced) HTTP Proxy",
|
||||
"subtitle": "Enter your own HTTP proxy to access geo-restricted content. This will only work with compatible Bare servers.",
|
||||
"link": "What is this?"
|
||||
"title": "Proxy HTTP (avanzado)",
|
||||
"subtitle": "Ingrese su propio proxy HTTP para acceder a contenido restringido geográficamente. Esto solo funcionará con servidores Bare compatibles.",
|
||||
"link": "¿Qué es esto?",
|
||||
"badBare": "Su servidor Bare no soporta servidores proxy HTTP.",
|
||||
"badProxy": "Error en la conexión del proxy. Verifique que su proxy HTTP esté funcionando.",
|
||||
"reset": "Reiniciar"
|
||||
}
|
||||
},
|
||||
"titles": {
|
||||
|
|
|
@ -63,7 +63,10 @@
|
|||
"httpProxy": {
|
||||
"title": "(高度な) HTTPプロキシ",
|
||||
"subtitle": "地理的に制限されたコンテンツにアクセスするために、あなた自身のHTTPプロキシを入力してください。これは互換性のあるBareサーバーでのみ機能します。",
|
||||
"link": "これは何ですか?"
|
||||
"link": "これは何ですか?",
|
||||
"badBare": "その bare サーバーは HTTP プロキシをサポートしていません。",
|
||||
"badProxy": "プロキシ接続に失敗しました。 HTTP プロキシが動作していることを再確認してください。",
|
||||
"reset": "リセット"
|
||||
}
|
||||
},
|
||||
"titles": {
|
||||
|
|
|
@ -73,7 +73,7 @@ function ProxyInput(props: BareInputProps) {
|
|||
(
|
||||
document.getElementById("pinput") as HTMLInputElement
|
||||
).value = localStorage.getItem("HTTPProxy") || "";
|
||||
toast("Bad proxy", {
|
||||
toast(t("settings.httpProxy.badProxy"), {
|
||||
type: "error"
|
||||
});
|
||||
}
|
||||
|
@ -81,14 +81,14 @@ function ProxyInput(props: BareInputProps) {
|
|||
.catch((error) => {
|
||||
(document.getElementById("pinput") as HTMLInputElement).value =
|
||||
localStorage.getItem("HTTPProxy") || "";
|
||||
toast("Bad proxy", {
|
||||
toast(t("settings.httpProxy.badProxy"), {
|
||||
type: "error"
|
||||
});
|
||||
});
|
||||
} else {
|
||||
(document.getElementById("pinput") as HTMLInputElement).value =
|
||||
localStorage.getItem("HTTPProxy") || "";
|
||||
toast("That bare server doesn't support HTTP proxies!", {
|
||||
toast(t("settings.httpProxy.badBare"), {
|
||||
type: "error"
|
||||
});
|
||||
}
|
||||
|
@ -129,7 +129,7 @@ function ProxyInput(props: BareInputProps) {
|
|||
className="font-roboto mt-2 flex h-4 w-36 cursor-pointer flex-row items-center justify-center rounded-xl border border-input-border-color bg-input p-5 text-center text-lg"
|
||||
onClick={resetProxy}
|
||||
>
|
||||
Reset
|
||||
{t("settings.httpProxy.reset")}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue