mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Added url to learn more about monetization to langpack.
This commit is contained in:
parent
154753c732
commit
e32de38d04
2 changed files with 2 additions and 1 deletions
Telegram
|
@ -5050,6 +5050,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
"lng_channel_earn_learn_coin_title" = "What is {emoji} TON?";
|
||||
"lng_channel_earn_learn_coin_about" = "TON is a blockchain platform and cryptocurrency that Telegram uses for its high speed and low commissions on transactions. {link}";
|
||||
"lng_channel_earn_learn_close" = "Got it";
|
||||
"lng_channel_earn_learn_coin_link" = "https://telegram.org/blog/monetization-for-channels";
|
||||
"lng_channel_earn_chart_top_hours" = "Ad impressions";
|
||||
"lng_channel_earn_chart_revenue" = "Ad revenue";
|
||||
"lng_channel_earn_chart_overriden_detail_currency" = "Revenue in TON";
|
||||
|
|
|
@ -77,7 +77,7 @@ void ShowMenu(not_null<Ui::GenericBox*> box, const QString &text) {
|
|||
[[nodiscard]] ClickHandlerPtr LearnMoreCurrencyLink(
|
||||
not_null<Window::SessionController*> controller,
|
||||
not_null<Ui::GenericBox*> box) {
|
||||
const auto url = u"https://telegram.org/blog/monetization-for-channels"_q;
|
||||
const auto url = tr::lng_channel_earn_learn_coin_link(tr::now);
|
||||
|
||||
using Resolver = HistoryView::Controls::WebpageResolver;
|
||||
const auto resolver = box->lifetime().make_state<Resolver>(
|
||||
|
|
Loading…
Add table
Reference in a new issue