From dae7fd390cef2ae023b918adafb1496cbc6bfdb4 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 11 Feb 2020 20:16:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/arrange/ArrangeBookActivity.kt | 4 ++-- .../io/legado/app/ui/book/source/manage/BookSourceActivity.kt | 2 +- .../java/io/legado/app/ui/replacerule/ReplaceRuleActivity.kt | 2 +- .../io/legado/app/ui/rss/source/manage/RssSourceActivity.kt | 2 +- app/src/main/res/values/strings.xml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/arrange/ArrangeBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/arrange/ArrangeBookActivity.kt index 29918278d..e122baf1b 100644 --- a/app/src/main/java/io/legado/app/ui/book/arrange/ArrangeBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/arrange/ArrangeBookActivity.kt @@ -141,7 +141,7 @@ class ArrangeBookActivity : VMBaseActivity(R.layout.activi override fun onMenuItemClick(item: MenuItem?): Boolean { when (item?.itemId) { R.id.menu_del_selection -> - alert(titleResource = R.string.sure, messageResource = R.string.sure_del) { + alert(titleResource = R.string.draw, messageResource = R.string.sure_del) { okButton { viewModel.deleteBook(*adapter.selectedBooks.toTypedArray()) } noButton { } }.show().applyTint() @@ -184,7 +184,7 @@ class ArrangeBookActivity : VMBaseActivity(R.layout.activi } override fun deleteBook(book: Book) { - alert(titleResource = R.string.sure, messageResource = R.string.sure_del) { + alert(titleResource = R.string.draw, messageResource = R.string.sure_del) { okButton { viewModel.deleteBook(book) } diff --git a/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt b/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt index c156d7360..b866c9865 100644 --- a/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt @@ -171,7 +171,7 @@ class BookSourceActivity : VMBaseActivity(R.layout.activity override fun onClickMainAction() { this@BookSourceActivity - .alert(titleResource = R.string.sure, messageResource = R.string.sure_del) { + .alert(titleResource = R.string.draw, messageResource = R.string.sure_del) { okButton { viewModel.delSelection(adapter.getSelection()) } noButton { } } diff --git a/app/src/main/java/io/legado/app/ui/replacerule/ReplaceRuleActivity.kt b/app/src/main/java/io/legado/app/ui/replacerule/ReplaceRuleActivity.kt index 6ab427d12..f4f46c31d 100644 --- a/app/src/main/java/io/legado/app/ui/replacerule/ReplaceRuleActivity.kt +++ b/app/src/main/java/io/legado/app/ui/replacerule/ReplaceRuleActivity.kt @@ -111,7 +111,7 @@ class ReplaceRuleActivity : VMBaseActivity(R.layout.activi override fun onClickMainAction() { this@ReplaceRuleActivity - .alert(titleResource = R.string.sure, messageResource = R.string.sure_del) { + .alert(titleResource = R.string.draw, messageResource = R.string.sure_del) { okButton { viewModel.delSelection(adapter.getSelection()) } noButton { } } diff --git a/app/src/main/java/io/legado/app/ui/rss/source/manage/RssSourceActivity.kt b/app/src/main/java/io/legado/app/ui/rss/source/manage/RssSourceActivity.kt index 8759ef1de..7de721d63 100644 --- a/app/src/main/java/io/legado/app/ui/rss/source/manage/RssSourceActivity.kt +++ b/app/src/main/java/io/legado/app/ui/rss/source/manage/RssSourceActivity.kt @@ -159,7 +159,7 @@ class RssSourceActivity : VMBaseActivity(R.layout.activity_r override fun onClickMainAction() { this@RssSourceActivity - .alert(titleResource = R.string.sure, messageResource = R.string.sure_del) { + .alert(titleResource = R.string.draw, messageResource = R.string.sure_del) { okButton { viewModel.delSelection(adapter.getSelection()) } noButton { } } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c1e9aa069..f66ba439d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -24,7 +24,7 @@ 点击重试 正在加载 - + 提醒 编辑 删除 替换