Fix localised comments
This commit is contained in:
parent
1a3bbf7dbf
commit
64a4d9bbe5
@ -34,7 +34,7 @@ class MasterFeedTableViewSectionHeader: UITableViewHeaderFooterView {
|
|||||||
if disclosureExpanded {
|
if disclosureExpanded {
|
||||||
return NSLocalizedString("Expanded", comment: "Disclosure button expanded state for accessibility")
|
return NSLocalizedString("Expanded", comment: "Disclosure button expanded state for accessibility")
|
||||||
}
|
}
|
||||||
return NSLocalizedString("Collapsed", comment: "Disclosure button expanded state for accessibility")
|
return NSLocalizedString("Collapsed", comment: "Disclosure button collapsed state for accessibility")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ private extension MasterTimelineTableViewCell {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func updateAccessiblityLabel() {
|
func updateAccessiblityLabel() {
|
||||||
let starredStatus = cellData.starred ? "\(NSLocalizedString("Starred", comment: "Favourites article for accessibility")), " : ""
|
let starredStatus = cellData.starred ? "\(NSLocalizedString("Starred", comment: "Starred article for accessibility")), " : ""
|
||||||
let unreadStatus = cellData.read ? "" : "\(NSLocalizedString("Unread", comment: "Unread")), "
|
let unreadStatus = cellData.read ? "" : "\(NSLocalizedString("Unread", comment: "Unread")), "
|
||||||
let label = starredStatus + unreadStatus + "\(cellData.feedName), \(cellData.title), \(cellData.summary), \(cellData.dateString)"
|
let label = starredStatus + unreadStatus + "\(cellData.feedName), \(cellData.title), \(cellData.summary), \(cellData.dateString)"
|
||||||
accessibilityLabel = label
|
accessibilityLabel = label
|
||||||
|
Loading…
x
Reference in New Issue
Block a user