mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-12 20:35:11 +01:00
group LocalSource and Other lang source together
This commit is contained in:
parent
c6d4e4c15f
commit
f61f0305a9
@ -16,9 +16,10 @@ object LocaleHelper {
|
||||
*/
|
||||
fun getSourceDisplayName(lang: String?, context: Context): String {
|
||||
return when (lang) {
|
||||
"" -> context.getString(R.string.other_source)
|
||||
SourcePresenter.LAST_USED_KEY -> context.getString(R.string.last_used_source)
|
||||
SourcePresenter.PINNED_KEY -> context.getString(R.string.pinned_sources)
|
||||
"" -> context.getString(R.string.other_source)
|
||||
"other" -> context.getString(R.string.other_source)
|
||||
"all" -> context.getString(R.string.all_lang)
|
||||
else -> getDisplayName(lang)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user