Add clarification for category exclusion (closes #4777)

This commit is contained in:
arkon
2021-04-06 23:29:13 -04:00
parent ef49fc91d8
commit b2d697131c
4 changed files with 16 additions and 15 deletions

View File

@ -78,7 +78,7 @@ class MoreController :
}
}
preference {
titleRes = R.string.label_categories
titleRes = R.string.categories
iconRes = R.drawable.ic_label_24dp
iconTint = tintColor
onClick {

View File

@ -100,7 +100,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
@ -109,7 +109,7 @@ class SettingsDownloadController : SettingsController() {
}
preference {
key = Keys.downloadNewCategories
titleRes = R.string.pref_download_new_categories
titleRes = R.string.categories
onClick {
DownloadCategoriesDialog().showDialog(router)
}
@ -241,7 +241,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

View File

@ -83,7 +83,7 @@ class SettingsLibraryController : SettingsController() {
}
preferenceCategory {
titleRes = R.string.pref_category_library_categories
titleRes = R.string.categories
preference {
key = "pref_action_edit_categories"
@ -171,7 +171,7 @@ class SettingsLibraryController : SettingsController() {
}
preference {
key = Keys.libraryUpdateCategories
titleRes = R.string.pref_library_update_categories
titleRes = R.string.categories
onClick {
LibraryGlobalUpdateCategoriesDialog().showDialog(router)
}
@ -312,7 +312,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