localize_it_annotation 4.1.0
localize_it_annotation: ^4.1.0 copied to clipboard
Annotation for localize_it code generation. This package does nothing without localize_it too.
4.1.0 #
- Added
String.trIn(String context, [Map<String, Object?> args])for strings that need a different translation depending on where they are shown. Falls back to the plain string while the context key has no translation. - Added
LocalizeIt.contextKeyandLocalizeIt.contextSeparator(@@).
4.0.0 #
- Added
String.trWithArgs(Map<String, Object?> args)for translations with named{name}placeholders. - Added
LocalizeIt.translateto plug in the runtime lookup (e.g.LocalizeIt.translate = (key) => key.tr;with GetX).
3.0.0 #
- Breaking: Requires Dart SDK
^3.9.0(drops support for Dart 2.x and for Dart versions below 3.9). - Bumped dev dependency
testto a current major.
2.0.0 #
- Updated README.md.
1.0.1 #
- Migrated to null-safety.
1.0.0 #
- Initial version.