Issue #11: Switched to old-school localization so we can leverage Weblate.
This commit is contained in:
parent
3aee0db9e9
commit
ddcf2070f7
22 changed files with 285 additions and 787 deletions
|
|
@ -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: "")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue