From 22d3d18a170db777295b038ab0f11570df9fb287 Mon Sep 17 00:00:00 2001 From: lars Date: Sat, 6 Sep 2025 16:09:47 +0200 Subject: [PATCH] changed naming for participants --- .../talk/getParticipants/getParticipantsResponse.dart | 4 ++-- lib/view/pages/talk/chatDetails/chatInfo.dart | 2 +- .../talk/chatDetails/participants/participantsListView.dart | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/api/marianumcloud/talk/getParticipants/getParticipantsResponse.dart b/lib/api/marianumcloud/talk/getParticipants/getParticipantsResponse.dart index 0a8468c..3d0e9ff 100644 --- a/lib/api/marianumcloud/talk/getParticipants/getParticipantsResponse.dart +++ b/lib/api/marianumcloud/talk/getParticipants/getParticipantsResponse.dart @@ -57,9 +57,9 @@ class GetParticipantsResponseObject { enum GetParticipantsResponseObjectParticipantType { @JsonValue(1) owner('Besitzer'), @JsonValue(2) moderator('Moderator'), - @JsonValue(3) user('Benutzer'), + @JsonValue(3) user('Teilnehmer'), @JsonValue(4) guest('Gast'), - @JsonValue(5) userFollowingPublicLink('Link Nutzer'), + @JsonValue(5) userFollowingPublicLink('Teilnehmer über Link'), @JsonValue(6) guestWithModeratorPermissions('Gast Moderator'); const GetParticipantsResponseObjectParticipantType(this.prettyName); diff --git a/lib/view/pages/talk/chatDetails/chatInfo.dart b/lib/view/pages/talk/chatDetails/chatInfo.dart index 2460704..81ca7a3 100644 --- a/lib/view/pages/talk/chatDetails/chatInfo.dart +++ b/lib/view/pages/talk/chatDetails/chatInfo.dart @@ -66,7 +66,7 @@ class _ChatInfoState extends State { if(participants != null) ...[ ListTile( leading: const Icon(Icons.supervised_user_circle), - title: Text('${participants!.data.length} Teilnehmer'), + title: Text('${participants!.data.length} Mitglieder'), trailing: const Icon(Icons.arrow_right), onTap: () => TalkNavigator.pushSplitView(context, ParticipantsListView(participants!)), ), diff --git a/lib/view/pages/talk/chatDetails/participants/participantsListView.dart b/lib/view/pages/talk/chatDetails/participants/participantsListView.dart index 4b10ce2..db25cb7 100644 --- a/lib/view/pages/talk/chatDetails/participants/participantsListView.dart +++ b/lib/view/pages/talk/chatDetails/participants/participantsListView.dart @@ -19,7 +19,7 @@ class ParticipantsListView extends StatelessWidget { return Scaffold( appBar: AppBar( - title: const Text('Teilnehmende'), + title: const Text('Mitglieder'), ), body: ListView( children: [