Add special string for bot revenue.

This commit is contained in:
John Preston 2024-11-01 14:16:43 +04:00
parent 0971485367
commit 99c5d994b5
2 changed files with 4 additions and 1 deletions

View File

@ -5214,6 +5214,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_sponsored_revenued_info1_description" = "Ads on Telegram do not use your personal information and are based on the channel in which you see them.";
"lng_sponsored_revenued_info1_bot_description" = "Ads on Telegram do not use your personal information and are based on the mini app in which you see them.";
"lng_sponsored_revenued_info2_title" = "Help the Channel Creator";
"lng_sponsored_revenued_info2_bot_title" = "Help the Bot Developer";
"lng_sponsored_revenued_info2_description" = "50% of the revenue from Telegram Ads goes to the owner of the channel where they are displayed.";
"lng_sponsored_revenued_info2_bot_description" = "50% of the revenue from Telegram Ads goes to the developer of the mini app where they are displayed.";
"lng_sponsored_revenued_info3_title" = "Can Be Removed";

View File

@ -143,7 +143,9 @@ void AboutBox(
Ui::AddSkip(content);
Ui::AddSkip(content);
addEntry(
tr::lng_sponsored_revenued_info2_title(),
(isChannel
? tr::lng_sponsored_revenued_info2_title
: tr::lng_sponsored_revenued_info2_bot_title)(),
(isChannel
? tr::lng_sponsored_revenued_info2_description
: tr::lng_sponsored_revenued_info2_bot_description)(