localize main app

This commit is contained in:
Trey t
2022-01-23 10:28:38 -06:00
parent 8648a8f834
commit 8ece03abce
12 changed files with 132 additions and 40 deletions

View File

@@ -19,17 +19,17 @@ enum Mood: Int {
var strValue: String {
switch self {
case .horrible:
return "Horrible"
return String(localized: "mood_value_horrible")
case .bad:
return "Bad"
return String(localized: "mood_value_bad")
case .average:
return "Average"
return String(localized: "mood_value_average")
case .good:
return "Good"
return String(localized: "mood_value_good")
case .great:
return "Great"
return String(localized: "mood_value_great")
case .missing:
return "Missing"
return String(localized: "mood_value_missing")
}
}