From 36fdef15df4895f68e3816d6f0d8449c0eb89f16 Mon Sep 17 00:00:00 2001 From: CMK Date: Thu, 24 Jun 2021 16:49:34 +0800 Subject: [PATCH] fix: wrong i18n string symbol issue --- Localization/app.json | 2 +- Mastodon/Generated/Strings.swift | 2 +- Mastodon/Resources/ar.lproj/Localizable.strings | 2 +- Mastodon/Resources/en.lproj/Localizable.strings | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Localization/app.json b/Localization/app.json index 67694109f..269bea1ea 100644 --- a/Localization/app.json +++ b/Localization/app.json @@ -184,7 +184,7 @@ "header": { "no_status_found": "No Status Found", "blocking_warning": "You can’t view this profile\n until you unblock them.\nYour account looks like this to them.", - "user_blocking_warning": "You can’t view %s's profile\n until you unblock them.\nYour account looks like this to them.", + "user_blocking_warning": "You can’t view %s’s profile\n until you unblock them.\nYour account looks like this to them.", "blocked_warning": "You can’t view this’s profile\n until they unblock you.", "user_blocked_warning": "You can’t view %s’s profile\n until they unblock you.", "suspended_warning": "This account has been suspended.", diff --git a/Mastodon/Generated/Strings.swift b/Mastodon/Generated/Strings.swift index b02535cca..93ad37af0 100644 --- a/Mastodon/Generated/Strings.swift +++ b/Mastodon/Generated/Strings.swift @@ -367,7 +367,7 @@ internal enum L10n { internal static func userBlockedWarning(_ p1: Any) -> String { return L10n.tr("Localizable", "Common.Controls.Timeline.Header.UserBlockedWarning", String(describing: p1)) } - /// You can’t view %@'s profile\n until you unblock them.\nYour account looks like this to them. + /// You can’t view %@’s profile\n until you unblock them.\nYour account looks like this to them. internal static func userBlockingWarning(_ p1: Any) -> String { return L10n.tr("Localizable", "Common.Controls.Timeline.Header.UserBlockingWarning", String(describing: p1)) } diff --git a/Mastodon/Resources/ar.lproj/Localizable.strings b/Mastodon/Resources/ar.lproj/Localizable.strings index d8876a0e5..bc7a3723f 100644 --- a/Mastodon/Resources/ar.lproj/Localizable.strings +++ b/Mastodon/Resources/ar.lproj/Localizable.strings @@ -129,7 +129,7 @@ Your account looks like this to them."; "Common.Controls.Timeline.Header.SuspendedWarning" = "This account has been suspended."; "Common.Controls.Timeline.Header.UserBlockedWarning" = "You can’t view %@’s profile until they unblock you."; -"Common.Controls.Timeline.Header.UserBlockingWarning" = "You can’t view %@'s profile +"Common.Controls.Timeline.Header.UserBlockingWarning" = "You can’t view %@’s profile until you unblock them. Your account looks like this to them."; "Common.Controls.Timeline.Header.UserSuspendedWarning" = "%@’s account has been suspended."; diff --git a/Mastodon/Resources/en.lproj/Localizable.strings b/Mastodon/Resources/en.lproj/Localizable.strings index d8876a0e5..bc7a3723f 100644 --- a/Mastodon/Resources/en.lproj/Localizable.strings +++ b/Mastodon/Resources/en.lproj/Localizable.strings @@ -129,7 +129,7 @@ Your account looks like this to them."; "Common.Controls.Timeline.Header.SuspendedWarning" = "This account has been suspended."; "Common.Controls.Timeline.Header.UserBlockedWarning" = "You can’t view %@’s profile until they unblock you."; -"Common.Controls.Timeline.Header.UserBlockingWarning" = "You can’t view %@'s profile +"Common.Controls.Timeline.Header.UserBlockingWarning" = "You can’t view %@’s profile until you unblock them. Your account looks like this to them."; "Common.Controls.Timeline.Header.UserSuspendedWarning" = "%@’s account has been suspended.";