mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Adds localization technote
And a missing translation
This commit is contained in:
@@ -263,9 +263,8 @@ 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 starredStatus = cellData.starred ? "\(NSLocalizedString("label.text.starred", comment: "Starred")), " : ""
|
||||
let unreadStatus = cellData.read ? "" : "\(NSLocalizedString("label.text.unread", comment: "Unread")), "
|
||||
let label = starredStatus + unreadStatus + "\(cellData.feedName), \(cellData.title), \(cellData.summary), \(cellData.dateString)"
|
||||
accessibilityLabel = label
|
||||
}
|
||||
|
||||
@@ -745,6 +745,9 @@
|
||||
/* Small */
|
||||
"label.text.small" = "Small";
|
||||
|
||||
/* Starred */
|
||||
"label.text.starred" = "Starred";
|
||||
|
||||
/* Thanks */
|
||||
"label.text.thanks" = "Thanks";
|
||||
|
||||
@@ -760,6 +763,9 @@
|
||||
/* Timeline */
|
||||
"label.text.timeline" = "Timeline";
|
||||
|
||||
/* Unread */
|
||||
"label.text.unread" = "Unread";
|
||||
|
||||
/* Relative time that the account was last refreshed. The variable is a named relative time. Example: Updated 8 minutes ago */
|
||||
"label.text.updatedat.%@" = "Updated %@";
|
||||
|
||||
@@ -857,9 +863,6 @@
|
||||
/* Smart Feeds group title */
|
||||
"smartfeeds.title" = "Smart Feeds";
|
||||
|
||||
/* Starred article for accessibility */
|
||||
"Starred" = "Starred";
|
||||
|
||||
/* Email Address */
|
||||
"textfield.placeholder.email-address" = "Email Address";
|
||||
|
||||
@@ -911,6 +914,3 @@
|
||||
/* Unread label for accessiblity */
|
||||
"unread" = "unread";
|
||||
|
||||
/* Unread */
|
||||
"Unread" = "Unread";
|
||||
|
||||
|
||||
@@ -730,6 +730,9 @@
|
||||
/* Small */
|
||||
"label.text.small" = "Small";
|
||||
|
||||
/* Starred */
|
||||
"label.text.starred" = "Starred";
|
||||
|
||||
/* Thanks */
|
||||
"label.text.thanks" = "Thanks";
|
||||
|
||||
@@ -745,6 +748,9 @@
|
||||
/* Timeline */
|
||||
"label.text.timeline" = "Timeline";
|
||||
|
||||
/* Unread */
|
||||
"label.text.unread" = "Unread";
|
||||
|
||||
/* Relative time that the account was last refreshed. The variable is a named relative time. Example: Updated 8 minutes ago */
|
||||
"label.text.updatedat.%@" = "Updated %@";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user