diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index d35679d98..1da6e2be3 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -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"; diff --git a/Telegram/SourceFiles/menu/menu_sponsored.cpp b/Telegram/SourceFiles/menu/menu_sponsored.cpp index 68e896c16..631f4aa8f 100644 --- a/Telegram/SourceFiles/menu/menu_sponsored.cpp +++ b/Telegram/SourceFiles/menu/menu_sponsored.cpp @@ -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)(