fix some language

This commit is contained in:
jmir1 2021-10-11 19:37:10 +02:00
parent 7b84b6c0aa
commit bfa761bfbd
3 changed files with 4 additions and 3 deletions

View file

@ -69,7 +69,7 @@ open class AnimeExtensionPresenter(
.filter { avail ->
installed.none { it.pkgName == avail.pkgName } &&
untrusted.none { it.pkgName == avail.pkgName } &&
avail.lang in activeLangs &&
avail.lang in activeLangs &&
(showNsfwSources || !avail.isNsfw)
}
.sortedBy { it.name }

View file

@ -56,7 +56,7 @@ class AnimeHistoryHolder(
if (chapter.episode_number > -1f) {
val formattedNumber = adapter.decimalFormat.format(chapter.episode_number.toDouble())
binding.mangaSubtitle.text = itemView.context.getString(
R.string.recent_manga_time,
R.string.recent_anime_time,
formattedNumber,
Date(animehistory.last_seen).toTimestampString()
)

View file

@ -782,6 +782,7 @@
<!-- History fragment -->
<string name="recent_manga_time">Ch. %1$s - %2$s</string>
<string name="recent_anime_time">Ep. %1$s - %2$s</string>
<string name="pref_clear_history">Clear history</string>
<string name="clear_history_completed">History deleted</string>
<string name="clear_history_confirmation">Are you sure? All history will be lost.</string>
@ -838,7 +839,7 @@
<item quantity="other">%1$d updates failed</item>
</plurals>
<string name="notification_cover_update_failed">Failed to update cover</string>
<string name="notification_first_add_to_library">Please add the manga to your library before doing this</string>
<string name="notification_first_add_to_library">Please add the title to your library before doing this</string>
<!-- File Picker Titles -->
<string name="file_select_cover">Select cover image</string>