Browse Source

Change dynamically the authentication maintenance mode message with the name of the app

# Conflicts:
#	res/values/strings.xml
davigonz 8 years ago
parent
commit
1b95c2fb91

+ 1 - 1
src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java

@@ -1453,7 +1453,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;

+ 3 - 1
src/main/res/values/strings.xml

@@ -276,7 +276,9 @@
 	<string name="auth_fail_get_user_name">Your server is not returning a correct user ID, please contact an administrator</string>
 	<string name="auth_can_not_auth_against_server">Cannot authenticate to this server</string>
     <string name="auth_account_does_not_exist">Account does not exist on the device yet</string>
-    
+    <string name="auth_maintenance_mode">The server is in maintenance mode, please try again later.</string>
+
+
     <string name="favorite">Set as available offline</string>
     <string name="unfavorite">Unset as available offline</string>
     <string name="favorite_real">Set as favorite</string>