mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-17 13:30:00 -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": {
|
"httpProxy": {
|
||||||
"title": "(Advanced) HTTP Proxy",
|
"title": "(Advanced) HTTP Proxy",
|
||||||
"subtitle": "Enter your own HTTP proxy to access geo-restricted content. This will only work with compatible Bare servers.",
|
"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": {
|
"titles": {
|
||||||
|
|
|
@ -61,9 +61,12 @@
|
||||||
"subtitle": "Elige una mirada para que tus ojos no nos odienn"
|
"subtitle": "Elige una mirada para que tus ojos no nos odienn"
|
||||||
},
|
},
|
||||||
"httpProxy": {
|
"httpProxy": {
|
||||||
"title": "(Advanced) HTTP Proxy",
|
"title": "Proxy HTTP (avanzado)",
|
||||||
"subtitle": "Enter your own HTTP proxy to access geo-restricted content. This will only work with compatible Bare servers.",
|
"subtitle": "Ingrese su propio proxy HTTP para acceder a contenido restringido geográficamente. Esto solo funcionará con servidores Bare compatibles.",
|
||||||
"link": "What is this?"
|
"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": {
|
"titles": {
|
||||||
|
|
|
@ -63,7 +63,10 @@
|
||||||
"httpProxy": {
|
"httpProxy": {
|
||||||
"title": "(高度な) HTTPプロキシ",
|
"title": "(高度な) HTTPプロキシ",
|
||||||
"subtitle": "地理的に制限されたコンテンツにアクセスするために、あなた自身のHTTPプロキシを入力してください。これは互換性のあるBareサーバーでのみ機能します。",
|
"subtitle": "地理的に制限されたコンテンツにアクセスするために、あなた自身のHTTPプロキシを入力してください。これは互換性のあるBareサーバーでのみ機能します。",
|
||||||
"link": "これは何ですか?"
|
"link": "これは何ですか?",
|
||||||
|
"badBare": "その bare サーバーは HTTP プロキシをサポートしていません。",
|
||||||
|
"badProxy": "プロキシ接続に失敗しました。 HTTP プロキシが動作していることを再確認してください。",
|
||||||
|
"reset": "リセット"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"titles": {
|
"titles": {
|
||||||
|
|
|
@ -73,7 +73,7 @@ function ProxyInput(props: BareInputProps) {
|
||||||
(
|
(
|
||||||
document.getElementById("pinput") as HTMLInputElement
|
document.getElementById("pinput") as HTMLInputElement
|
||||||
).value = localStorage.getItem("HTTPProxy") || "";
|
).value = localStorage.getItem("HTTPProxy") || "";
|
||||||
toast("Bad proxy", {
|
toast(t("settings.httpProxy.badProxy"), {
|
||||||
type: "error"
|
type: "error"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -81,14 +81,14 @@ function ProxyInput(props: BareInputProps) {
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
(document.getElementById("pinput") as HTMLInputElement).value =
|
(document.getElementById("pinput") as HTMLInputElement).value =
|
||||||
localStorage.getItem("HTTPProxy") || "";
|
localStorage.getItem("HTTPProxy") || "";
|
||||||
toast("Bad proxy", {
|
toast(t("settings.httpProxy.badProxy"), {
|
||||||
type: "error"
|
type: "error"
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
(document.getElementById("pinput") as HTMLInputElement).value =
|
(document.getElementById("pinput") as HTMLInputElement).value =
|
||||||
localStorage.getItem("HTTPProxy") || "";
|
localStorage.getItem("HTTPProxy") || "";
|
||||||
toast("That bare server doesn't support HTTP proxies!", {
|
toast(t("settings.httpProxy.badBare"), {
|
||||||
type: "error"
|
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"
|
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}
|
onClick={resetProxy}
|
||||||
>
|
>
|
||||||
Reset
|
{t("settings.httpProxy.reset")}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue