mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Unifies account error localizations
This commit is contained in:
@@ -136,8 +136,8 @@ private extension AddFeedController {
|
||||
func showAlreadySubscribedError(_ urlString: String) {
|
||||
let alert = NSAlert()
|
||||
alert.alertStyle = .informational
|
||||
alert.messageText = NSLocalizedString("alert.title.already-subscribed", comment: "Already subscribed")
|
||||
alert.informativeText = NSLocalizedString("alert.message.already-subscribed", comment: "Can’t add this feed because you’ve already subscribed to it.")
|
||||
alert.messageText = AccountError.createErrorAlreadySubscribed.errorTitle
|
||||
alert.informativeText = AccountError.createErrorAlreadySubscribed.localizedDescription
|
||||
alert.beginSheetModal(for: hostWindow)
|
||||
}
|
||||
|
||||
@@ -155,8 +155,8 @@ private extension AddFeedController {
|
||||
func showNoFeedsErrorMessage() {
|
||||
let alert = NSAlert()
|
||||
alert.alertStyle = .informational
|
||||
alert.messageText = NSLocalizedString("alert.title.feed-not-found", comment: "Feed not found")
|
||||
alert.informativeText = NSLocalizedString("alert.message.feed-not-found", comment: "Can’t add a feed because no feed was found.")
|
||||
alert.messageText = AccountError.createErrorNotFound.errorTitle
|
||||
alert.informativeText = AccountError.createErrorNotFound.localizedDescription
|
||||
alert.beginSheetModal(for: hostWindow)
|
||||
}
|
||||
|
||||
|
||||
@@ -64,9 +64,6 @@
|
||||
/* You won't see this message again */
|
||||
"alert.informative.will-not-see-again" = "You won't see this message again";
|
||||
|
||||
/* Can’t add this feed because you’ve already subscribed to it. */
|
||||
"alert.message.already-subscribed" = "Can’t add this feed because you’ve already subscribed to it.";
|
||||
|
||||
/* Some articles don’t have links, so they weren't copied. */
|
||||
"alert.message.articles-without-links" = "Some articles don’t have links, so they weren't copied.";
|
||||
|
||||
@@ -101,8 +98,6 @@
|
||||
/* To enable notifications, open Notifications in System Settings, then find NetNewsWire in the list. */
|
||||
"alert.message.enable-notifications-in-system-settings" = "To enable notifications, open Notifications in System Settings, then find NetNewsWire in the list.";
|
||||
|
||||
/* Can’t add a feed because no feed was found. */
|
||||
"alert.message.feed-not-found" = "Can’t add a feed because no feed was found.";
|
||||
|
||||
/* A web browser will open the Feedly login for you to authorize access. */
|
||||
"alert.message.feedly-web-browser-information" = "A web browser will open the Feedly login for you to authorise access.";
|
||||
@@ -113,9 +108,6 @@
|
||||
/* 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, we’ve had to use the Twitter API. Without free access to that API, we can’t read feeds from Twitter.\n\nWe’ve left your Twitter feeds intact. If you have any starred items from those feeds, they will remain as long as you don’t 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";
|
||||
|
||||
/* Author's website: */
|
||||
"alert.title.authors-website" = "Author's website:";
|
||||
|
||||
@@ -143,9 +135,6 @@
|
||||
/* Error */
|
||||
"alert.title.error" = "Error";
|
||||
|
||||
/* Feed not found */
|
||||
"alert.title.feed-not-found" = "Feed not found";
|
||||
|
||||
/* Install theme “%@” by %@? — the order of the variables is theme name, author name */
|
||||
"alert.title.install-theme.%@.%@" = "Install theme “%@” by %@?";
|
||||
|
||||
|
||||
@@ -61,9 +61,6 @@
|
||||
/* You won't see this message again */
|
||||
"alert.informative.will-not-see-again" = "You won't see this message again";
|
||||
|
||||
/* Can’t add this feed because you’ve already subscribed to it. */
|
||||
"alert.message.already-subscribed" = "Can’t add this feed because you’ve already subscribed to it.";
|
||||
|
||||
/* Some articles don’t have links, so they weren't copied. */
|
||||
"alert.message.articles-without-links" = "Some articles don’t have links, so they weren't copied.";
|
||||
|
||||
@@ -98,9 +95,6 @@
|
||||
/* To enable notifications, open Notifications in System Settings, then find NetNewsWire in the list. */
|
||||
"alert.message.enable-notifications-in-system-settings" = "To enable notifications, open Notifications in System Settings, then find NetNewsWire in the list.";
|
||||
|
||||
/* Can’t add a feed because no feed was found. */
|
||||
"alert.message.feed-not-found" = "Can’t add a feed because no feed was found.";
|
||||
|
||||
/* A web browser will open the Feedly login for you to authorize access. */
|
||||
"alert.message.feedly-web-browser-information" = "A web browser will open the Feedly login for you to authorize access.";
|
||||
|
||||
@@ -110,9 +104,6 @@
|
||||
/* 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, we’ve had to use the Twitter API. Without free access to that API, we can’t read feeds from Twitter.\n\nWe’ve left your Twitter feeds intact. If you have any starred items from those feeds, they will remain as long as you don’t 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";
|
||||
|
||||
/* Author's website: */
|
||||
"alert.title.authors-website" = "Author's website:";
|
||||
|
||||
@@ -140,9 +131,6 @@
|
||||
/* Error */
|
||||
"alert.title.error" = "Error";
|
||||
|
||||
/* Feed not found */
|
||||
"alert.title.feed-not-found" = "Feed not found";
|
||||
|
||||
/* Install theme “%@” by %@? — the order of the variables is theme name, author name */
|
||||
"alert.title.install-theme.%@.%@" = "Install theme “%@” by %@?";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user