Use proper quotes in timeline contextual menu
This commit is contained in:
parent
27fed1cb60
commit
c8f5a24b95
@ -248,7 +248,7 @@ private extension TimelineViewController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func selectFeedInSidebarMenuItem(_ feed: Feed) -> NSMenuItem {
|
func selectFeedInSidebarMenuItem(_ feed: Feed) -> NSMenuItem {
|
||||||
let localizedMenuText = NSLocalizedString("Select \"%@\" in Sidebar", comment: "Command")
|
let localizedMenuText = NSLocalizedString("Select “%@” in Sidebar", comment: "Command")
|
||||||
let formattedMenuText = NSString.localizedStringWithFormat(localizedMenuText as NSString, feed.nameForDisplay)
|
let formattedMenuText = NSString.localizedStringWithFormat(localizedMenuText as NSString, feed.nameForDisplay)
|
||||||
return menuItem(formattedMenuText as String, #selector(selectFeedInSidebarFromContextualMenu(_:)), feed)
|
return menuItem(formattedMenuText as String, #selector(selectFeedInSidebarFromContextualMenu(_:)), feed)
|
||||||
}
|
}
|
||||||
@ -260,7 +260,7 @@ private extension TimelineViewController {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
let localizedMenuText = NSLocalizedString("Mark All as Read in \"%@\"", comment: "Command")
|
let localizedMenuText = NSLocalizedString("Mark All as Read in “%@”", comment: "Command")
|
||||||
let menuText = NSString.localizedStringWithFormat(localizedMenuText as NSString, feed.nameForDisplay) as String
|
let menuText = NSString.localizedStringWithFormat(localizedMenuText as NSString, feed.nameForDisplay) as String
|
||||||
|
|
||||||
return menuItem(menuText, #selector(markAllInFeedAsRead(_:)), articles)
|
return menuItem(menuText, #selector(markAllInFeedAsRead(_:)), articles)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user