2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Use "subscribers" instead of "members" in channels

This commit is contained in:
RadRussianRus
2020-05-01 14:20:57 +03:00
committed by John Preston
parent ae64747489
commit cad4d19272
7 changed files with 26 additions and 8 deletions

View File

@@ -1056,7 +1056,9 @@ void ParticipantsBoxController::prepare() {
switch (_role) {
case Role::Admins: return tr::lng_channel_admins();
case Role::Profile:
case Role::Members: return tr::lng_profile_participants_section();
case Role::Members: return (_peer->isChannel() && !_peer->isMegagroup()
? tr::lng_profile_subscribers_section()
: tr::lng_profile_participants_section());
case Role::Restricted: return tr::lng_exceptions_list_title();
case Role::Kicked: return tr::lng_removed_list_title();
}