1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2025-02-03 18:57:46 +01:00

Add missing localization (IOS-264)

This commit is contained in:
Nathan Mattes 2024-05-09 22:45:01 +02:00
parent 9507368fd1
commit 1c1f67c4f9
5 changed files with 8 additions and 3 deletions

View File

@ -737,7 +737,8 @@
"delete_statuses": "Some of your posts have been removed.",
"sensitive": "Your posts will be marked as sensitive from now on.",
"silence": "Your account has been limited.",
"suspend": "Your account has been suspended."
"suspend": "Your account has been suspended.",
"learn_more": "Learn More"
}
},
"thread": {

View File

@ -737,7 +737,8 @@
"delete_statuses": "Some of your posts have been removed.",
"sensitive": "Your posts will be marked as sensitive from now on.",
"silence": "Your account has been limited.",
"suspend": "Your account has been suspended."
"suspend": "Your account has been suspended.",
"learn_more": "Learn More"
}
},
"thread": {

View File

@ -26,7 +26,7 @@ class AccountWarningNotificationCell: UITableViewCell {
warningLabel.numberOfLines = 0
learnMoreLabel = UILabel()
learnMoreLabel.text = "Learn more"
learnMoreLabel.text = L10n.Scene.Notification.Warning.learnMore
learnMoreLabel.textColor = Asset.Colors.Brand.blurple.color
learnMoreLabel.font = UIFontMetrics(forTextStyle: .body).scaledFont(for: .systemFont(ofSize: 17))
learnMoreLabel.numberOfLines = 0

View File

@ -914,6 +914,8 @@ public enum L10n {
public static let deleteStatuses = L10n.tr("Localizable", "Scene.Notification.Warning.DeleteStatuses", fallback: "Some of your posts have been removed.")
/// Your account has been disabled.
public static let disable = L10n.tr("Localizable", "Scene.Notification.Warning.Disable", fallback: "Your account has been disabled.")
/// Learn More
public static let learnMore = L10n.tr("Localizable", "Scene.Notification.Warning.LearnMore", fallback: "Learn More")
/// Some of your posts have been marked as sensitive.
public static let markStatusesAsSensitive = L10n.tr("Localizable", "Scene.Notification.Warning.MarkStatusesAsSensitive", fallback: "Some of your posts have been marked as sensitive.")
/// Your account has received a moderation warning.

View File

@ -325,6 +325,7 @@ uploaded to Mastodon.";
"Scene.Notification.Title.Mentions" = "Mentions";
"Scene.Notification.Warning.DeleteStatuses" = "Some of your posts have been removed.";
"Scene.Notification.Warning.Disable" = "Your account has been disabled.";
"Scene.Notification.Warning.LearnMore" = "Learn More";
"Scene.Notification.Warning.MarkStatusesAsSensitive" = "Some of your posts have been marked as sensitive.";
"Scene.Notification.Warning.None" = "Your account has received a moderation warning.";
"Scene.Notification.Warning.Sensitive" = "Your posts will be marked as sensitive from now on.";