Update localization

This commit is contained in:
Ali
2023-10-25 00:29:39 +04:00
parent e8a426c199
commit be6ddfc28f
10 changed files with 105 additions and 95 deletions

View File

@@ -318,8 +318,7 @@ public class ChatMessageReplyInfoNode: ASDisplayNode {
titleString = NSAttributedString(string: rawTitleString, font: titleFont, textColor: titleColor)
}
//TODO:localize
textString = NSAttributedString(string: replyForward.quote?.text ?? "Message")
textString = NSAttributedString(string: replyForward.quote?.text ?? arguments.presentationData.strings.VoiceOver_ChatList_Message)
if let media = replyForward.quote?.media {
if let text = replyForward.quote?.text, !text.isEmpty {
} else {
@@ -327,7 +326,7 @@ public class ChatMessageReplyInfoNode: ASDisplayNode {
let (string, _) = stringForMediaKind(contentKind, strings: arguments.strings)
textString = string
} else {
textString = NSAttributedString(string: "Message")
textString = NSAttributedString(string: arguments.presentationData.strings.VoiceOver_ChatList_Message)
}
}
isMedia = true