mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 05:07:10 +02:00
Add special phrase for unique hidden gift.
This commit is contained in:
parent
3fb0fa6892
commit
27bba8250a
2 changed files with 3 additions and 0 deletions
|
@ -3294,6 +3294,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
"lng_gift_anonymous_hint" = "Only you can see the sender's name.";
|
||||
"lng_gift_anonymous_hint_channel" = "Only admins of this channel can see the sender's name.";
|
||||
"lng_gift_hidden_hint" = "This gift is hidden. Only you can see it.";
|
||||
"lng_gift_hidden_unique" = "This gift is not displayed on your page.";
|
||||
"lng_gift_visible_hint" = "This gift is visible on your page.";
|
||||
"lng_gift_hidden_hint_channel" = "This gift is hidden from visitors of your channel.";
|
||||
"lng_gift_visible_hint_channel" = "This gift is visible in your channel's Gifts.";
|
||||
|
|
|
@ -1567,6 +1567,8 @@ void GenericCreditsEntryBox(
|
|||
} else if (starGiftCanManage) {
|
||||
const auto hiddenPhrase = giftToChannelCanManage
|
||||
? tr::lng_gift_hidden_hint_channel
|
||||
: uniqueGift
|
||||
? tr::lng_gift_hidden_unique
|
||||
: tr::lng_gift_hidden_hint;
|
||||
const auto visiblePhrase = giftToChannelCanManage
|
||||
? tr::lng_gift_visible_hint_channel
|
||||
|
|
Loading…
Add table
Reference in a new issue