l10n_mapper_generator 2.2.0
l10n_mapper_generator: ^2.2.0 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
AppLocalizationsExtensionon build-context - Implemented the use of
config-optionsfromLocalizationMapperAnnotation - 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.jsonconfig file and directory-path tol10_mapper.jsonparsed [if its not in the projects root directory] when runningl10n_mapper_generatorconsole command). See usage documentation for more information. - Removed console option-parsing when running
l10n_mapper_generatorcommands. - Updated readme.
1.2.0 [BREAKING CHANGE] #
- Implemented l10n_mapper_generator configuration setup for
formatterOptionsusingl10_mapper.json(ie. configuration-options should be defined inl10_mapper.jsonconfig file and directory-path tol10_mapper.jsonparsed [if its not in the projects root directory] when runningl10n_mapper_generatorconsole command). See usage documentation for more information. - Implemented formatter feature using
--formatflag - Implemented mapper generation feature using
--gen-mapperflag - Updated readme.
1.3.0 [BREAKING CHANGE] #
- Implemented
translationconfiguration setup forgeneratorOptionsusingl10_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
generatorOptionspath toappLocalizationsto accurately indicate intention. - Updated readme.
2.0.0 [BREAKING CHANGE] #
- Deprecated
l10n_mapper_annotationpackage previously required for annotation inapp_localization.dartfile - Refactored
l10n_mapper_generatorto remove dependency on annotation inapp_localization.dartfile - Removed related scripts required for annotating feature
l10n_mapper_generatorbuild configurations are now provided viabuild.yamlfile- 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
2.1.2 #
- Use dynamic import for
L10nMapperGeneratorin generatedAppLocalizationsMapper. Thanks to @SERDUN in PR-26
2.1.3 #
- Fixes bug with placeholder wrong formatting resulting to inconsistencies with placeholder and translation-key objects as mentioned here
2.1.4 #
- update dependency by @CaoGiaHieu-dev in #30
2.1.5 #
- Use AppLocalizations directly #31 by @rp84e in #32
2.1.6-pre.2 #
- Create pub workflow to publish package to pub.dev
2.2.0 #
- Update build dependency :
- build: ^2.4.2 -> ^3.0.0
- build: ^2.4.14 -> ^2.6.0
- source_gen: ^2.0.0 -> ^3.0.0
- flutter_lints: ^5.0.0 -> ^6.0.0