From 40330afbd30863b638b5be8a4597c1b5dc5c6468 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 30 Nov 2021 18:07:16 +0400 Subject: [PATCH] Use distinct strings for groups / channels noforwards. --- Telegram/SourceFiles/boxes/peers/edit_peer_type_box.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_type_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_type_box.cpp index 44d9e5741f..36ccef59ad 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_type_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_type_box.cpp @@ -224,7 +224,11 @@ void Controller::createContent() { _noForwardsSavedValue = toggled; }, _wrap->lifetime()); AddSkip(_wrap.get()); - AddDividerText(_wrap.get(), tr::lng_manage_peer_no_forwards_about()); + AddDividerText( + _wrap.get(), + (_isGroup + ? tr::lng_manage_peer_no_forwards_about + : tr::lng_manage_peer_no_forwards_about_channel)()); } if (_linkOnly) { _controls.inviteLinkWrap->show(anim::type::instant);