Update lib/views/chat.dart, lib/l10n/intl_de.arb files

This commit is contained in:
Christian Pauly 2020-05-15 19:03:23 +00:00
parent 05e1435bb4
commit 285d840023
2 changed files with 10 additions and 10 deletions

View File

@ -325,7 +325,7 @@
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
}, },
"countParticipants": "{count} Teilnehmer", "countParticipants": "{count} Teilnehmer*innen",
"@countParticipants": { "@countParticipants": {
"type": "text", "type": "text",
"placeholders": { "placeholders": {
@ -719,7 +719,7 @@
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
}, },
"loadCountMoreParticipants": "{count} weitere Teilnehmer laden", "loadCountMoreParticipants": "{count} weitere Teilnehmer*innen laden",
"@loadCountMoreParticipants": { "@loadCountMoreParticipants": {
"type": "text", "type": "text",
"placeholders": { "placeholders": {
@ -753,7 +753,7 @@
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
}, },
"Message will be removed for all participants": "Nachricht wird für alle Teilnehmer entfernt", "Message will be removed for all participants": "Nachricht wird für alle Teilnehmer*innen entfernt",
"@Message will be removed for all participants": { "@Message will be removed for all participants": {
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
@ -1292,7 +1292,7 @@
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
}, },
"Visible for all participants": "Sichtbar für alle Teilnehmer", "Visible for all participants": "Sichtbar für alle Teilnehmer*innen",
"@Visible for all participants": { "@Visible for all participants": {
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
@ -1357,7 +1357,7 @@
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
}, },
"You are no longer participating in this chat": "Du bist kein Teilnehmer mehr in diesem Chat", "You are no longer participating in this chat": "Du bist kein Mitglied mehr in diesem Chat",
"@You are no longer participating in this chat": { "@You are no longer participating in this chat": {
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
@ -1377,4 +1377,4 @@
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
} }
} }

View File

@ -395,10 +395,10 @@ class _ChatState extends State<_Chat> {
ChatDetails(room), ChatDetails(room),
), ),
), ),
title: Text(room.getLocalizedDisplayname(L10n.of(context))), title: Text(room.getLocalizedDisplayname(L10n.of(context)),maxLines: 1),
subtitle: typingText.isEmpty subtitle: typingText.isEmpty
? Text( ? Text(
room.getLocalizedStatus(context), room.getLocalizedStatus(context),maxLines: 1,
) )
: Row( : Row(
children: <Widget>[ children: <Widget>[
@ -407,7 +407,7 @@ class _ChatState extends State<_Chat> {
size: 13), size: 13),
SizedBox(width: 4), SizedBox(width: 4),
Text( Text(
typingText, typingText,maxLines: 1,
style: TextStyle( style: TextStyle(
color: Theme.of(context).primaryColor, color: Theme.of(context).primaryColor,
fontStyle: FontStyle.italic, fontStyle: FontStyle.italic,
@ -488,7 +488,7 @@ class _ChatState extends State<_Chat> {
0, 0,
(MediaQuery.of(context).size.width - (MediaQuery.of(context).size.width -
AdaptivePageLayout.defaultMinWidth * AdaptivePageLayout.defaultMinWidth *
2) / 3) /
2), 2),
), ),
reverse: true, reverse: true,