Localization

This commit is contained in:
Ali
2023-07-16 19:32:01 +04:00
parent aa3ce6132d
commit 295ba9541b
35 changed files with 224 additions and 147 deletions

View File

@@ -141,8 +141,7 @@ final class WebpagePreviewAccessoryPanelNode: AccessoryPanelNode {
} else if content.type == "video" {
text = stringForMediaKind(.video, strings: self.strings).0.string
} else if content.type == "telegram_story" {
//TODO:localize
text = "Story"
text = stringForMediaKind(.story, strings: self.strings).0.string
} else if let _ = content.image {
text = stringForMediaKind(.image, strings: self.strings).0.string
}