featL add localization for various UI strings and error messages

This commit is contained in:
2026-03-14 17:46:00 +07:00
parent 758f5ec05f
commit 8a15572fb9
15 changed files with 1079 additions and 69 deletions
@@ -123,8 +123,8 @@ struct MaydayLiveActivityLiveActivity: Widget {
@ViewBuilder
func statusBadge(_ status: AlertStatus) -> some View {
let (text, color): (String, Color) = status == .active
? ("активен", .red)
: ("завершён", .green)
? (String(localized: "alert_status_active"), .red)
: (String(localized: "alert_status_resolved"), .green)
Text(text)
.font(.caption2.bold())
.textCase(.uppercase)