Update strings for master rebase

This commit is contained in:
Jay 2020-02-08 12:46:45 -08:00
parent a9a94d7654
commit ebfdfe4d9b
3 changed files with 3 additions and 4 deletions

View File

@ -432,7 +432,7 @@ class LibraryController(
/** /**
* Called when a filter is changed. * Called when a filter is changed.
*/ */
private fun onFilterChanged(item: ExtendedNavigationView.Item?) { private fun onFilterChanged(item: ExtendedNavigationView.Item? = null) {
if (item is ExtendedNavigationView.Item.MultiStateGroup && item.resTitle == R.string.categories) { if (item is ExtendedNavigationView.Item.MultiStateGroup && item.resTitle == R.string.categories) {
if (!MainActivity.bottomNav) activity?.invalidateOptionsMenu() if (!MainActivity.bottomNav) activity?.invalidateOptionsMenu()
presenter.requestFullUpdate() presenter.requestFullUpdate()

View File

@ -284,7 +284,7 @@ class FilterBottomSheet @JvmOverloads constructor(context: Context, attrs: Attri
fun createTags() { fun createTags() {
categories = inflate(R.layout.filter_buttons) as FilterTagGroup categories = inflate(R.layout.filter_buttons) as FilterTagGroup
categories.setup(this, R.string.hide_categories) categories.setup(this, R.string.action_hide_categories)
downloaded = inflate(R.layout.filter_buttons) as FilterTagGroup downloaded = inflate(R.layout.filter_buttons) as FilterTagGroup
downloaded.setup(this, R.string.action_filter_downloaded, R.string.action_filter_not_downloaded) downloaded.setup(this, R.string.action_filter_downloaded, R.string.action_filter_not_downloaded)

View File

@ -44,7 +44,7 @@
<string name="action_filter_read">Read</string> <string name="action_filter_read">Read</string>
<string name="action_filter_tracked">Tracked</string> <string name="action_filter_tracked">Tracked</string>
<string name="action_filter_not_tracked">Not tracked</string> <string name="action_filter_not_tracked">Not tracked</string>
<string name="hide_categories">Hide categories</string> <string name="action_hide_categories">Hide categories</string>
<string name="hiding_categories">Hiding categories</string> <string name="hiding_categories">Hiding categories</string>
<string name="manga_only">Manga only</string> <string name="manga_only">Manga only</string>
<string name="manwha_only">Manwha only</string> <string name="manwha_only">Manwha only</string>
@ -57,7 +57,6 @@
<string name="action_sort_total">Total chapters</string> <string name="action_sort_total">Total chapters</string>
<string name="action_sort_last_read">Last read</string> <string name="action_sort_last_read">Last read</string>
<string name="action_sort_drag_and_drop">Drag &amp; Drop</string> <string name="action_sort_drag_and_drop">Drag &amp; Drop</string>
<string name="action_hide_categories">Hide categories</string>
<string name="action_search">Search</string> <string name="action_search">Search</string>
<string name="action_skip_manga">Don\'t migrate</string> <string name="action_skip_manga">Don\'t migrate</string>
<string name="action_select_all">Select all</string> <string name="action_select_all">Select all</string>