Use lang key for about stars link.
This commit is contained in:
parent
1399d2501d
commit
d81e832ae6
2 changed files with 2 additions and 1 deletions
|
@ -3345,6 +3345,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
"lng_paid_cost_placeholder" = "Stars to Unlock";
|
"lng_paid_cost_placeholder" = "Stars to Unlock";
|
||||||
"lng_paid_about" = "Users will have to transfer this amount of Stars to your channel in order to view this media. {link}";
|
"lng_paid_about" = "Users will have to transfer this amount of Stars to your channel in order to view this media. {link}";
|
||||||
"lng_paid_about_link" = "More about stars >";
|
"lng_paid_about_link" = "More about stars >";
|
||||||
|
"lng_paid_about_link_url" = "https://telegram.org/blog/telegram-stars";
|
||||||
"lng_paid_price" = "Unlock for {price}";
|
"lng_paid_price" = "Unlock for {price}";
|
||||||
|
|
||||||
"lng_translate_show_original" = "Show Original";
|
"lng_translate_show_original" = "Show Original";
|
||||||
|
|
|
@ -159,7 +159,7 @@ void EditPriceBox(
|
||||||
about->setClickHandlerFilter([=](const auto &...) {
|
about->setClickHandlerFilter([=](const auto &...) {
|
||||||
Core::App().iv().openWithIvPreferred(
|
Core::App().iv().openWithIvPreferred(
|
||||||
session,
|
session,
|
||||||
u"https://telegram.org/blog/telegram-stars"_q);
|
tr::lng_paid_about_link_url(tr::now));
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue