diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index 347275b74b..1d491fef5a 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -2287,6 +2287,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL "lng_community_hidden_chat_about" = "Only invited members and community admins will see this chat."; "lng_community_hidden_status" = "Hidden"; "lng_community_hidden_chat_title" = "Hidden Chat"; +"lng_community_hidden_not_accessible" = "You can't join or view this group until an admin invites you."; "lng_community_join_sure" = "Do you want to join {group}?"; "lng_community_admin_title" = "You are a community admin"; "lng_community_admin_about" = "You can now edit {community} info and use other admin tools."; diff --git a/Telegram/SourceFiles/dialogs/dialogs_community_requestable_list.cpp b/Telegram/SourceFiles/dialogs/dialogs_community_requestable_list.cpp index 1e6756216e..52e01903af 100644 --- a/Telegram/SourceFiles/dialogs/dialogs_community_requestable_list.cpp +++ b/Telegram/SourceFiles/dialogs/dialogs_community_requestable_list.cpp @@ -124,7 +124,8 @@ CommunityRequestableList::CommunityRequestableList( const auto joinable = channel && (!community->isHidden(peer) || channel->amCreator()); if (!joinable) { - _controller->showToast(tr::lng_group_not_accessible(tr::now)); + _controller->showToast( + tr::lng_community_hidden_not_accessible(tr::now)); return; } const auto join = [=](Fn close) {