diff --git a/Telegram/Telegram-iOS/en.lproj/Localizable.strings b/Telegram/Telegram-iOS/en.lproj/Localizable.strings index 6a615b4b2a..f73882df76 100644 --- a/Telegram/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram/Telegram-iOS/en.lproj/Localizable.strings @@ -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"; diff --git a/submodules/TelegramStringFormatting/Sources/ServiceMessageStrings.swift b/submodules/TelegramStringFormatting/Sources/ServiceMessageStrings.swift index 4f7efc9cc0..6e8bc0a898 100644 --- a/submodules/TelegramStringFormatting/Sources/ServiceMessageStrings.swift +++ b/submodules/TelegramStringFormatting/Sources/ServiceMessageStrings.swift @@ -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) }