mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Use a shorter phrase for bot policy.
This commit is contained in:
parent
343ffc23eb
commit
e8d87d37bb
3 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue