Преглед изворни кода

Add auth_unsupported_basic_auth string

masensio пре 11 година
родитељ
комит
b0cfec7a00

+ 1 - 0
res/values/strings.xml

@@ -167,6 +167,7 @@
 	<string name="auth_unsupported_auth_method">The server does not support this authentication method</string>    
 	<string name="auth_unsupported_auth_method">The server does not support this authentication method</string>    
 	<string name="auth_unsupported_multiaccount">%1$s does not support multiple accounts</string>
 	<string name="auth_unsupported_multiaccount">%1$s does not support multiple accounts</string>
 	<string name="auth_fail_get_user_name">Your server is not returning a correct user id, contact with your admin please</string>
 	<string name="auth_fail_get_user_name">Your server is not returning a correct user id, contact with your admin please</string>
+	<string name="auth_unsupported_basic_auth">Can not authenticate against this server</string>
     
     
     <string name="fd_keep_in_sync">Keep file up to date</string>
     <string name="fd_keep_in_sync">Keep file up to date</string>
     <string name="common_rename">Rename</string>
     <string name="common_rename">Rename</string>

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

@@ -1149,7 +1149,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
     
     
     private void updateServerStatusIconNoRegularAuth(){
     private void updateServerStatusIconNoRegularAuth(){
         mServerStatusIcon = R.drawable.common_error;
         mServerStatusIcon = R.drawable.common_error;
-        mServerStatusText = R.string.auth_unsupported_auth_method;
+        mServerStatusText = R.string.auth_unsupported_basic_auth;
     }
     }
     
     
     /**
     /**