summaryrefslogtreecommitdiff
path: root/android/source/res
diff options
context:
space:
mode:
authorJacobo Aragunde Pérez <jaragunde@igalia.com>2015-02-10 16:17:12 +0000
committerJacobo Aragunde Pérez <jaragunde@igalia.com>2015-06-10 17:18:50 +0000
commit78ecdbc2f69b9d812cf879f662e7c1277d3c9b07 (patch)
tree989f221cca01a39989b386aa583b07eaf1585c63 /android/source/res
parentf8a4e1aab608538567562d97e6da60f015337c47 (diff)
Android: improve error handling in ownCloud provider.
This provider now throws exceptions with properly internationalized messages to be shown to the user. Change-Id: I0464bffe14cab24d50180cb5e2e62ce746bcba74 Reviewed-on: https://gerrit.libreoffice.org/16197 Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com> Tested-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
Diffstat (limited to 'android/source/res')
-rw-r--r--android/source/res/values/strings.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/source/res/values/strings.xml b/android/source/res/values/strings.xml
index d2970b28c4d8..94ba49f7b148 100644
--- a/android/source/res/values/strings.xml
+++ b/android/source/res/values/strings.xml
@@ -49,6 +49,10 @@
<string name="local_file_system">Local file system</string>
<string name="owncloud">ownCloud</string>
+ <string name="owncloud_wrong_connection">Cannot connect to ownCloud server. Check your configuration.</string>
+ <string name="owncloud_unauthorized">Cannot log into ownCloud server. Check your configuration.</string>
+ <string name="owncloud_unspecified_error">Unspecified error connecting to ownCloud server. Check your configuration and/or try later.</string>
+
<!-- Edit action names -->
<string name="action_bold">Bold</string>
<string name="action_underline">Underline</string>