Localization files updated

This commit is contained in:
Stuart Breckenridge
2023-02-10 09:51:12 +08:00
parent 6efed337db
commit 6462264fde
8 changed files with 45 additions and 9 deletions

View File

@@ -975,9 +975,9 @@ internal extension AppDelegate {
DispatchQueue.main.async {
let alert = NSAlert()
alert.alertStyle = .warning
alert.messageText = NSLocalizedString("Twitter Integration Removed", comment: "Twitter Integration Removed")
alert.informativeText = NSLocalizedString("On February 1, 2023, Twitter announced the end of free access to the Twitter API, effective February 9.\n\nSince Twitter does not provide RSS feeds, weve had to use the Twitter API. Without free access to that API, we cant read feeds from Twitter.\n\nWeve left your Twitter feeds intact. If you have any starred items from those feeds, they will remain as long as you dont delete those feeds.\n\nYou can still read whatever you have already downloaded. However, those feeds will no longer update.", comment: "Twitter deprecation informative text.")
alert.addButton(withTitle: NSLocalizedString("OK", comment: "OK"))
alert.messageText = NSLocalizedString("alert.title.twitter-integration-removed", comment: "Twitter Integration Removed")
alert.informativeText = NSLocalizedString("alert.message.twitter-integration-removed", comment: "Twitter deprecation informative text.")
alert.addButton(withTitle: NSLocalizedString("button.title.ok", comment: "OK"))
alert.buttons[0].keyEquivalent = "\r"
alert.runModal()
}

View File

@@ -110,6 +110,9 @@
/* The theme “%@” has been installed. */
"alert.message.theme-installed.%@" = "The theme “%@” has been installed.";
/* Twitter Deprecation Message */
"alert.message.twitter-deprecation-message" = "On February 1, 2023, Twitter announced the end of free access to the Twitter API, effective February 9.\n\nSince Twitter does not provide RSS feeds, weve had to use the Twitter API. Without free access to that API, we cant read feeds from Twitter.\n\nWeve left your Twitter feeds intact. If you have any starred items from those feeds, they will remain as long as you dont delete those feeds.\n\nYou can still read whatever you have already downloaded. However, those feeds will no longer update.";
/* Already subscribed */
"alert.title.already-subscribed" = "Already subscribed";
@@ -158,6 +161,9 @@
/* Theme installed */
"alert.title.theme-installed" = "Theme installed";
/* Twitter Integration Removed */
"alert.title.twitter-integration-removed" = "Twitter Integration Removed";
/* Alert title when adding a Feedly account and waiting for authorization from the user. */
"alert.title.waiting-for-feedly-access" = "Waiting for Feedly access...";

View File

@@ -107,6 +107,9 @@
/* The theme “%@” has been installed. */
"alert.message.theme-installed.%@" = "The theme “%@” has been installed.";
/* Twitter Deprecation Message */
"alert.message.twitter-deprecation-message" = "On February 1, 2023, Twitter announced the end of free access to the Twitter API, effective February 9.\n\nSince Twitter does not provide RSS feeds, weve had to use the Twitter API. Without free access to that API, we cant read feeds from Twitter.\n\nWeve left your Twitter feeds intact. If you have any starred items from those feeds, they will remain as long as you dont delete those feeds.\n\nYou can still read whatever you have already downloaded. However, those feeds will no longer update.";
/* Already subscribed */
"alert.title.already-subscribed" = "Already subscribed";
@@ -155,6 +158,9 @@
/* Theme installed */
"alert.title.theme-installed" = "Theme installed";
/* Twitter Integration Removed */
"alert.title.twitter-integration-removed" = "Twitter Integration Removed";
/* Alert title when adding a Feedly account and waiting for authorization from the user. */
"alert.title.waiting-for-feedly-access" = "Waiting for Feedly access...";

View File

@@ -688,8 +688,8 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner, Ma
}
private func showTwitterDeprecationAlert() {
let alert = UIAlertController(title: NSLocalizedString("Twitter Integration Removed", comment: "Twitter Integration Removed"),
message: NSLocalizedString("On February 1, 2023, Twitter announced the end of free access to the Twitter API, effective February 9.\n\nSince Twitter does not provide RSS feeds, weve had to use the Twitter API. Without free access to that API, we cant read feeds from Twitter.\n\nWeve left your Twitter feeds intact. If you have any starred items from those feeds, they will remain as long as you dont delete those feeds.\n\nYou can still read whatever you have already downloaded. However, those feeds will no longer update.", comment: "Twitter deprecation message"),
let alert = UIAlertController(title: NSLocalizedString("alert.title.twitter-integration-removed", comment: "Twitter Integration Removed"),
message: NSLocalizedString("alert.message.twitter-integration-removed", comment: "Twitter deprecation message"),
preferredStyle: .alert)
alert.addAction(UIAlertAction(title: "OK", style: .cancel))
@@ -768,12 +768,12 @@ private extension MasterFeedViewController {
func setFilterButtonToActive() {
filterButton?.image = AppAssets.filterActiveImage
filterButton?.accLabelText = NSLocalizedString("Selected - Filter Read Feeds", comment: "Selected - Filter Read Feeds")
filterButton?.accLabelText = NSLocalizedString("button.accessibility.title.selected-filter-read-feeds", comment: "Selected - Filter Read Feeds")
}
func setFilterButtonToInactive() {
filterButton?.image = AppAssets.filterInactiveImage
filterButton?.accLabelText = NSLocalizedString("Filter Read Feeds", comment: "Filter Read Feeds")
filterButton?.accLabelText = NSLocalizedString("button.accessibility.title.filter-read-feeds", comment: "Filter Read Feeds")
}
func resetEstimatedRowHeight() {

View File

@@ -129,6 +129,9 @@
/* Error message when a value is missing. In English, the message is: This theme cannot be used because the the value—“%@”—is not found in the Info.plist. */
"alert.message.theme-value-missing.%@" = "This theme cannot be used because the the value—“%@”—is not found in the Info.plist.";
/* Twitter Deprecation Message */
"alert.message.twitter-deprecation-message" = "On February 1, 2023, Twitter announced the end of free access to the Twitter API, effective February 9.\n\nSince Twitter does not provide RSS feeds, weve had to use the Twitter API. Without free access to that API, we cant read feeds from Twitter.\n\nWeve left your Twitter feeds intact. If you have any starred items from those feeds, they will remain as long as you dont delete those feeds.\n\nYou can still read whatever you have already downloaded. However, those feeds will no longer update.";
/* Are you sure you want to deactivate “%@“? */
"alert.title.deactivate-extension.%@" = "Are you sure you want to deactivate “%@“?";
@@ -181,6 +184,9 @@
/* Theme installed */
"alert.title.theme-installed" = "Theme Installed";
/* Twitter Integration Removed */
"alert.title.twitter-integration-removed" = "Twitter Integration Removed";
/* Automatic */
"appdefaults.colorpalette.automatic" = "Automatic";
@@ -190,6 +196,12 @@
/* Light */
"appdefaults.colorpalette.light" = "Light";
/* Filter Read Feeds */
"button.accessibility.title.filter-read-feeds" = "Filter Read Feeds";
/* Selected - Filter Read Feeds */
"button.accessibility.title.selected-filter-read-feeds" = "Selected - Filter Read Feeds";
/* Error - Reader View */
"button.accessibility.title.error-readerview" = "Error - Reader View";

View File

@@ -123,6 +123,9 @@
/* Error message when a value is missing. In English, the message is: This theme cannot be used because the the value—“%@”—is not found in the Info.plist. */
"alert.message.theme-value-missing.%@" = "This theme cannot be used because the the value—“%@”—is not found in the Info.plist.";
/* Twitter Deprecation Message */
"alert.message.twitter-deprecation-message" = "On February 1, 2023, Twitter announced the end of free access to the Twitter API, effective February 9.\n\nSince Twitter does not provide RSS feeds, weve had to use the Twitter API. Without free access to that API, we cant read feeds from Twitter.\n\nWeve left your Twitter feeds intact. If you have any starred items from those feeds, they will remain as long as you dont delete those feeds.\n\nYou can still read whatever you have already downloaded. However, those feeds will no longer update.";
/* Are you sure you want to deactivate “%@“? */
"alert.title.deactivate-extension.%@" = "Are you sure you want to deactivate “%@“?";
@@ -175,6 +178,9 @@
/* Theme installed */
"alert.title.theme-installed" = "Theme Installed";
/* Twitter Integration Removed */
"alert.title.twitter-integration-removed" = "Twitter Integration Removed";
/* Automatic */
"appdefaults.colorpalette.automatic" = "Automatic";
@@ -184,6 +190,12 @@
/* Light */
"appdefaults.colorpalette.light" = "Light";
/* Filter Read Feeds */
"button.accessibility.title.filter-read-feeds" = "Filter Read Feeds";
/* Selected - Filter Read Feeds */
"button.accessibility.title.selected-filter-read-feeds" = "Selected - Filter Read Feeds";
/* Error - Reader View */
"button.accessibility.title.error-readerview" = "Error - Reader View";

View File

@@ -45,7 +45,7 @@ struct ExtensionsManagementView: View {
Button(role: .cancel) {
extensionToDeactivate = nil
} label: {
Text("Cancel", comment: "Button title")
Text("button.title.cancel", comment: "Button title")
}
} message: {

View File

@@ -21,7 +21,7 @@ struct InjectedNavigationView: View {
Button(role: .cancel) {
dismiss()
} label: {
Text("Done", comment: "Button title")
Text("button.title.done", comment: "Button title")
}
}
}