From 9ba3b11c9619b514296b940ad7d2c828f7094426 Mon Sep 17 00:00:00 2001
From: John Preston <johnprestonmail@gmail.com>
Date: Wed, 25 Mar 2020 16:25:16 +0400
Subject: [PATCH] Fix description of channel recent actions section.

---
 Telegram/Resources/langs/lang.strings                       | 1 +
 .../history/admin_log/history_admin_log_section.cpp         | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

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<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();
 }