From 8b22e17ab23137c73d317a969e6797394839b932 Mon Sep 17 00:00:00 2001 From: davigonz Date: Fri, 23 Dec 2016 14:13:30 +0100 Subject: [PATCH] Change dynamically the authentication maintenance mode message with the name of the app # Conflicts: # res/values/strings.xml --- .../owncloud/android/authentication/AuthenticatorActivity.java | 2 +- src/main/res/values/strings.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java b/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java index 31fef72c5a..e3f9825dc8 100644 --- a/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java +++ b/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java @@ -1454,7 +1454,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity mServerStatusText = R.string.auth_redirect_non_secure_connection_title; break; case MAINTENANCE_MODE: - mServerStatusText = R.string.maintenance_mode; + mServerStatusText = R.string.auth_maintenance_mode; break; default: mServerStatusText = 0; diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 7225f12cf8..df95afaa41 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -276,6 +276,7 @@ Your server is not returning a correct user ID, please contact an administrator Cannot authenticate to this server Account does not exist on the device yet + The server is in maintenance mode, please try again later. Set as available offline