From a23fc3cab8d7e85d847057151010f5aeee088766 Mon Sep 17 00:00:00 2001 From: CMK Date: Tue, 22 Jun 2021 17:47:21 +0800 Subject: [PATCH] fix: "clear" button wrong i18n string issue in searching scene --- Localization/app.json | 2 +- .../mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist | 4 ++-- Mastodon/Generated/Strings.swift | 2 +- Mastodon/Resources/ar.lproj/Localizable.strings | 2 +- Mastodon/Resources/en.lproj/Localizable.strings | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Localization/app.json b/Localization/app.json index f370022ab..7fd8a2df3 100644 --- a/Localization/app.json +++ b/Localization/app.json @@ -465,7 +465,7 @@ "hashtags": "Hashtags" }, "recent_search": "Recent searches", - "clear": "clear" + "clear": "Clear" } }, "hashtag": { diff --git a/Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist b/Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist index 5a9abdf28..6be08c840 100644 --- a/Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist @@ -12,7 +12,7 @@ CoreDataStack.xcscheme_^#shared#^_ orderHint - 39 + 34 Mastodon - ASDK.xcscheme_^#shared#^_ @@ -37,7 +37,7 @@ NotificationService.xcscheme_^#shared#^_ orderHint - 40 + 31 SuppressBuildableAutocreation diff --git a/Mastodon/Generated/Strings.swift b/Mastodon/Generated/Strings.swift index 07cab3974..f688b9eda 100644 --- a/Mastodon/Generated/Strings.swift +++ b/Mastodon/Generated/Strings.swift @@ -843,7 +843,7 @@ internal enum L10n { internal static let placeholder = L10n.tr("Localizable", "Scene.Search.Searchbar.Placeholder") } internal enum Searching { - /// clear + /// Clear internal static let clear = L10n.tr("Localizable", "Scene.Search.Searching.Clear") /// Recent searches internal static let recentSearch = L10n.tr("Localizable", "Scene.Search.Searching.RecentSearch") diff --git a/Mastodon/Resources/ar.lproj/Localizable.strings b/Mastodon/Resources/ar.lproj/Localizable.strings index e6bb7b217..4fbf4d872 100644 --- a/Mastodon/Resources/ar.lproj/Localizable.strings +++ b/Mastodon/Resources/ar.lproj/Localizable.strings @@ -277,7 +277,7 @@ tap the link to confirm your account."; "Scene.Search.Recommend.HashTag.Title" = "Trending in your timeline"; "Scene.Search.Searchbar.Cancel" = "Cancel"; "Scene.Search.Searchbar.Placeholder" = "Search hashtags and users"; -"Scene.Search.Searching.Clear" = "clear"; +"Scene.Search.Searching.Clear" = "Clear"; "Scene.Search.Searching.RecentSearch" = "Recent searches"; "Scene.Search.Searching.Segment.All" = "All"; "Scene.Search.Searching.Segment.Hashtags" = "Hashtags"; diff --git a/Mastodon/Resources/en.lproj/Localizable.strings b/Mastodon/Resources/en.lproj/Localizable.strings index e6bb7b217..4fbf4d872 100644 --- a/Mastodon/Resources/en.lproj/Localizable.strings +++ b/Mastodon/Resources/en.lproj/Localizable.strings @@ -277,7 +277,7 @@ tap the link to confirm your account."; "Scene.Search.Recommend.HashTag.Title" = "Trending in your timeline"; "Scene.Search.Searchbar.Cancel" = "Cancel"; "Scene.Search.Searchbar.Placeholder" = "Search hashtags and users"; -"Scene.Search.Searching.Clear" = "clear"; +"Scene.Search.Searching.Clear" = "Clear"; "Scene.Search.Searching.RecentSearch" = "Recent searches"; "Scene.Search.Searching.Segment.All" = "All"; "Scene.Search.Searching.Segment.Hashtags" = "Hashtags";