mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-27 07:52:57 +02:00
Use phrase from lang.strings for TON gift.
This commit is contained in:
parent
f3ae8f7f75
commit
e844d7ed89
2 changed files with 2 additions and 2 deletions
|
@ -2188,6 +2188,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
"lng_action_gift_premium_months#other" = "{count} Months Premium";
|
||||
"lng_action_gift_premium_about" = "Subscription for exclusive Telegram features.";
|
||||
"lng_action_gift_refunded" = "This gift was downgraded because a request to refund the payment related to this gift was made, and the money was returned.";
|
||||
"lng_action_gift_got_ton" = "Use TON to suggest posts to channels.";
|
||||
"lng_action_suggested_photo_me" = "You suggested this photo for {user}'s Telegram profile.";
|
||||
"lng_action_suggested_photo" = "{user} suggests this photo for your Telegram profile.";
|
||||
"lng_action_suggested_photo_button" = "View Photo";
|
||||
|
|
|
@ -119,8 +119,7 @@ TextWithEntities PremiumGift::title() {
|
|||
|
||||
TextWithEntities PremiumGift::subtitle() {
|
||||
if (tonGift()) {
|
||||
AssertIsDebug();
|
||||
return { u"Use TON to suggest posts to channels."_q };
|
||||
return tr::lng_action_gift_got_ton(tr::now, Ui::Text::WithEntities);
|
||||
} else if (starGift()) {
|
||||
const auto toChannel = _data.channel
|
||||
&& _parent->history()->peer->isServiceUser();
|
||||
|
|
Loading…
Add table
Reference in a new issue