TF-4029 Fix singular vs plural for attachments
This commit is contained in:
@@ -57,7 +57,9 @@ class AttachmentHeaderComposerWidget extends StatelessWidget {
|
||||
),
|
||||
const SizedBox(width: AttachmentHeaderComposerWidgetStyle.space / 2),
|
||||
Text(
|
||||
'${listFileUploaded.length} ${AppLocalizations.of(context).attachments}',
|
||||
listFileUploaded.length > 1
|
||||
? '${listFileUploaded.length} ${AppLocalizations.of(context).attachments}'
|
||||
: '${listFileUploaded.length} ${AppLocalizations.of(context).attachment}',
|
||||
style: AttachmentHeaderComposerWidgetStyle.labelTextSize
|
||||
),
|
||||
const SizedBox(width: AttachmentHeaderComposerWidgetStyle.space),
|
||||
|
||||
Reference in New Issue
Block a user