Mercurial > minori
diff include/gui/translate/anime.h @ 174:f88eda79c60a
anime/db: add some more json functionality, still doesn't compile :/
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 29 Nov 2023 13:53:56 -0500 |
parents | c4bb49c2f6eb |
children | 62e336597bb7 |
line wrap: on
line diff
--- a/include/gui/translate/anime.h Tue Nov 28 13:53:54 2023 -0500 +++ b/include/gui/translate/anime.h Wed Nov 29 13:53:56 2023 -0500 @@ -7,8 +7,20 @@ std::string ToString(const Anime::SeriesSeason season); std::string ToString(const Anime::SeriesStatus status); std::string ToString(const Anime::Services service); +std::string ToString(const Anime::TitleLanguage language); + +std::string ToLocalString(const Anime::ListStatus status); +std::string ToLocalString(const Anime::SeriesFormat format); +std::string ToLocalString(const Anime::SeriesSeason season); +std::string ToLocalString(const Anime::SeriesStatus status); +std::string ToLocalString(const Anime::Services service); +std::string ToLocalString(const Anime::TitleLanguage language); + +Anime::ListStatus ToListStatus(const std::string& str); +Anime::SeriesFormat ToSeriesFormat(const std::string& str); +Anime::SeriesSeason ToSeriesSeason(const std::string& str); +Anime::SeriesStatus ToSeriesStatus(const std::string& str); Anime::Services ToService(const std::string& str); -std::string ToString(const Anime::TitleLanguage language); Anime::TitleLanguage ToLanguage(const std::string& str); } // namespace Translate