Add clarification for category exclusion (closes #4777)

(cherry picked from commit b2d697131c)
This commit is contained in:
arkon
2021-04-06 23:29:13 -04:00
committed by Jobobby04
parent 1ba07466ef
commit 5e8b5ef6cf
4 changed files with 16 additions and 15 deletions
@@ -79,7 +79,7 @@ class MoreController :
}
}
preference {
titleRes = R.string.label_categories
titleRes = R.string.categories
iconRes = R.drawable.ic_label_24dp
iconTint = tintColor
onClick {
@@ -153,7 +153,7 @@ class SettingsDownloadController : SettingsController() {
val categories = listOf(Category.createDefault()) + dbCategories
preferenceCategory {
titleRes = R.string.pref_download_new
titleRes = R.string.pref_category_auto_download
switchPreference {
key = Keys.downloadNew
@@ -162,7 +162,7 @@ class SettingsDownloadController : SettingsController() {
}
preference {
key = Keys.downloadNewCategories
titleRes = R.string.pref_download_new_categories
titleRes = R.string.categories
onClick {
DownloadCategoriesDialog().showDialog(router)
}
@@ -294,7 +294,8 @@ class SettingsDownloadController : SettingsController() {
.toIntArray()
return MaterialDialog(activity!!)
.title(R.string.pref_download_new_categories)
.title(R.string.categories)
.message(R.string.pref_download_new_categories_details)
.listItemsQuadStateMultiChoice(
items = items,
initialSelected = preselected
@@ -107,7 +107,7 @@ class SettingsLibraryController : SettingsController() {
}
preferenceCategory {
titleRes = R.string.pref_category_library_categories
titleRes = R.string.categories
preference {
key = "pref_action_edit_categories"
@@ -195,7 +195,7 @@ class SettingsLibraryController : SettingsController() {
}
preference {
key = Keys.libraryUpdateCategories
titleRes = R.string.pref_library_update_categories
titleRes = R.string.categories
onClick {
LibraryGlobalUpdateCategoriesDialog().showDialog(router)
}
@@ -384,7 +384,8 @@ class SettingsLibraryController : SettingsController() {
.toIntArray()
return MaterialDialog(activity!!)
.title(R.string.pref_library_update_categories)
.title(R.string.categories)
.message(R.string.pref_library_update_categories_details)
.listItemsQuadStateMultiChoice(
items = items,
initialSelected = preselected