You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Loop/Managers/Alerts/AlertManager.swift
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -799,8 +799,10 @@ extension AlertManager {
799
799
}
800
800
801
801
func presentCouldNotResetLoopAlert(error:Error){
802
-
letalert=UIAlertController(title:"Could Not Restart Loop", message:"While trying to restart Loop an error occured.\n\n\(error.localizedDescription)", preferredStyle:.alert)
lettitleString=String(format:NSLocalizedString("Could Not Restart %1$@", comment:"Format string for title of reset loop alert. (1: App name)"),Bundle.main.bundleDisplayName)
803
+
letmessage=String(format:NSLocalizedString("While trying to restart %1$@ an error occured.\n\n%2$@", comment:"Format string for message of reset loop alert. (1: App name) (2: error description)"),Bundle.main.bundleDisplayName, error.localizedDescription)
Text(NSLocalizedString("Loop Mute Alerts", comment:"Section title for description that mute alerts is temporary"))
36
+
Text(String(format:NSLocalizedString("%1$@ Mute Alerts", comment:"Format string for Section title for description that mute alerts is temporary (1: app name)"), appName))
36
37
.bold()
37
38
.fixedSize(horizontal:false, vertical:true)
38
39
}
@@ -52,7 +53,7 @@ After the mute period ends, your alert sounds will resume.
52
53
Text(NSLocalizedString("iOS Focus Mode", comment:"Section title for description of how mute alerts work with focus mode"))
53
54
.bold()
54
55
}
55
-
Text(NSLocalizedString("If iOS Focus Mode is ON and Mute Alerts is OFF, Critical Alerts will still be delivered, but non-Critical Alerts will be silenced until Loop is added to each Focus mode as an Allowed App.", comment:"Description of how mute alerts works with focus mode"))
56
+
Text(String(format:NSLocalizedString("If iOS Focus Mode is ON and Mute Alerts is OFF, Critical Alerts will still be delivered, but non-Critical Alerts will be silenced until %1$@ is added to each Focus mode as an Allowed App.", comment:"Format string for description of how mute alerts works with focus mode (1: app name)"), appName))
0 commit comments