🚀 Automatic check for text update
* Option to enable automatic check for text update when you open book in Reader * Navigates user to BookInfo screen if update is found * Shows toast(up-to-date) if corresponding setting is enabled and there is not update found
This commit is contained in:
parent
d2cfcd71a1
commit
8145cafc5a
25 changed files with 463 additions and 47 deletions
|
|
@ -29,6 +29,7 @@
|
|||
<string name="delete_history">Видалити історію читання?</string>
|
||||
<string name="confirm_update">Підтвердити оновлення?</string>
|
||||
<string name="enable_check_for_updates">Увімнкути перевірку на оновлення?</string>
|
||||
<string name="update_book">Оновити книгу?</string>
|
||||
|
||||
<!-- Dialog Descriptions -->
|
||||
<string name="storage_permission_description">
|
||||
|
|
@ -75,6 +76,13 @@
|
|||
з «api.github.com» кожен раз, коли застосунок запускається.
|
||||
Хочете продовжити та увімкнути «Перевіряти на оновлення»?
|
||||
</string>
|
||||
<string name="update_book_description">
|
||||
Знайдено оновлення тексту книги.
|
||||
Оновлення необхідне для того, щоб забезпечити використання найновіших методів парсингу.
|
||||
Це автономний процес і в більшості випадків пов\'язаний з оновленням парсеру текста.
|
||||
Ваш прогрес не постраждає, якщо не відбудуться значні зміни.
|
||||
Чи бажаєте ви продовжити оновлення?
|
||||
</string>
|
||||
|
||||
<!-- Errors -->
|
||||
<string name="error_permission">
|
||||
|
|
@ -153,6 +161,7 @@
|
|||
<string name="enable">Увімкнути</string>
|
||||
<string name="web_search">Веб-пошук</string>
|
||||
<string name="share">Поділитися</string>
|
||||
<string name="proceed">Продовжити</string>
|
||||
|
||||
<!-- Items -->
|
||||
<string name="files">файли</string>
|
||||
|
|
@ -250,6 +259,9 @@
|
|||
</string>
|
||||
<string name="perception_expander_padding_option">Відступи лінії розширення сприйняття</string>
|
||||
<string name="perception_expander_thickness_option">Товщина лінії розширення сприйняття</string>
|
||||
<string name="check_for_text_update_option">Перевіряти на оновлення тексту</string>
|
||||
<string name="check_for_text_update_option_desc">Автоматично перевіряти чи є оновлення тексту</string>
|
||||
<string name="check_for_text_update_toast_option">Показувати \"текст актуальний\" повідомлення</string>
|
||||
|
||||
<!-- Browse -->
|
||||
<string name="browse_files_structure_option">Структура файлів</string>
|
||||
|
|
@ -340,7 +352,7 @@
|
|||
<string name="history_element_deleted">Елемент історії був успішно видалений.</string>
|
||||
<string name="file_not_found">Файл \"%1$s\" не знайдено.</string>
|
||||
<string name="book_updated">Текст книги був успішно оновлений.</string>
|
||||
<string name="nothing_changed">Текст книги актуальний.</string>
|
||||
<string name="nothing_changed">Текст актуальний.</string>
|
||||
|
||||
<!-- DropDown properties -->
|
||||
<string name="move_this_book">Перемістити</string>
|
||||
|
|
@ -606,5 +618,6 @@
|
|||
<string name="checkpoint_back_content_desc">Чекпоінт назад</string>
|
||||
<string name="checkpoint_forward_content_desc">Чекпоінт вперед</string>
|
||||
<string name="chapters_content_desc">Розділи</string>
|
||||
<string name="update_text_content_desc">Оновити текст</string>
|
||||
|
||||
</resources>
|
||||
|
|
@ -32,6 +32,7 @@
|
|||
<string name="delete_history">Delete reading history?</string>
|
||||
<string name="confirm_update">Confirm update?</string>
|
||||
<string name="enable_check_for_updates">Enable check for updates?</string>
|
||||
<string name="update_book">Update book?</string>
|
||||
|
||||
<!-- Dialog Descriptions -->
|
||||
<string name="storage_permission_description">
|
||||
|
|
@ -65,7 +66,7 @@
|
|||
</string>
|
||||
<string name="confirm_update_description">
|
||||
Update this book\'s text and chapters.
|
||||
The progress should remain unchanged unless order of paragraphs was changed.
|
||||
The progress should remain unchanged unless the order of paragraphs was changed.
|
||||
</string>
|
||||
<string name="update_app_description">
|
||||
New version of Book\'s Story was found.
|
||||
|
|
@ -79,6 +80,13 @@
|
|||
when app starts.
|
||||
Do you want to proceed and enable «Check for updates»?
|
||||
</string>
|
||||
<string name="update_book_description">
|
||||
Update of the text has been found.
|
||||
Update is needed to ensure latest parser methods are used.
|
||||
It is offline process.
|
||||
Your progress will not be affected unless big changes occur.
|
||||
Do you want to proceed with update?
|
||||
</string>
|
||||
|
||||
<!-- Errors -->
|
||||
<string name="error_permission">
|
||||
|
|
@ -156,6 +164,7 @@
|
|||
<string name="enable">Enable</string>
|
||||
<string name="web_search">Web search</string>
|
||||
<string name="share">Share</string>
|
||||
<string name="proceed">Proceed</string>
|
||||
|
||||
<!-- Items -->
|
||||
<string name="files">files</string>
|
||||
|
|
@ -253,6 +262,9 @@
|
|||
</string>
|
||||
<string name="perception_expander_padding_option">Perception expander line padding</string>
|
||||
<string name="perception_expander_thickness_option">Perception expander line thickness</string>
|
||||
<string name="check_for_text_update_option">Check for text update</string>
|
||||
<string name="check_for_text_update_option_desc">Automatically check whether there is text update</string>
|
||||
<string name="check_for_text_update_toast_option">Show \"text is up-to-date\" toast</string>
|
||||
|
||||
<!-- Browse -->
|
||||
<string name="browse_files_structure_option">Files structure</string>
|
||||
|
|
@ -343,7 +355,7 @@
|
|||
<string name="history_element_deleted">History element was successfully deleted.</string>
|
||||
<string name="file_not_found">File \"%1$s\" was not found.</string>
|
||||
<string name="book_updated">Book\'s text was successfully updated.</string>
|
||||
<string name="nothing_changed">Book\'s text is up to date.</string>
|
||||
<string name="nothing_changed">Text is up-to-date.</string>
|
||||
|
||||
<!-- DropDown properties -->
|
||||
<string name="move_this_book">Move</string>
|
||||
|
|
@ -611,5 +623,6 @@
|
|||
<string name="checkpoint_back_content_desc">Checkpoint back</string>
|
||||
<string name="checkpoint_forward_content_desc">Checkpoint forward</string>
|
||||
<string name="chapters_content_desc">Chapters</string>
|
||||
<string name="update_text_content_desc">Update text</string>
|
||||
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue