Fix localised comments

This commit is contained in:
Rizwan Mohamed Ibrahim 2020-07-14 22:04:20 +05:30
parent 1a3bbf7dbf
commit 64a4d9bbe5
No known key found for this signature in database
GPG Key ID: D5BEE468D448BCC5
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ class MasterFeedTableViewSectionHeader: UITableViewHeaderFooterView {
if disclosureExpanded {
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")
}
}

View File

@ -237,7 +237,7 @@ private extension MasterTimelineTableViewCell {
}
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 label = starredStatus + unreadStatus + "\(cellData.feedName), \(cellData.title), \(cellData.summary), \(cellData.dateString)"
accessibilityLabel = label