Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace some manga strings with respective anime strings #1864

Merged
merged 1 commit into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private fun ColumnScope.SortPage(
) {
listOf(
MR.strings.sort_by_source to Anime.EPISODE_SORTING_SOURCE,
MR.strings.sort_by_number to Anime.EPISODE_SORTING_NUMBER,
MR.strings.sort_by_episode_number to Anime.EPISODE_SORTING_NUMBER,
MR.strings.sort_by_upload_date to Anime.EPISODE_SORTING_UPLOAD_DATE,
MR.strings.action_sort_alpha to Anime.EPISODE_SORTING_ALPHABET,
).map { (titleRes, mode) ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ private fun ColumnScope.SortPage(
}
listOfNotNull(
MR.strings.action_sort_alpha to AnimeLibrarySort.Type.Alphabetical,
MR.strings.action_sort_total to AnimeLibrarySort.Type.TotalEpisodes,
MR.strings.action_sort_last_read to AnimeLibrarySort.Type.LastSeen,
MR.strings.action_sort_last_manga_update to AnimeLibrarySort.Type.LastUpdate,
MR.strings.action_sort_unread_count to AnimeLibrarySort.Type.UnseenCount,
MR.strings.action_sort_latest_chapter to AnimeLibrarySort.Type.LatestEpisode,
MR.strings.action_sort_chapter_fetch_date to AnimeLibrarySort.Type.EpisodeFetchDate,
MR.strings.action_sort_total_episodes to AnimeLibrarySort.Type.TotalEpisodes,
MR.strings.action_sort_last_seen to AnimeLibrarySort.Type.LastSeen,
MR.strings.action_sort_last_anime_update to AnimeLibrarySort.Type.LastUpdate,
MR.strings.action_sort_unseen_count to AnimeLibrarySort.Type.UnseenCount,
MR.strings.action_sort_latest_episode to AnimeLibrarySort.Type.LatestEpisode,
MR.strings.action_sort_episode_fetch_date to AnimeLibrarySort.Type.EpisodeFetchDate,
MR.strings.action_sort_date_added to AnimeLibrarySort.Type.DateAdded,
trackerMeanPair,
MR.strings.action_sort_airing_time to AnimeLibrarySort.Type.AiringTime,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ object AnimeMigrationFlags {
/** Returns information about applicable flags with default selections. */
fun getFlags(anime: Anime?, defaultSelectedBitMap: Int): List<AnimeMigrationFlag> {
val flags = mutableListOf<AnimeMigrationFlag>()
flags += AnimeMigrationFlag.create(EPISODES, defaultSelectedBitMap, MR.strings.chapters)
flags += AnimeMigrationFlag.create(EPISODES, defaultSelectedBitMap, MR.strings.episodes)
flags += AnimeMigrationFlag.create(CATEGORIES, defaultSelectedBitMap, MR.strings.categories)

if (anime != null) {
Expand Down
Loading