Skip to content

Commit 0ea36c6

Browse files
committed
localization fix
1 parent 9965046 commit 0ea36c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LoopUI/Views/LoopCompletionHUDView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ extension LoopCompletionHUDView {
208208
switch freshness {
209209
case .fresh:
210210
if loopStateView.open {
211-
let reason = closedLoopDisallowedLocalizedDescription ?? NSLocalizedString("Tap Settings to toggle Closed Loop ON if you wish for the app to automate your insulin.", comment: "Instructions for user to close loop if it is allowed.")
211+
let reason = closedLoopDisallowedLocalizedDescription ?? LocalizedString("Tap Settings to toggle Closed Loop ON if you wish for the app to automate your insulin.", comment: "Instructions for user to close loop if it is allowed.")
212212
return (title: LocalizedString("Closed Loop OFF", comment: "Title of green open loop OFF message"),
213213
message: String(format: LocalizedString("\n%1$@ is operating with Closed Loop in the OFF position. Your pump and CGM will continue operating, but the app will not adjust dosing automatically.\n\n%2$@", comment: "Green closed loop OFF message (1: app name)(2: reason for open loop)"), Bundle.main.bundleDisplayName, reason))
214214
} else {

0 commit comments

Comments
 (0)