Show load end/load failure toasts

This commit is contained in:
Kirill Kamakin
2022-11-04 22:13:57 +01:00
parent 714ff7d33f
commit 33bdaf9726
4 changed files with 72 additions and 1 deletions

View File

@@ -41,4 +41,10 @@
<string name="fragment_base_url_url_input_helper_text">Пример: demo.mealie.io</string>
<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>
</resources>

View File

@@ -45,4 +45,10 @@
<string name="fragment_base_url_url_input_helper_text">Example: demo.mealie.io</string>
<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>
</resources>