From ccde954410ac4309104d1df9bc627bcf53526a4c Mon Sep 17 00:00:00 2001 From: Alan Westbrook Date: Sat, 10 Sep 2016 13:21:38 -0700 Subject: [PATCH] Updates for latest Swiftness * can no longer use %@ for numbers as implicit conversion to objects no longer happens * Bump version --- Orangered-Swift/Info.plist | 2 +- Orangered-Swift/StatusItemController.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Orangered-Swift/Info.plist b/Orangered-Swift/Info.plist index 8f9794c..a905c7b 100644 --- a/Orangered-Swift/Info.plist +++ b/Orangered-Swift/Info.plist @@ -21,7 +21,7 @@ CFBundleSignature ???? CFBundleVersion - 5 + 6 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion diff --git a/Orangered-Swift/StatusItemController.swift b/Orangered-Swift/StatusItemController.swift index f40fd38..99eaf55 100644 --- a/Orangered-Swift/StatusItemController.swift +++ b/Orangered-Swift/StatusItemController.swift @@ -336,7 +336,7 @@ class StatusItemController: NSObject, NSUserNotificationCenterDelegate { if mailCount > 1 { note.informativeText = String - .localizedStringWithFormat(NSLocalizedString("You have %@ unread messages on reddit", + .localizedStringWithFormat(NSLocalizedString("You have %i unread messages on reddit", comment: "plural message notification text"), mailCount) }