mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-16 15:48:13 +08:00
Text to resource.
This commit is contained in:
parent
b4996c0e6d
commit
5fdbc98d6e
@ -464,7 +464,7 @@ public class LoginActivity extends BaseActivity implements View.OnClickListener
|
|||||||
Log.e("onFailure-version", t.toString());
|
Log.e("onFailure-version", t.toString());
|
||||||
|
|
||||||
if(t instanceof NoRouteToHostException) {
|
if(t instanceof NoRouteToHostException) {
|
||||||
Toasty.info(getApplicationContext(), "Could not connect to host. Please check your url or port " + "for issues.");
|
Toasty.info(getApplicationContext(), getResources().getString(R.string.malformedUrl));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Toasty.info(getApplicationContext(), getResources().getString(R.string.commentError));
|
Toasty.info(getApplicationContext(), getResources().getString(R.string.commentError));
|
||||||
|
@ -63,6 +63,7 @@
|
|||||||
<string name="logo">In Gitea anmelden</string>
|
<string name="logo">In Gitea anmelden</string>
|
||||||
<string name="urlInfoTooltip">1- Wähle das richtige Protokoll (https oder http) \ N2- Gebe die Gitea-URL ein, z.B. try.gitea.io \n3- Falls du 2FA aktiviert hast, gib den Code in das OTP-Code Feld ein. \n4- Für HTTP basic auth nutze BENUTZERNAME@DOMAIN.COM im URL Feld</string>
|
<string name="urlInfoTooltip">1- Wähle das richtige Protokoll (https oder http) \ N2- Gebe die Gitea-URL ein, z.B. try.gitea.io \n3- Falls du 2FA aktiviert hast, gib den Code in das OTP-Code Feld ein. \n4- Für HTTP basic auth nutze BENUTZERNAME@DOMAIN.COM im URL Feld</string>
|
||||||
<string name="loginFailed">Falscher Benutzername/Passwort </string>
|
<string name="loginFailed">Falscher Benutzername/Passwort </string>
|
||||||
|
<string name="malformedUrl">Verbindung zum Host fehlgeschlagen. Bitte prüfen Sie Ihre URL und den Port auf etwaige Fehler.</string>
|
||||||
<string name="protocolError">Es wird nicht empfohlen, das HTTP-Protokoll zu verwenden, es sei denn, du testest in einem lokalen Netzwerk.</string>
|
<string name="protocolError">Es wird nicht empfohlen, das HTTP-Protokoll zu verwenden, es sei denn, du testest in einem lokalen Netzwerk.</string>
|
||||||
<string name="malformedJson">Fehlerhaftes JSON erhalten. Serveranfrage war nicht erfolgreich.</string>
|
<string name="malformedJson">Fehlerhaftes JSON erhalten. Serveranfrage war nicht erfolgreich.</string>
|
||||||
<string name="emptyFieldURL">Instanzen-URL ist erforderlich</string>
|
<string name="emptyFieldURL">Instanzen-URL ist erforderlich</string>
|
||||||
|
@ -92,6 +92,7 @@
|
|||||||
<string name="urlInfoTooltip">1- Choose the correct protocol(https or http). \n2- Enter Gitea url e.g: try.gitea.io. \n3- If you have enabled 2FA for your account, enter the code in the OTP Code field. \n4- For HTTP basic auth use USERNAME@DOMAIN.COM in the URL field.</string>
|
<string name="urlInfoTooltip">1- Choose the correct protocol(https or http). \n2- Enter Gitea url e.g: try.gitea.io. \n3- If you have enabled 2FA for your account, enter the code in the OTP Code field. \n4- For HTTP basic auth use USERNAME@DOMAIN.COM in the URL field.</string>
|
||||||
<string name="loginFailed">Wrong username/password</string>
|
<string name="loginFailed">Wrong username/password</string>
|
||||||
<string name="protocolDelimiter" translatable="false">://</string>
|
<string name="protocolDelimiter" translatable="false">://</string>
|
||||||
|
<string name="malformedUrl">Could'nt connect to host. Please check your URL or port for any errors.</string>
|
||||||
<string name="protocolError">It is not recommended to use HTTP protocol unless you are testing on local network.</string>
|
<string name="protocolError">It is not recommended to use HTTP protocol unless you are testing on local network.</string>
|
||||||
<string name="malformedJson">Malformed JSON was received. Server response was not successful.</string>
|
<string name="malformedJson">Malformed JSON was received. Server response was not successful.</string>
|
||||||
<string name="emptyFieldURL">Instance URL is required</string>
|
<string name="emptyFieldURL">Instance URL is required</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user