From 51b259fdea0823c46d2b972aa6a968f62bfd2bf7 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Thu, 7 Oct 2021 17:50:40 +0300 Subject: [PATCH] Updated ad description. --- Telegram/Resources/langs/lang.strings | 6 ++---- Telegram/SourceFiles/boxes/about_sponsored_box.cpp | 12 ++---------- Telegram/SourceFiles/boxes/boxes.style | 1 - 3 files changed, 4 insertions(+), 15 deletions(-) diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index 2076d2644..97731c0e4 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -2895,10 +2895,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL "lng_view_button_channel" = "View channel"; "lng_sponsored_title" = "What are sponsored messages?"; -"lng_sponsored_info_description1" = "Unlike other apps, Telegram never uses your private data to target ads. You are seeing this message only because someone chose this public one-to-many channel as a space to promote their messages. This means that no user data is mined or analyzed to display ads, and every user viewing a channel on Telegram sees the same sponsored message."; -"lng_sponsored_info_description2" = "Unlike other apps, Telegram doesn\'t track whether you tapped on a sponsored message and doesn\'t profile you based on your activity. We also prevent external links in sponsored messages to ensure that third parties can’t spy on our users. We believe that everyone has the right to privacy, and technological platforms should respect that."; -"lng_sponsored_info_description3" = "Telegram offers free and unlimited service to hundreds of millions of users, which involves significant server and traffic costs. In order to remain independent and stay true to its values, Telegram developed a paid tool to promote messages with user privacy in mind. We welcome responsible advertisers at:"; -"lng_sponsored_info_description4" = "Ads should no longer be synonymous with abuse of user privacy. Let us redefine how a tech company should operate – together."; +"lng_sponsored_info_description1" = "Unlike other apps, Telegram never uses your private data to target ads. Sponsored messages on Telegram are based solely on the topic of the public channels in which they are shown. This means that no user data is mined or analyzed to display ads, and every user viewing a channel on Telegram sees the same sponsored messages.\n\nUnlike other apps, Telegram doesn't track whether you tapped on a sponsored message and doesn't profile you based on your activity. We also prevent external links in sponsored messages to ensure that third parties can’t spy on our users. We believe that everyone has the right to privacy, and technological platforms should respect that.\n\nTelegram offers a free and unlimited service to hundreds of millions of users, which involves significant server and traffic costs. In order to remain independent and stay true to its values, Telegram developed a paid tool to promote messages with user privacy in mind. We welcome responsible advertisers at:"; +"lng_sponsored_info_description2" = "Sponsored Messages are currently in test mode. Once they are fully launched and allow Telegram to cover its basic costs, we will start sharing ad revenue with the owners of public channels in which sponsored messages are displayed.\n\nOnline ads should no longer be synonymous with abuse of user privacy. Let us redefine how a tech company should operate – together."; // Wnd specific diff --git a/Telegram/SourceFiles/boxes/about_sponsored_box.cpp b/Telegram/SourceFiles/boxes/about_sponsored_box.cpp index 36cf49e90..e4e223f39 100644 --- a/Telegram/SourceFiles/boxes/about_sponsored_box.cpp +++ b/Telegram/SourceFiles/boxes/about_sponsored_box.cpp @@ -56,21 +56,13 @@ void AboutSponsoredBox(not_null box) { const auto &stLabel = st::aboutLabel; const auto info1 = box->addRow(object_ptr(box, stLabel)); info1->setText(tr::lng_sponsored_info_description1(tr::now)); - box->addSkip(st::sponsoredInfoSkip); - const auto info2 = box->addRow(object_ptr(box, stLabel)); - info2->setText(tr::lng_sponsored_info_description2(tr::now)); - box->addSkip(st::sponsoredInfoSkip); - - const auto info3 = box->addRow(object_ptr(box, stLabel)); - info3->setText(tr::lng_sponsored_info_description3(tr::now)); box->addSkip(st::sponsoredUrlButtonSkip); - addUrl(); box->addSkip(st::sponsoredUrlButtonSkip); - const auto info4 = box->addRow(object_ptr(box, stLabel)); - info4->setText(tr::lng_sponsored_info_description4(tr::now)); + const auto info2 = box->addRow(object_ptr(box, stLabel)); + info2->setText(tr::lng_sponsored_info_description2(tr::now)); } } // namespace Ui diff --git a/Telegram/SourceFiles/boxes/boxes.style b/Telegram/SourceFiles/boxes/boxes.style index a5065ce1b..c2eadeb0b 100644 --- a/Telegram/SourceFiles/boxes/boxes.style +++ b/Telegram/SourceFiles/boxes/boxes.style @@ -974,7 +974,6 @@ autolockTimeField: InputField(scheduleTimeField) { } autolockTimeWidth: 52px; -sponsoredInfoSkip: 22px; sponsoredUrlButtonSkip: 11px; sponsoredUrlButton: RoundButton(defaultActiveButton) { height: 32px;