mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Localization work
This commit is contained in:
@@ -11,7 +11,7 @@ import Articles
|
||||
|
||||
struct MasterTimelineCellData {
|
||||
|
||||
private static let noText = NSLocalizedString("(No Text)", comment: "No Text")
|
||||
private static let noText = NSLocalizedString("label.text.no-text", comment: "(No Text)")
|
||||
|
||||
let title: String
|
||||
let attributedTitle: NSAttributedString
|
||||
|
||||
@@ -263,6 +263,7 @@ private extension MasterTimelineTableViewCell {
|
||||
}
|
||||
|
||||
func updateAccessiblityLabel() {
|
||||
#warning("This needs to be localized.")
|
||||
let starredStatus = cellData.starred ? "\(NSLocalizedString("Starred", comment: "Starred article for accessibility")), " : ""
|
||||
let unreadStatus = cellData.read ? "" : "\(NSLocalizedString("Unread", comment: "Unread")), "
|
||||
let label = starredStatus + unreadStatus + "\(cellData.feedName), \(cellData.title), \(cellData.summary), \(cellData.dateString)"
|
||||
|
||||
Reference in New Issue
Block a user