commit dd9b28297de53590c28557912ccc92d27c85974a
parent 830055f1bc874ae7d4278acf3f845eafa28874e7
Author: Marc Stibane <marc@taler.net>
Date: Thu, 19 Dec 2024 21:04:17 +0100
L10N
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/TalerWallet1/Views/HelperViews/SelectDays.swift b/TalerWallet1/Views/HelperViews/SelectDays.swift
@@ -69,7 +69,8 @@ struct SelectDays: View {
if developerMode {
Text(verbatim: "1 Day")
} else {
- Text("\(THIRTYDAYS) Days", comment: "30 Days, always plural (10..30), 4 letters max., abbreviate if longer")
+ let thirtyDays = String(localized: "thirtyDays", defaultValue: "\(THIRTYDAYS) Days", comment: "30 Days, always plural (10..30), 4 letters max., abbreviate if longer")
+ Text(thirtyDays)
}
}.buttonStyle(TalerButtonStyle(type: (selected == THIRTYDAYS) ? .prominent : .bordered, dimmed: true,
disabled: !isEnabled || maxExpiration < THIRTYDAYS))