From 5ac8d02b0bf6f950687bcad137cd945691bba4d2 Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Wed, 20 Sep 2023 23:55:21 +0200 Subject: [PATCH] Re-add keys This whole localization workflow is super annyoing and fragile. --- Localization/StringsConvertor/input/Base.lproj/app.json | 4 ++++ Localization/app.json | 4 ++++ .../Resources/Base.lproj/Localizable.strings | 4 +++- .../Resources/en.lproj/Localizable.strings | 4 +++- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Localization/StringsConvertor/input/Base.lproj/app.json b/Localization/StringsConvertor/input/Base.lproj/app.json index 4a7792b8b..a2a6812fc 100644 --- a/Localization/StringsConvertor/input/Base.lproj/app.json +++ b/Localization/StringsConvertor/input/Base.lproj/app.json @@ -655,6 +655,10 @@ "profile": "Go to @%s@%s", "url": "Open URL in Mastodon", "hashtag": "Go to #%s", + "no_user": { + "title": "No User Account Found", + "message": "There's no Useraccount \"%s\" on %s" + } "empty_state": { "no_results": "No results" }, diff --git a/Localization/app.json b/Localization/app.json index 4a7792b8b..a2a6812fc 100644 --- a/Localization/app.json +++ b/Localization/app.json @@ -655,6 +655,10 @@ "profile": "Go to @%s@%s", "url": "Open URL in Mastodon", "hashtag": "Go to #%s", + "no_user": { + "title": "No User Account Found", + "message": "There's no Useraccount \"%s\" on %s" + } "empty_state": { "no_results": "No results" }, diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings index e5cb95e4d..cff9f0672 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings @@ -448,6 +448,8 @@ uploaded to Mastodon."; "Scene.Search.Searching.Profile" = "Go to @%@@%@"; "Scene.Search.Searching.RecentSearch" = "Recent searches"; "Scene.Search.Searching.Url" = "Open URL in Mastodon"; +"Scene.Search.Searching.NoUser.Title" = "No User Account Found"; +"Scene.Search.Searching.NoUser.Message" = "There's no Useraccount \"%@\" on %@"; "Scene.Search.Title" = "Search"; "Scene.ServerPicker.Button.Category.Academia" = "academia"; "Scene.ServerPicker.Button.Category.Activism" = "activism"; @@ -556,4 +558,4 @@ uploaded to Mastodon."; "Widget.MultipleFollowers.ConfigurationDescription" = "Show number of followers for multiple accounts."; "Widget.MultipleFollowers.ConfigurationDisplayName" = "Multiple followers"; "Widget.MultipleFollowers.MockUser.AccountName" = "another@follower.social"; -"Widget.MultipleFollowers.MockUser.DisplayName" = "Another follower"; \ No newline at end of file +"Widget.MultipleFollowers.MockUser.DisplayName" = "Another follower"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/en.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/en.lproj/Localizable.strings index e5cb95e4d..cff9f0672 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/en.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/en.lproj/Localizable.strings @@ -448,6 +448,8 @@ uploaded to Mastodon."; "Scene.Search.Searching.Profile" = "Go to @%@@%@"; "Scene.Search.Searching.RecentSearch" = "Recent searches"; "Scene.Search.Searching.Url" = "Open URL in Mastodon"; +"Scene.Search.Searching.NoUser.Title" = "No User Account Found"; +"Scene.Search.Searching.NoUser.Message" = "There's no Useraccount \"%@\" on %@"; "Scene.Search.Title" = "Search"; "Scene.ServerPicker.Button.Category.Academia" = "academia"; "Scene.ServerPicker.Button.Category.Activism" = "activism"; @@ -556,4 +558,4 @@ uploaded to Mastodon."; "Widget.MultipleFollowers.ConfigurationDescription" = "Show number of followers for multiple accounts."; "Widget.MultipleFollowers.ConfigurationDisplayName" = "Multiple followers"; "Widget.MultipleFollowers.MockUser.AccountName" = "another@follower.social"; -"Widget.MultipleFollowers.MockUser.DisplayName" = "Another follower"; \ No newline at end of file +"Widget.MultipleFollowers.MockUser.DisplayName" = "Another follower";