Skip to content

Commit 3473c5a

Browse files
committed
i18n [nfc]: Improve errorFilesTooLarge example for listMessage
The message, when used in lib/widgets/compose_box.dart, substitutes `listMessage` with newline separated lines of filenames with size. Update the example to match this usage. Signed-off-by: Zixuan James Li <zixuan@zulip.com>
1 parent 31446d5 commit 3473c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/l10n/app_en.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
"placeholders": {
186186
"num": {"type": "int", "example": "2"},
187187
"maxFileUploadSizeMib": {"type": "int", "example": "15"},
188-
"listMessage": {"type": "String", "example": "foo.txt\nbar.txt"}
188+
"listMessage": {"type": "String", "example": "foo.txt: 10.1 MiB\nbar.txt 20.2 MiB"}
189189
}
190190
},
191191
"errorFilesTooLargeTitle": "{num, plural, =1{File} other{Files}} too large",

0 commit comments

Comments
 (0)