From 1d16a49e5f2acba06c5d9ea2f65fc8bcf33c0451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20M=C3=A5rtensson?= Date: Thu, 9 Nov 2023 00:51:13 +0100 Subject: [PATCH] Localizations --- .../Sources/Localizations/Main/en.lproj/Localizable.strings | 3 ++- .../Sources/Localizations/Main/sv.lproj/Localizable.strings | 3 ++- FreeAPS/Sources/Modules/Bolus/View/Predictions.swift | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/FreeAPS/Sources/Localizations/Main/en.lproj/Localizable.strings b/FreeAPS/Sources/Localizations/Main/en.lproj/Localizable.strings index 91f2bf902..ab02a1432 100644 --- a/FreeAPS/Sources/Localizations/Main/en.lproj/Localizable.strings +++ b/FreeAPS/Sources/Localizations/Main/en.lproj/Localizable.strings @@ -1406,7 +1406,8 @@ Enact a temp Basal or a temp target */ /* */ "Please wait" = "Please wait"; -"Glucose, %@" = "Glucose, %@"; +/* */ +"Glucose, " = "Glucose, "; /* */ "Target Glucose" = "Target Glucose"; diff --git a/FreeAPS/Sources/Localizations/Main/sv.lproj/Localizable.strings b/FreeAPS/Sources/Localizations/Main/sv.lproj/Localizable.strings index 4cfbc9924..8646f0066 100644 --- a/FreeAPS/Sources/Localizations/Main/sv.lproj/Localizable.strings +++ b/FreeAPS/Sources/Localizations/Main/sv.lproj/Localizable.strings @@ -1405,7 +1405,8 @@ Enact a temp Basal or a temp target */ /* */ "Please wait" = "Vänta..."; -"Glucose, %@" = "Glucose, %@"; +/* */ +"Glucose, " = "Blodsocker, "; /* */ "Target Glucose" = "Målvärde"; diff --git a/FreeAPS/Sources/Modules/Bolus/View/Predictions.swift b/FreeAPS/Sources/Modules/Bolus/View/Predictions.swift index fa753d54d..1556bb3ea 100644 --- a/FreeAPS/Sources/Modules/Bolus/View/Predictions.swift +++ b/FreeAPS/Sources/Modules/Bolus/View/Predictions.swift @@ -105,6 +105,6 @@ struct PredictionView: View { "COB": Color(.loopYellow), "ZT": Color(.ZT) ]) - .chartYAxisLabel("Glucose, " + units.rawValue, alignment: .center) + .chartYAxisLabel(NSLocalizedString("Glucose, ", comment: "") + units.rawValue, alignment: .center) } }