mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Fix localization
This commit is contained in:
parent
15e172aa2e
commit
ae2a6bef84
@ -12841,6 +12841,11 @@ Sorry for the inconvenience.";
|
||||
"Notification.GiveawayStartedStars" = "%1$@ just started a giveaway of %2$@ Telegram Stars for its followers.";
|
||||
"Notification.GiveawayStartedStarsGroup" = "%1$@ just started a giveaway of %2$@ Telegram Stars for its members.";
|
||||
|
||||
"Notification.StarsGiveawayStarted" = "%1$@ just started a giveaway of %2$@ for its followers.";
|
||||
"Notification.StarsGiveawayStartedGroup" = "%1$@ just started a giveaway of %2$@ for its members.";
|
||||
"Notification.StarsGiveawayStarted.Stars_1" = "%@ Telegram Star";
|
||||
"Notification.StarsGiveawayStarted.Stars_any" = "%@ Telegram Stars";
|
||||
|
||||
"Chat.Giveaway.Message.Stars.PrizeText" = "%1$@ will be distributed %2$@.";
|
||||
"Chat.Giveaway.Message.Stars.Stars_1" = "**%@** Stars";
|
||||
"Chat.Giveaway.Message.Stars.Stars_any" = "**%@** Stars";
|
||||
|
@ -973,7 +973,8 @@ public func universalServiceMessageString(presentationData: (PresentationTheme,
|
||||
}
|
||||
let resultTitleString: PresentationStrings.FormattedString
|
||||
if let stars {
|
||||
resultTitleString = isGroup ? strings.Notification_GiveawayStartedStarsGroup(compactAuthorName, "\(stars)") : strings.Notification_GiveawayStartedStars(compactAuthorName, "\(stars)")
|
||||
let starsString = strings.Notification_StarsGiveawayStarted_Stars(Int32(stars))
|
||||
resultTitleString = isGroup ? strings.Notification_StarsGiveawayStartedGroup(compactAuthorName, starsString) : strings.Notification_StarsGiveawayStarted(compactAuthorName, starsString)
|
||||
} else {
|
||||
resultTitleString = isGroup ? strings.Notification_GiveawayStartedGroup(compactAuthorName) : strings.Notification_GiveawayStarted(compactAuthorName)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user