Add a new screen to help migrating manga from sources

This commit is contained in:
inorichi
2018-01-12 22:02:05 +01:00
parent b0482003bd
commit a75457ad88
25 changed files with 842 additions and 62 deletions

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.RecyclerView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/migration_recycler"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

View File

@@ -27,4 +27,9 @@
android:title="@string/action_edit_categories"
app:showAsAction="never"/>
<item
android:id="@+id/action_source_migration"
android:title="Source migration"
app:showAsAction="never"/>
</menu>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/action_change_source"
android:icon="@drawable/ic_filter_list_white_24dp"
android:title="@string/action_filter"
app:showAsAction="always"/>
</menu>

View File

@@ -20,7 +20,7 @@
<string name="label_categories">Categories</string>
<string name="label_selected">Selected: %1$d</string>
<string name="label_backup">Backup</string>
<string name="label_migration">Source migration</string>
<!-- Actions -->
<string name="action_settings">Settings</string>
@@ -390,6 +390,14 @@
<!-- Recent manga fragment -->
<string name="recent_manga_source">%1$s - Ch.%2$s</string>
<!-- Source migration screen -->
<string name="migration_info">Tap to select the source to migrate from</string>
<string name="migration_dialog_what_to_include">Select data to include</string>
<string name="select">Select</string>
<string name="migrate">Migrate</string>
<string name="copy">Copy</string>
<string name="migrating">Migrating…</string>
<!-- Downloads activity and service -->
<string name="download_queue_error">An error occurred while downloading chapters. You can try again in the downloads section</string>