aloisdeniel / aloisdeniel/flutter_sheet_localization
prefix and suffix for labels
- Langage dominant
- Dart
- Étoiles
- 286
- Forks
- 87
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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!
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.