Mercurial > minori
view include/gui/translate/anime.h @ 177:122fad646f81
anime/db: upgrade to c++17 style, make things easier to read
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 01 Dec 2023 13:32:29 -0500 |
parents | f88eda79c60a |
children | 62e336597bb7 |
line wrap: on
line source
#include "core/anime.h" namespace Translate { std::string ToString(const Anime::ListStatus status); std::string ToString(const Anime::SeriesFormat format); 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); Anime::TitleLanguage ToLanguage(const std::string& str); } // namespace Translate