mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Moved out url for credits terms to lang pack.
This commit is contained in:
@@ -269,10 +269,11 @@ void FillCreditOptions(
|
||||
{
|
||||
auto text = tr::lng_credits_summary_options_about(
|
||||
lt_link,
|
||||
tr::lng_credits_summary_options_about_link(
|
||||
) | rpl::map([](const QString &t) {
|
||||
using namespace Ui::Text;
|
||||
return Link(t, u"https://telegram.org/tos"_q);
|
||||
rpl::combine(
|
||||
tr::lng_credits_summary_options_about_link(),
|
||||
tr::lng_credits_summary_options_about_url()
|
||||
) | rpl::map([](const QString &text, const QString &url) {
|
||||
return Ui::Text::Link(text, url);
|
||||
}),
|
||||
Ui::Text::RichLangValue);
|
||||
Ui::AddSkip(content);
|
||||
|
Reference in New Issue
Block a user