Просмотр исходного кода

Update source string "Noisy CGM Target Multiplier"

Jon Mårtensson 4 лет назад
Родитель
Сommit
52fd8b8637

+ 1 - 1
FreeAPS/Sources/Localizations/Main/en.lproj/Localizable.strings

@@ -515,4 +515,4 @@ Enact a temp Basal or a temp target */
 "Grams of carbsReq to trigger a pushover. Defaults to 1 (for 1 gram of carbohydrate). Can be increased if you only want to get Pushover for carbsReq at X threshold." = "Grams of carbsReq to trigger a pushover. Defaults to 1 (for 1 gram of carbohydrate). Can be increased if you only want to get Pushover for carbsReq at X threshold.";
 
 /* "Noisy CGM Target Multiplier" */
-"Nothing here yet..." = "Nothing here yet...";
+"Defaults to 1.3. Increase target by this amount when looping off raw/noisy CGM data" = "Defaults to 1.3. Increase target by this amount when looping off raw/noisy CGM data";

+ 4 - 1
FreeAPS/Sources/Modules/PreferencesEditor/PreferencesEditorViewModel.swift

@@ -427,7 +427,10 @@ extension PreferencesEditor {
                     displayName: "Noisy CGM Target Multiplier",
                     keypath: \.noisyCGMTargetMultiplier,
                     value: preferences.noisyCGMTargetMultiplier,
-                    infoText: NSLocalizedString("Nothing here yet...", comment: "Noisy CGM Target Multiplier"),
+                    infoText: NSLocalizedString(
+                        "Defaults to 1.3. Increase target by this amount when looping off raw/noisy CGM data",
+                        comment: "Noisy CGM Target Multiplier"
+                    ),
                     settable: self
                 )
             ]