mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Use a separate title for star gift recipient box.
This commit is contained in:
@@ -2999,6 +2999,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
"lng_gift_stars_incoming" = "Use Stars to unlock content and services on Telegram.";
|
||||
"lng_gift_until" = "Until";
|
||||
|
||||
"lng_gift_premium_or_stars" = "Gift Premium or Stars";
|
||||
"lng_gift_premium_subtitle" = "Gift Premium";
|
||||
"lng_gift_premium_about" = "Give {name} access to exclusive features with Telegram Premium. {features}";
|
||||
"lng_gift_premium_features" = "See Features >";
|
||||
|
||||
@@ -258,7 +258,9 @@ PreviewWrap::PreviewWrap(
|
||||
prepare(std::move(details));
|
||||
}
|
||||
|
||||
void ShowSentToast(not_null<Window::SessionController*> window, GiftTypeStars gift) {
|
||||
void ShowSentToast(
|
||||
not_null<Window::SessionController*> window,
|
||||
GiftTypeStars gift) {
|
||||
const auto &st = st::historyPremiumToast;
|
||||
const auto skip = st.padding.top();
|
||||
const auto size = st.style.font->height * 2;
|
||||
@@ -1285,7 +1287,7 @@ void ChooseStarGiftRecipient(
|
||||
|
||||
};
|
||||
auto initBox = [=](not_null<PeerListBox*> peersBox) {
|
||||
peersBox->setTitle(tr::lng_credits_gift_title());
|
||||
peersBox->setTitle(tr::lng_gift_premium_or_stars());
|
||||
peersBox->addButton(tr::lng_cancel(), [=] { peersBox->closeBox(); });
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user