mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix localization
This commit is contained in:
parent
5f27af924a
commit
3f73d4cc4e
@ -12934,3 +12934,8 @@ Sorry for the inconvenience.";
|
||||
|
||||
"Notification.StarsGiveawayResultsNoWinners" = "Due to the giveaway terms, no winners could be selected by Telegram, all stars were credited to channel administrators.";
|
||||
"Notification.StarsGiveawayResultsNoWinners.Group" = "Due to the giveaway terms, no winners could be selected by Telegram, all stars were credited to group administrators.";
|
||||
|
||||
"Notification.StarsGiveaway.Title" = "Congratulations!";
|
||||
"Notification.StarsGiveaway.Subtitle" = "You won a prize in a giveaway organized by **%1$@**.\n\nYour prize is **%2$@**.";
|
||||
"Notification.StarsGiveaway.Subtitle.Stars_1" = "%@ Star";
|
||||
"Notification.StarsGiveaway.Subtitle.Stars_any" = "%@ Stars";
|
||||
|
@ -280,8 +280,8 @@ public class ChatMessageGiftBubbleContentNode: ChatMessageBubbleContentNode {
|
||||
if let channelId, let channel = item.message.peers[channelId] {
|
||||
peerName = EnginePeer(channel).compactDisplayTitle
|
||||
}
|
||||
title = "Congratulations!" //""item.presentationData.strings.Notification_StarsGift_Title(Int32(count))
|
||||
text = "You won a prize in a giveaway organized by **\(peerName)**.\n\nYour prize is **\(count) Stars**." //item.presentationData.strings.Notification_StarsGift_Subtitle
|
||||
title = item.presentationData.strings.Notification_StarsGiveaway_Title
|
||||
text = item.presentationData.strings.Notification_StarsGiveaway_Subtitle(peerName, item.presentationData.strings.Notification_StarsGiveaway_Subtitle_Stars(Int32(count))).string
|
||||
case let .giftCode(_, fromGiveaway, unclaimed, channelId, monthsValue, _, _, _, _):
|
||||
if channelId == nil {
|
||||
months = monthsValue
|
||||
|
Loading…
x
Reference in New Issue
Block a user