Issue #11: Switched to old-school localization so we can leverage Weblate.

This commit is contained in:
Benjamin Erhart 2026-05-29 16:54:21 +02:00
parent 3aee0db9e9
commit ddcf2070f7
22 changed files with 285 additions and 787 deletions

View file

@ -23,19 +23,19 @@ enum SummaryStatus: String, Codable, CustomStringConvertible {
var description: String {
switch self {
case .pending:
return "Fetching service status"
return NSLocalizedString("Fetching service status", comment: "")
case .ok:
return "No issues detected"
return NSLocalizedString("No issues detected", comment: "")
case .notice:
return "In maintenance"
return NSLocalizedString("In maintenance", comment: "")
case .disrupted:
return "Service disruption"
return NSLocalizedString("Service disruption", comment: "")
case .down:
return "Service down"
return NSLocalizedString("Service down", comment: "")
}
}