添加批量换源

pull/1751/head
kunfei 3 years ago
parent 10a703c189
commit 0db1b7c143
  1. 5
      app/src/main/java/io/legado/app/ui/book/arrange/ArrangeBookViewModel.kt
  2. 4
      app/src/main/res/menu/arrange_book_sel.xml
  3. 1
      app/src/main/res/values-es-rES/strings.xml
  4. 1
      app/src/main/res/values-ja-rJP/strings.xml
  5. 1
      app/src/main/res/values-pt-rBR/strings.xml
  6. 1
      app/src/main/res/values-zh-rHK/strings.xml
  7. 1
      app/src/main/res/values-zh-rTW/strings.xml
  8. 1
      app/src/main/res/values-zh/strings.xml
  9. 1
      app/src/main/res/values/strings.xml

@ -4,6 +4,7 @@ import android.app.Application
import io.legado.app.base.BaseViewModel import io.legado.app.base.BaseViewModel
import io.legado.app.data.appDb import io.legado.app.data.appDb
import io.legado.app.data.entities.Book import io.legado.app.data.entities.Book
import io.legado.app.data.entities.BookSource
class ArrangeBookViewModel(application: Application) : BaseViewModel(application) { class ArrangeBookViewModel(application: Application) : BaseViewModel(application) {
@ -29,4 +30,8 @@ class ArrangeBookViewModel(application: Application) : BaseViewModel(application
} }
} }
fun changeSource(books: List<Book>, source: BookSource) {
}
} }

@ -17,4 +17,8 @@
android:id="@+id/menu_add_to_group" android:id="@+id/menu_add_to_group"
android:title="@string/add_to_group" /> android:title="@string/add_to_group" />
<item
android:id="@+id/menu_change_source"
android:title="@string/change_source_batch" />
</menu> </menu>

@ -966,5 +966,6 @@
<string name="sys_tts_config_summary">打开系统tts设置界面</string> <string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string> <string name="cannot_timed_non_playback">非播放状态无法定时</string>
<string name="all_bookmark">所有书签</string> <string name="all_bookmark">所有书签</string>
<string name="change_source_batch">批量换源</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -969,5 +969,6 @@
<string name="sys_tts_config_summary">打开系统tts设置界面</string> <string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string> <string name="cannot_timed_non_playback">非播放状态无法定时</string>
<string name="all_bookmark">所有书签</string> <string name="all_bookmark">所有书签</string>
<string name="change_source_batch">批量换源</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -969,5 +969,6 @@
<string name="sys_tts_config_summary">打开系统tts设置界面</string> <string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string> <string name="cannot_timed_non_playback">非播放状态无法定时</string>
<string name="all_bookmark">所有书签</string> <string name="all_bookmark">所有书签</string>
<string name="change_source_batch">批量换源</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -966,5 +966,6 @@
<string name="sys_tts_config_summary">打开系统tts设置界面</string> <string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string> <string name="cannot_timed_non_playback">非播放状态无法定时</string>
<string name="all_bookmark">所有书签</string> <string name="all_bookmark">所有书签</string>
<string name="change_source_batch">批量换源</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -968,5 +968,6 @@
<string name="sys_tts_config_summary">打开系统tts设置界面</string> <string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string> <string name="cannot_timed_non_playback">非播放状态无法定时</string>
<string name="all_bookmark">所有书签</string> <string name="all_bookmark">所有书签</string>
<string name="change_source_batch">批量换源</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -968,5 +968,6 @@
<string name="sys_tts_config_summary">打开系统tts设置界面</string> <string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string> <string name="cannot_timed_non_playback">非播放状态无法定时</string>
<string name="all_bookmark">所有书签</string> <string name="all_bookmark">所有书签</string>
<string name="change_source_batch">批量换源</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -969,5 +969,6 @@
<string name="sys_tts_config_summary">打开系统tts设置界面</string> <string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string> <string name="cannot_timed_non_playback">非播放状态无法定时</string>
<string name="all_bookmark">所有书签</string> <string name="all_bookmark">所有书签</string>
<string name="change_source_batch">批量换源</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

Loading…
Cancel
Save