refactor: Update arb file types
This commit is contained in:
parent
aad2c9af99
commit
25872eeb26
55 changed files with 43340 additions and 31747 deletions
|
|
@ -168,7 +168,7 @@ class SendFileDialogState extends State<SendFileDialog> {
|
|||
|
||||
final fileName = widget.files.length == 1
|
||||
? widget.files.single.name
|
||||
: L10n.of(context).countFiles(widget.files.length.toString());
|
||||
: L10n.of(context).countFiles(widget.files.length);
|
||||
final fileTypes = widget.files
|
||||
.map((file) => file.name.split('.').last)
|
||||
.toSet()
|
||||
|
|
|
|||
|
|
@ -295,7 +295,7 @@ class ChatDetailsView extends StatelessWidget {
|
|||
ListTile(
|
||||
title: Text(
|
||||
L10n.of(context).countParticipants(
|
||||
actualMembersCount.toString(),
|
||||
actualMembersCount,
|
||||
),
|
||||
style: TextStyle(
|
||||
color: theme.colorScheme.secondary,
|
||||
|
|
@ -324,7 +324,7 @@ class ChatDetailsView extends StatelessWidget {
|
|||
: ListTile(
|
||||
title: Text(
|
||||
L10n.of(context).loadCountMoreParticipants(
|
||||
(actualMembersCount - members.length).toString(),
|
||||
(actualMembersCount - members.length),
|
||||
),
|
||||
),
|
||||
leading: CircleAvatar(
|
||||
|
|
|
|||
|
|
@ -288,9 +288,8 @@ class ChatListItem extends StatelessWidget {
|
|||
child: room.isSpace && room.membership == Membership.join
|
||||
? Text(
|
||||
L10n.of(context).countChatsAndCountParticipants(
|
||||
room.spaceChildren.length.toString(),
|
||||
(room.summary.mJoinedMemberCount ?? 1)
|
||||
.toString(),
|
||||
room.spaceChildren.length,
|
||||
(room.summary.mJoinedMemberCount ?? 1),
|
||||
),
|
||||
style:
|
||||
TextStyle(color: theme.colorScheme.outline),
|
||||
|
|
|
|||
|
|
@ -129,7 +129,8 @@ class LoginController extends State<Login> {
|
|||
final dialogResult = await showOkCancelAlertDialog(
|
||||
context: context,
|
||||
useRootNavigator: false,
|
||||
title: L10n.of(context).noMatrixServer(newDomain, oldHomeserver!),
|
||||
title: L10n.of(context)
|
||||
.noMatrixServer(newDomain.toString(), oldHomeserver.toString()),
|
||||
okLabel: L10n.of(context).ok,
|
||||
cancelLabel: L10n.of(context).cancel,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue