diff src/gui/translate/anime.cpp @ 10:4b198a111713

Update things actually compile now btw qttest wants to fuck over the model but that might be my fault so /shrug
author Paper <mrpapersonic@gmail.com>
date Sat, 16 Sep 2023 02:06:01 -0400
parents 5c0397762b53
children cde8f67a7c7d
line wrap: on
line diff
--- a/src/gui/translate/anime.cpp	Sun Sep 10 03:59:16 2023 -0400
+++ b/src/gui/translate/anime.cpp	Sat Sep 16 02:06:01 2023 -0400
@@ -1,54 +1,54 @@
-#include "core/anime.h"
-
-namespace Translate {
-
-std::string TranslateListStatus(const Anime::ListStatus status) {
-	switch (status) {
-		case Anime::ListStatus::NOT_IN_LIST: return "Not in list";
-		case Anime::ListStatus::CURRENT: return "Currently watching";
-		case Anime::ListStatus::PLANNING: return "Plan to watch";
-		case Anime::ListStatus::COMPLETED: return "Completed";
-		case Anime::ListStatus::DROPPED: return "Dropped";
-		case Anime::ListStatus::PAUSED: return "On hold";
-		default: return "";
-	}
-}
-
-std::string TranslateSeriesFormat(const Anime::SeriesFormat format) {
-	switch (format) {
-		case Anime::SeriesFormat::UNKNOWN: return "Unknown";
-		case Anime::SeriesFormat::TV: return "TV";
-		case Anime::SeriesFormat::TV_SHORT: return "TV short";
-		case Anime::SeriesFormat::OVA: return "OVA";
-		case Anime::SeriesFormat::MOVIE: return "Movie";
-		case Anime::SeriesFormat::SPECIAL: return "Special";
-		case Anime::SeriesFormat::ONA: return "ONA";
-		case Anime::SeriesFormat::MUSIC: return "Music";
-		default: return "";
-	}
-}
-
-std::string TranslateSeriesSeason(const Anime::SeriesSeason season) {
-	switch (season) {
-		case Anime::SeriesSeason::UNKNOWN: return "Unknown";
-		case Anime::SeriesSeason::WINTER: return "Winter";
-		case Anime::SeriesSeason::SUMMER: return "Summer";
-		case Anime::SeriesSeason::FALL: return "Fall";
-		case Anime::SeriesSeason::SPRING: return "Spring";
-		default: return "";
-	}
-}
-
-std::string TranslateSeriesStatus(const Anime::SeriesStatus status) {
-	switch (status) {
-		case Anime::SeriesStatus::UNKNOWN: return "Unknown";
-		case Anime::SeriesStatus::RELEASING: return "Currently airing";
-		case Anime::SeriesStatus::FINISHED: return "Finished airing";
-		case Anime::SeriesStatus::NOT_YET_RELEASED: return "Not yet aired";
-		case Anime::SeriesStatus::CANCELLED: return "Cancelled";
-		case Anime::SeriesStatus::HIATUS: return "On hiatus";
-		default: return "";
-	}
-}
-
+#include "core/anime.h"
+
+namespace Translate {
+
+std::string TranslateListStatus(const Anime::ListStatus status) {
+	switch (status) {
+		case Anime::ListStatus::NOT_IN_LIST: return "Not in list";
+		case Anime::ListStatus::CURRENT: return "Currently watching";
+		case Anime::ListStatus::PLANNING: return "Plan to watch";
+		case Anime::ListStatus::COMPLETED: return "Completed";
+		case Anime::ListStatus::DROPPED: return "Dropped";
+		case Anime::ListStatus::PAUSED: return "On hold";
+		default: return "";
+	}
+}
+
+std::string TranslateSeriesFormat(const Anime::SeriesFormat format) {
+	switch (format) {
+		case Anime::SeriesFormat::UNKNOWN: return "Unknown";
+		case Anime::SeriesFormat::TV: return "TV";
+		case Anime::SeriesFormat::TV_SHORT: return "TV short";
+		case Anime::SeriesFormat::OVA: return "OVA";
+		case Anime::SeriesFormat::MOVIE: return "Movie";
+		case Anime::SeriesFormat::SPECIAL: return "Special";
+		case Anime::SeriesFormat::ONA: return "ONA";
+		case Anime::SeriesFormat::MUSIC: return "Music";
+		default: return "";
+	}
+}
+
+std::string TranslateSeriesSeason(const Anime::SeriesSeason season) {
+	switch (season) {
+		case Anime::SeriesSeason::UNKNOWN: return "Unknown";
+		case Anime::SeriesSeason::WINTER: return "Winter";
+		case Anime::SeriesSeason::SUMMER: return "Summer";
+		case Anime::SeriesSeason::FALL: return "Fall";
+		case Anime::SeriesSeason::SPRING: return "Spring";
+		default: return "";
+	}
+}
+
+std::string TranslateSeriesStatus(const Anime::SeriesStatus status) {
+	switch (status) {
+		case Anime::SeriesStatus::UNKNOWN: return "Unknown";
+		case Anime::SeriesStatus::RELEASING: return "Currently airing";
+		case Anime::SeriesStatus::FINISHED: return "Finished airing";
+		case Anime::SeriesStatus::NOT_YET_RELEASED: return "Not yet aired";
+		case Anime::SeriesStatus::CANCELLED: return "Cancelled";
+		case Anime::SeriesStatus::HIATUS: return "On hiatus";
+		default: return "";
+	}
+}
+
 } // namespace Translate
\ No newline at end of file