Update localization

This commit is contained in:
Ali 2022-09-22 01:31:47 +02:00
parent 09dd6149a1
commit 75e02e4f28
4 changed files with 9 additions and 6 deletions

View File

@ -8097,3 +8097,8 @@ Sorry for the inconvenience.";
"Username.LinksOrderInfo" = "Drag and drop links to change the order in which they will be displayed on your info page.";
"Profile.AdditionalUsernames" = "also %@";
"EmojiSearch.SearchReactionsPlaceholder" = "Search Reactions";
"EmojiSearch.SearchReactionsEmptyResult" = "No emoji found";
"EmojiSearch.SearchStatusesPlaceholder" = "Search Statuses";
"EmojiSearch.SearchStatusesEmptyResult" = "No emoji found";

View File

@ -453,9 +453,8 @@ public final class ReactionContextNode: ASDisplayNode, UIScrollViewDelegate {
if strongSelf.stableEmptyResultEmoji == nil {
strongSelf.stableEmptyResultEmoji = strongSelf.emptyResultEmojis.randomElement()
}
//TODO:localize
emptySearchResults = EmojiPagerContentComponent.EmptySearchResults(
text: "No emoji found",
text: strongSelf.presentationData.strings.EmojiSearch_SearchReactionsEmptyResult,
iconFile: strongSelf.stableEmptyResultEmoji
)
} else {

View File

@ -358,9 +358,8 @@ public final class EmojiStatusSelectionController: ViewController {
if strongSelf.stableEmptyResultEmoji == nil {
strongSelf.stableEmptyResultEmoji = strongSelf.emptyResultEmojis.randomElement()
}
//TODO:localize
emptySearchResults = EmojiPagerContentComponent.EmptySearchResults(
text: "No emoji found",
text: strongSelf.presentationData.strings.EmojiSearch_SearchStatusesEmptyResult,
iconFile: strongSelf.stableEmptyResultEmoji
)
} else {

View File

@ -6790,9 +6790,9 @@ public final class EmojiPagerContentComponent: Component {
var displaySearchWithPlaceholder: String?
if isReactionSelection {
displaySearchWithPlaceholder = "Search Reactions"
displaySearchWithPlaceholder = strings.EmojiSearch_SearchReactionsPlaceholder
} else if isStatusSelection {
displaySearchWithPlaceholder = "Search Statuses"
displaySearchWithPlaceholder = strings.EmojiSearch_SearchStatusesPlaceholder
}
return EmojiPagerContentComponent(