added error message for internal server error

This commit is contained in:
Daniel Gultsch 2018-10-31 11:58:41 +01:00
parent 2c31fbae78
commit fe45a7afcc
2 changed files with 4 additions and 0 deletions

View File

@ -780,6 +780,7 @@
<string name="unable_to_connect_to_server">Unable to connect to server.</string> <string name="unable_to_connect_to_server">Unable to connect to server.</string>
<string name="unable_to_establish_secure_connection">Unable to establish secure connection.</string> <string name="unable_to_establish_secure_connection">Unable to establish secure connection.</string>
<string name="unable_to_find_server">Unable to find server.</string> <string name="unable_to_find_server">Unable to find server.</string>
<string name="something_went_wrong_processing_your_request">Something went wrong processing your request.</string>
<string name="invalid_user_input">Invalid user input</string> <string name="invalid_user_input">Invalid user input</string>
<string name="temporarily_unavailable">Temporarily unavailable. Try again later.</string> <string name="temporarily_unavailable">Temporarily unavailable. Try again later.</string>
<string name="no_network_connection">No network connection.</string> <string name="no_network_connection">No network connection.</string>

View File

@ -39,6 +39,9 @@ public class ApiDialogHelper {
case 403: case 403:
res = R.string.the_app_is_out_of_date; res = R.string.the_app_is_out_of_date;
break; break;
case 500:
res = R.string.something_went_wrong_processing_your_request;
break;
case 502: case 502:
case 503: case 503:
case 504: case 504: