From 9f17e9116ccc9871a50ba7c0be07962a8338e2ae Mon Sep 17 00:00:00 2001 From: Jay Date: Wed, 20 May 2020 01:56:30 -0400 Subject: [PATCH] Move "Select target sources" to strings.xml --- .../ui/migration/manga/design/PreMigrationController.kt | 2 +- app/src/main/res/values/strings.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/migration/manga/design/PreMigrationController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/migration/manga/design/PreMigrationController.kt index 15943204b4..6df5ec5cfb 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/migration/manga/design/PreMigrationController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/migration/manga/design/PreMigrationController.kt @@ -41,7 +41,7 @@ class PreMigrationController(bundle: Bundle? = null) : BaseController(bundle), F private var dialog: BottomSheetDialog? = null - override fun getTitle() = "Select target sources" + override fun getTitle() = view?.context?.getString(R.string.select_target_sources) override fun inflateView(inflater: LayoutInflater, container: ViewGroup): View { return inflater.inflate(R.layout.pre_migration_controller, container, false) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4edcea96cb..a8868bf6ca 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -415,6 +415,7 @@ Add tracking + Select target sources Source migration Migration Skip pre-migration