Repository navigation
Commit 77ddfb7
committed
fix(ListInput): the empty state reads right with any noun
The empty state built its own grammar around the record noun: a plural
"s" after it and "a" before it. With "email address" it read "No email
addresss yet" and "Add a email address to get started.", and with the
default noun "Add a item".
The messages now use the noun as given: "No {itemName} added yet" and
"Each {itemName} you add appears here." Both keep their placeholder, so
every translation keeps its contract.1 parent b1fa382 commit 77ddfb7
3 files changed
Lines changed: 35 additions & 7 deletions
File tree
- .changeset
- packages
- core/locales
- lab/src/ListInput
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
676 | 676 | | |
677 | 677 | | |
678 | 678 | | |
679 | | - | |
680 | | - | |
| 679 | + | |
| 680 | + | |
681 | 681 | | |
682 | 682 | | |
683 | | - | |
684 | | - | |
| 683 | + | |
| 684 | + | |
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
401 | 404 | | |
402 | | - | |
403 | 405 | | |
404 | 406 | | |
405 | 407 | | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
406 | 427 | | |
407 | 428 | | |
408 | 429 | | |
| |||
807 | 828 | | |
808 | 829 | | |
809 | 830 | | |
810 | | - | |
| 831 | + | |
811 | 832 | | |
812 | 833 | | |
813 | 834 | | |
| |||
0 commit comments