Mercurial > minori
diff include/gui/translate/anime.h @ 202:71832ffe425a
animia: re-add kvm fd source
this is all being merged from my wildly out-of-date laptop. SORRY!
in other news, I edited the CI file to install the wayland client
as well, so the linux CI build might finally get wayland stuff.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Tue, 02 Jan 2024 06:05:06 -0500 |
parents | 649786bae914 |
children | 3ec7804abf17 |
line wrap: on
line diff
--- a/include/gui/translate/anime.h Sun Nov 19 19:13:28 2023 -0500 +++ b/include/gui/translate/anime.h Tue Jan 02 06:05:06 2024 -0500 @@ -1,3 +1,6 @@ +#ifndef __gui__translate__anime_h +#define __gui__translate__anime_h + #include "core/anime.h" namespace Translate { @@ -7,8 +10,25 @@ 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 ToString(const Anime::ScoreFormat format); + +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); +std::string ToLocalString(const Anime::ScoreFormat 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); +Anime::ScoreFormat ToScoreFormat(const std::string& str); } // namespace Translate + +#endif // __gui__translate__anime_h