summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-06-29 12:54:15 +0200
committerSean Leonard <meanderingcode@aetherislands.net>2013-07-12 11:45:45 -0600
commit755633af514c8f425f936bc5185815175397937c (patch)
tree169ff0a23ed0321716e2c00fd32f74301013c47b /res
parent9d89c120aa1f01874b3b41169456efdfc5407b17 (diff)
Distinguish non LEAP provider and down provider.
I've set ProviderAPI to show its own toast depending on the exception that getStringFromProvider issues. If the socket timeout reaches its end, a toast different from when an IOException or a MalformedException occur.
Diffstat (limited to 'res')
-rwxr-xr-xres/values/strings.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 0cc35934..35b11b6d 100755
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -291,7 +291,8 @@
<string name="incorrectly_downloaded_json_files_message">You have not entered a LEAP provider URL or it is unavailable</string>
<string name="correctly_downloaded_json_files_message">Your anon cert has been correctly downloaded</string>
<string name="incorrectly_downloaded_certificate_message">Your anon cert was not downloaded</string>
- <string name="incorrectly_updated_provider_dot_json_message">Server is down.</string>
+ <string name="server_is_down_message">Server is down.</string>
+ <string name="malformed_url">It doesn\'t seem to be a LEAP provider</string>
<string name="not_valid_password_message">Your password is not well-formed: it should have at least 8 characters.</string>
<string name="succesful_authentication_message">Authentication succeeded.</string>
<string name="authentication_failed_message">Authentication failed.</string>