mirror of https://github.com/procxx/kepka.git
Fix description of channel recent actions section.
This commit is contained in:
parent
12b18829f0
commit
9ba3b11c96
|
@ -1842,6 +1842,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
"lng_admin_log_filter_all_admins" = "All users and admins";
|
"lng_admin_log_filter_all_admins" = "All users and admins";
|
||||||
"lng_admin_log_about" = "What is this?";
|
"lng_admin_log_about" = "What is this?";
|
||||||
"lng_admin_log_about_text" = "This is a list of all service actions taken by the group's members and admins in the last 48 hours.";
|
"lng_admin_log_about_text" = "This is a list of all service actions taken by the group's members and admins in the last 48 hours.";
|
||||||
|
"lng_admin_log_about_text_channel" = "This is a list of all service actions taken by the channel's admins in the last 48 hours.";
|
||||||
"lng_admin_log_no_results_title" = "No actions found";
|
"lng_admin_log_no_results_title" = "No actions found";
|
||||||
"lng_admin_log_no_results_text" = "No recent actions that match your query have been found.";
|
"lng_admin_log_no_results_text" = "No recent actions that match your query have been found.";
|
||||||
"lng_admin_log_no_results_search_text" = "No recent actions that contain '{query}' have been found.";
|
"lng_admin_log_no_results_search_text" = "No recent actions that contain '{query}' have been found.";
|
||||||
|
|
|
@ -291,7 +291,11 @@ Widget::Widget(
|
||||||
|
|
||||||
connect(_scroll, &Ui::ScrollArea::scrolled, this, [this] { onScroll(); });
|
connect(_scroll, &Ui::ScrollArea::scrolled, this, [this] { onScroll(); });
|
||||||
|
|
||||||
_whatIsThis->setClickedCallback([=] { Ui::show(Box<InformBox>(tr::lng_admin_log_about_text(tr::now))); });
|
_whatIsThis->setClickedCallback([=] {
|
||||||
|
Ui::show(Box<InformBox>(channel->isMegagroup()
|
||||||
|
? tr::lng_admin_log_about_text(tr::now)
|
||||||
|
: tr::lng_admin_log_about_text_channel(tr::now)));
|
||||||
|
});
|
||||||
|
|
||||||
setupShortcuts();
|
setupShortcuts();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue