Skip to content

Commit ccde954

Browse files
author
Alan Westbrook
committed
Updates for latest Swiftness
* can no longer use %@ for numbers as implicit conversion to objects no longer happens * Bump version
1 parent 0504bb8 commit ccde954

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Orangered-Swift/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>5</string>
24+
<string>6</string>
2525
<key>LSApplicationCategoryType</key>
2626
<string>public.app-category.utilities</string>
2727
<key>LSMinimumSystemVersion</key>

Orangered-Swift/StatusItemController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ class StatusItemController: NSObject, NSUserNotificationCenterDelegate {
336336

337337
if mailCount > 1 {
338338
note.informativeText = String
339-
.localizedStringWithFormat(NSLocalizedString("You have %@ unread messages on reddit",
339+
.localizedStringWithFormat(NSLocalizedString("You have %i unread messages on reddit",
340340
comment: "plural message notification text"),
341341
mailCount)
342342
}

0 commit comments

Comments
 (0)