mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 23:45:44 +00:00
Use a shorter phrase for bot policy.
This commit is contained in:
@@ -3363,6 +3363,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
"lng_bot_settings" = "Settings";
|
"lng_bot_settings" = "Settings";
|
||||||
"lng_bot_open" = "Open Bot";
|
"lng_bot_open" = "Open Bot";
|
||||||
"lng_bot_terms" = "Terms of Use";
|
"lng_bot_terms" = "Terms of Use";
|
||||||
|
"lng_bot_privacy" = "Privacy Policy";
|
||||||
"lng_bot_reload_page" = "Reload Page";
|
"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" = "{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.";
|
"lng_bot_add_to_menu_done" = "Bot added to the menu.";
|
||||||
|
@@ -2095,7 +2095,6 @@ void ActionsFiller::addBotCommandActions(not_null<UserData*> user) {
|
|||||||
rpl::single(true),
|
rpl::single(true),
|
||||||
openPrivacyPolicy,
|
openPrivacyPolicy,
|
||||||
nullptr);
|
nullptr);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ActionsFiller::addReportAction() {
|
void ActionsFiller::addReportAction() {
|
||||||
|
@@ -592,7 +592,7 @@ bool Panel::showWebview(
|
|||||||
callback(tr::lng_bot_terms(tr::now), [=] {
|
callback(tr::lng_bot_terms(tr::now), [=] {
|
||||||
File::OpenUrl(tr::lng_mini_apps_tos_url(tr::now));
|
File::OpenUrl(tr::lng_mini_apps_tos_url(tr::now));
|
||||||
}, &st::menuIconGroupLog);
|
}, &st::menuIconGroupLog);
|
||||||
callback(tr::lng_profile_bot_privacy(tr::now), [=] {
|
callback(tr::lng_bot_privacy(tr::now), [=] {
|
||||||
_delegate->botOpenPrivacyPolicy();
|
_delegate->botOpenPrivacyPolicy();
|
||||||
}, &st::menuIconAntispam);
|
}, &st::menuIconAntispam);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user