diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index 6cd47b5f9..247ea2213 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -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_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_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_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."; diff --git a/Telegram/SourceFiles/history/admin_log/history_admin_log_section.cpp b/Telegram/SourceFiles/history/admin_log/history_admin_log_section.cpp index 809131b3d..8c12454ff 100644 --- a/Telegram/SourceFiles/history/admin_log/history_admin_log_section.cpp +++ b/Telegram/SourceFiles/history/admin_log/history_admin_log_section.cpp @@ -291,7 +291,11 @@ Widget::Widget( connect(_scroll, &Ui::ScrollArea::scrolled, this, [this] { onScroll(); }); - _whatIsThis->setClickedCallback([=] { Ui::show(Box(tr::lng_admin_log_about_text(tr::now))); }); + _whatIsThis->setClickedCallback([=] { + Ui::show(Box(channel->isMegagroup() + ? tr::lng_admin_log_about_text(tr::now) + : tr::lng_admin_log_about_text_channel(tr::now))); + }); setupShortcuts(); }