aloisdeniel / aloisdeniel/flutter_sheet_localization
prefix and suffix for labels
- Lingua principale
- Dart
- Stelle
- 286
- Fork
- 87
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I would love to see the possibility to simply add a prefix or suffix to my translations. So instead of
```
final labels = AppLocalizations.of(context);
print(labels.dates.month.february+": ");
print(" " + labels.templated.contact(Gender.male, lastName: "John"));
```
I would love to write something like
```
final labels = AppLocalizations.of(context);
print(labels.dates.month.february..suffix(": "));
print(labels.templated.contact(Gender.male, lastName: "John")..prefix(" "));
```
And maybe the possibility to define own common used suffix and prefix like `": "` or `" "` and then easy access them like
`print(labels.dates.month.february..suffix.colon);` or `print(labels.dates.month.february..withColon());`
Best regards and thank you for the amazing package!
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.