Mercurial > minori
diff src/gui/translate/anime.cpp @ 15:cde8f67a7c7d
*: update, megacommit :)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 19 Sep 2023 22:36:08 -0400 |
parents | 4b198a111713 |
children | d0adc4aedfc8 |
line wrap: on
line diff
--- a/src/gui/translate/anime.cpp Tue Sep 19 16:33:07 2023 -0400 +++ b/src/gui/translate/anime.cpp Tue Sep 19 22:36:08 2023 -0400 @@ -1,8 +1,9 @@ #include "core/anime.h" +#include "gui/translate/anime.h" namespace Translate { -std::string TranslateListStatus(const Anime::ListStatus status) { +std::string ToString(const Anime::ListStatus status) { switch (status) { case Anime::ListStatus::NOT_IN_LIST: return "Not in list"; case Anime::ListStatus::CURRENT: return "Currently watching"; @@ -14,7 +15,7 @@ } } -std::string TranslateSeriesFormat(const Anime::SeriesFormat format) { +std::string ToString(const Anime::SeriesFormat format) { switch (format) { case Anime::SeriesFormat::UNKNOWN: return "Unknown"; case Anime::SeriesFormat::TV: return "TV"; @@ -28,7 +29,7 @@ } } -std::string TranslateSeriesSeason(const Anime::SeriesSeason season) { +std::string ToString(const Anime::SeriesSeason season) { switch (season) { case Anime::SeriesSeason::UNKNOWN: return "Unknown"; case Anime::SeriesSeason::WINTER: return "Winter"; @@ -39,7 +40,7 @@ } } -std::string TranslateSeriesStatus(const Anime::SeriesStatus status) { +std::string ToString(const Anime::SeriesStatus status) { switch (status) { case Anime::SeriesStatus::UNKNOWN: return "Unknown"; case Anime::SeriesStatus::RELEASING: return "Currently airing";