Use a shorter phrase for bot policy.

This commit is contained in:
John Preston 2024-10-21 11:55:53 +04:00
parent 343ffc23eb
commit e8d87d37bb
3 changed files with 2 additions and 2 deletions

View file

@ -3363,6 +3363,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_bot_settings" = "Settings";
"lng_bot_open" = "Open Bot";
"lng_bot_terms" = "Terms of Use";
"lng_bot_privacy" = "Privacy Policy";
"lng_bot_reload_page" = "Reload Page";
"lng_bot_add_to_menu" = "{bot} asks your permission to be added as an option to your attachment menu so you can access it from any chat.";
"lng_bot_add_to_menu_done" = "Bot added to the menu.";

View file

@ -2095,7 +2095,6 @@ void ActionsFiller::addBotCommandActions(not_null<UserData*> user) {
rpl::single(true),
openPrivacyPolicy,
nullptr);
}
void ActionsFiller::addReportAction() {

View file

@ -592,7 +592,7 @@ bool Panel::showWebview(
callback(tr::lng_bot_terms(tr::now), [=] {
File::OpenUrl(tr::lng_mini_apps_tos_url(tr::now));
}, &st::menuIconGroupLog);
callback(tr::lng_profile_bot_privacy(tr::now), [=] {
callback(tr::lng_bot_privacy(tr::now), [=] {
_delegate->botOpenPrivacyPolicy();
}, &st::menuIconAntispam);
}