diff --git a/ACHNBrowserUI/ACHNBrowserUI/fr.lproj/Localizable.strings b/ACHNBrowserUI/ACHNBrowserUI/fr.lproj/Localizable.strings index ff9fd947..2c780774 100644 Binary files a/ACHNBrowserUI/ACHNBrowserUI/fr.lproj/Localizable.strings and b/ACHNBrowserUI/ACHNBrowserUI/fr.lproj/Localizable.strings differ diff --git a/ACHNBrowserUI/ACHNBrowserUI/packages/Backend/Sources/Backend/services/NotificationsManager.swift b/ACHNBrowserUI/ACHNBrowserUI/packages/Backend/Sources/Backend/services/NotificationsManager.swift index 7094755e..618f52df 100644 --- a/ACHNBrowserUI/ACHNBrowserUI/packages/Backend/Sources/Backend/services/NotificationsManager.swift +++ b/ACHNBrowserUI/ACHNBrowserUI/packages/Backend/Sources/Backend/services/NotificationsManager.swift @@ -41,7 +41,9 @@ public class NotificationManager: NSObject { if dayOfTheWeek >= today { let content = UNMutableNotificationContent() content.title = NSLocalizedString("Turnip prices", comment: "") - content.body = NSLocalizedString("Your prices predictions for \(isMorning ? NSLocalizedString("this morning", comment: "") : NSLocalizedString("this afternoon", comment: "")) should be around \(day) bells. With a minimum of \(min) and a maximum of \(max).", comment: "") + let timeString = isMorning ? NSLocalizedString("this morning", comment: "") : NSLocalizedString("this afternoon", comment: "") + content.body = String.init(format: NSLocalizedString("Your prices predictions for %@ should be around %lld bells. With a minimum of %lld and a maximum of %lld.", comment: ""), + timeString, day, min, max) var components = DateComponents() components.calendar = Calendar(identifier: .gregorian)