Localize Find in another source

This commit is contained in:
Jobobby04 2021-05-25 23:10:39 -04:00
parent 834e3d78ab
commit 9e63f32a82
2 changed files with 7 additions and 2 deletions

View File

@ -78,7 +78,7 @@ class SourceController(bundle: Bundle? = null) :
// SY -->
return when (mode) {
Mode.CATALOGUE -> applicationContext?.getString(R.string.label_sources)
Mode.SMART_SEARCH -> "Find in another source"
Mode.SMART_SEARCH -> applicationContext?.getString(R.string.find_in_another_source)
}
// SY <--
}
@ -143,7 +143,9 @@ class SourceController(bundle: Bundle? = null) :
Mode.CATALOGUE -> {
// Open the catalogue view.
// SY -->
if (source.supportsLatest && preferences.useNewSourceNavigation().get()) openIndexSource(source) else openSource(source, BrowseSourceController(source))
if (source.supportsLatest && preferences.useNewSourceNavigation().get()) {
openIndexSource(source)
} else openSource(source, BrowseSourceController(source))
// SY <--
}
Mode.SMART_SEARCH -> router.pushController(

View File

@ -322,6 +322,9 @@
<string name="cover_reset_toast">The cover will be updated when you exit manga info edit</string>
<!-- Browse -->
<!-- Sources Tab -->
<string name="find_in_another_source">Find in another source</string>
<!-- Smart Search -->
<string name="searching_source">Searching source…</string>