Skip to content

Commit

Permalink
Merge pull request #2 from stefan-niedermann/master
Browse files Browse the repository at this point in the history
Update from original
  • Loading branch information
ageru committed Mar 3, 2016
2 parents 3e4a883 + 2f5f0b3 commit 2a423a5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 18 deletions.
Expand Up @@ -239,7 +239,7 @@ protected void onPostExecute(Boolean isValidLogin) {
Log.e("Note", "invalid login");
btn_submit.setText(R.string.settings_submit);
setInputsEnabled(true);
Toast.makeText(getApplicationContext(), getString(R.string.error_username_password_invalid), Toast.LENGTH_LONG).show();
Toast.makeText(getApplicationContext(), getString(R.string.invalid_login), Toast.LENGTH_LONG).show();
}
}

Expand All @@ -255,4 +255,4 @@ private void setInputsEnabled(boolean enabled) {
field_password.setEnabled(enabled);
}
}
}
}
13 changes: 5 additions & 8 deletions app/src/main/res/values-de/strings.xml
Expand Up @@ -29,9 +29,8 @@
<string name="listview_updated_earlier">Früher</string>

<!-- Settings -->

<string name="settings_server">Server</string>
<string name="settings_url">Server Adresse</string>
<string name="settings_url">Server-Adresse</string>
<string name="settings_url_check_description">Zeigt an, ob die angegebene URL erreichbar ist.</string>
<string name="settings_url_warn_http">WARNUNG: "http" ist unsicher. Bitte benutzen Sie "https".</string>
<string name="settings_username">Benutzername</string>
Expand All @@ -41,23 +40,21 @@
<string name="settings_submitting">Verbindet&#8230;</string>

<!-- Network -->

<string name="network_connecting">Verbindung wird hergestellt</string>
<string name="network_connected">Verbunden</string>
<string name="network_disconnected">Kein Netzwerk verfügbar</string>

<!-- Error -->

<string name="error_json">JSON-Fehler</string>
<string name="error_io">IO-Fehler</string>
<string name="error_invalid login">Login fehlgeschlagen</string>
<string name="error_url_malformed">URL nicht korrekt</string>
<string name="error_json">JSON Fehler</string>
<string name="error_io">IO Fehler</string>
<string name="error_username_password_invalid">Benutzername / Passwort nicht korrekt</string>

<!-- Snackbar Actions -->
<string name="snackbar_settings">Einstellungen</string>

<!-- About -->

<string name="about_version_title">Version</string>
<string name="about_version">Sie benutzen aktuell <strong>v0.7.0</strong></string>
<string name="about_maintainer_title">Maintainer</string>
Expand Down Expand Up @@ -86,4 +83,4 @@

<string name="widget_all_notes_title">Alle Notizen</string>
<string name="widget_single_note_title">Eine Notiz</string>
</resources>
</resources>
6 changes: 3 additions & 3 deletions app/src/main/res/values-fr/plurals.xml
Expand Up @@ -2,7 +2,7 @@
<resources>
<plurals
name="ab_selected">
<item quantity="one">%d selectionnée(s)</item>
<item quantity="other">%d selectionnée(s)</item>
<item quantity="one">%d selectionnée</item>
<item quantity="other">%d selectionnées</item>
</plurals>
</resources>
</resources>
7 changes: 2 additions & 5 deletions app/src/main/res/values/strings.xml
Expand Up @@ -29,7 +29,6 @@
<string name="listview_updated_earlier">Earlier</string>

<!-- Settings -->

<string name="settings_server">Server</string>
<string name="settings_url">Server address</string>
<string name="settings_url_check_description">Shows if the address can be pinged.</string>
Expand All @@ -41,24 +40,22 @@
<string name="settings_submitting">Connecting &#8230;</string>

<!-- Network -->

<string name="network_connecting">Connecting</string>
<string name="network_connected">Connected</string>
<string name="network_disconnected">No network available</string>

<!-- Error -->

<string name="error_url_malformed">Wrong server address</string>
<string name="error_json">JSON error</string>
<string name="error_io">IO error</string>
<string name="error_invalid_login">Invalid login</string>
<string name="error_url_malformed">Wrong server address</string>
<string name="error_username_password_invalid">Wrong username or password</string>

<!-- Snackbar Actions -->
<string name="snackbar_settings">Settings</string>


<!-- About -->

<string name="about_version_title">Version</string>
<string name="about_version">You are currently using <strong>v0.7.0</strong></string>
<string name="about_maintainer_title">Maintainer</string>
Expand Down

0 comments on commit 2a423a5

Please sign in to comment.