l10n_mapper_generator 2.1.3 l10n_mapper_generator: ^2.1.3 copied to clipboard
A dart package to generate localization-mapper to support parsing dynamic translation keys (as flutter-localizations package does not yet support this).
1.0.0 #
- Defined generator objects
- Implemented generator for
AppLocalizationsMapper
- Implemented generator for
AppLocalizationsExtension
on build-context - Implemented the use of
config-options
fromLocalizationMapperAnnotation
- Implemented generator console application to support running commands via terminal
1.1.0 [BREAKING CHANGE] #
- Implemented l10n_mapper_generator configuration setup using
l10_mapper.json
(ie. configuration-options should be defined inl10_mapper.json
config file and directory-path tol10_mapper.json
parsed [if its not in the projects root directory] when runningl10n_mapper_generator
console command). See usage documentation for more information. - Removed console option-parsing when running
l10n_mapper_generator
commands. - Updated readme.
1.2.0 [BREAKING CHANGE] #
- Implemented l10n_mapper_generator configuration setup for
formatterOptions
usingl10_mapper.json
(ie. configuration-options should be defined inl10_mapper.json
config file and directory-path tol10_mapper.json
parsed [if its not in the projects root directory] when runningl10n_mapper_generator
console command). See usage documentation for more information. - Implemented formatter feature using
--format
flag - Implemented mapper generation feature using
--gen-mapper
flag - Updated readme.
1.3.0 [BREAKING CHANGE] #
- Implemented
translation
configuration setup forgeneratorOptions
usingl10_mapper.json
. This configuration determines how generated methods account for nullability of translation-key (if translation-key was not found). - Refactor to update l10n_mapper.json config file
generatorOptions
path toappLocalizations
to accurately indicate intention. - Updated readme.
2.0.0 [BREAKING CHANGE] #
- Deprecated
l10n_mapper_annotation
package previously required for annotation inapp_localization.dart
file - Refactored
l10n_mapper_generator
to remove dependency on annotation inapp_localization.dart
file - Removed related scripts required for annotating feature
l10n_mapper_generator
build configurations are now provided viabuild.yaml
file- Updated readme.
2.0.1 #
- Fixes analysis issues
2.1.0 [BREAKING CHANGE] #
- Fixes readme issues
- Changed generated file extension to
.mapper.dart
.
2.1.1 #
- Fixes inconsistent formatting of placeholders
- Updated readme