Fix localization

This commit is contained in:
Ali 2023-07-17 13:42:48 +04:00
parent d4eff9bc73
commit eba0b3ba9e
2 changed files with 4 additions and 1 deletions

View File

@ -9590,3 +9590,6 @@ Sorry for the inconvenience.";
"Story.TooltipMessageScheduled" = "Message Scheduled";
"Story.TooltipMessageSent" = "Message Sent";
"Profile.AvatarStoryCount_1" = "1 Story";
"Profile.AvatarStoryCount_any" = "%d Stories";

View File

@ -388,7 +388,7 @@ public final class StorySetIndicatorComponent: Component {
if component.totalCount == 0 {
textValue = ""
} else {
textValue = component.strings.Story_Footer_Views(Int32(component.totalCount))
textValue = component.strings.Profile_AvatarStoryCount(Int32(component.totalCount))
}
let textSize = self.text.update(
transition: .immediate,