Simplify edge case handling

This commit is contained in:
Kirill Kamakin
2022-11-05 10:40:15 +01:00
parent 33bdaf9726
commit b7bb6c8566
4 changed files with 60 additions and 48 deletions

View File

@@ -42,9 +42,9 @@
<string name="fragment_authentication_email_input_helper_text">Пример: changeme@email.com</string>
<string name="fragment_authentication_password_input_helper_text">Пример: demo</string>
<string name="fragment_recipes_last_page_loaded_toast">Последняя страница</string>
<string name="fragment_recipes_load_failure_toast">%1$s %2$s</string>
<string name="fragment_recipes_load_failure_toast_general">Ошибка загрузки.</string>
<string name="fragment_recipes_load_failure_toast_unauthorized">Неавторизован</string>
<string name="fragment_recipes_load_failure_toast_unexpected_response">Неожиданный ответ</string>
<string name="fragment_recipes_load_failure_toast_no_connection">Нет соединения</string>
<string name="fragment_recipes_load_failure_toast">Ошибка загрузки: %1$s.</string>
<string name="fragment_recipes_load_failure_toast_unauthorized">неавторизован</string>
<string name="fragment_recipes_load_failure_toast_unexpected_response">неожиданный ответ</string>
<string name="fragment_recipes_load_failure_toast_no_connection">нет соединения</string>
<string name="fragment_recipes_load_failure_toast_no_reason">Ошибка загрузки.</string>
</resources>

View File

@@ -46,9 +46,9 @@
<string name="fragment_authentication_email_input_helper_text">Example: changeme@email.com</string>
<string name="fragment_authentication_password_input_helper_text">Example: demo</string>
<string name="fragment_recipes_last_page_loaded_toast">Last page loaded</string>
<string name="fragment_recipes_load_failure_toast" comment="EXAMPLE: Load failed! Unauthorized">%1$s %2$s</string>
<string name="fragment_recipes_load_failure_toast_general">Load failed.</string>
<string name="fragment_recipes_load_failure_toast_unauthorized">Unauthorized</string>
<string name="fragment_recipes_load_failure_toast_unexpected_response">Unexpected response</string>
<string name="fragment_recipes_load_failure_toast_no_connection">No connection</string>
<string name="fragment_recipes_load_failure_toast" comment="EXAMPLE: Load error: unauthorized.">Load error: %1$s.</string>
<string name="fragment_recipes_load_failure_toast_no_reason">Load failed.</string>
<string name="fragment_recipes_load_failure_toast_unauthorized">unauthorized</string>
<string name="fragment_recipes_load_failure_toast_unexpected_response">unexpected response</string>
<string name="fragment_recipes_load_failure_toast_no_connection">no connection</string>
</resources>