translations_code_gen 1.3.3 copy "translations_code_gen: ^1.3.3" to clipboard
translations_code_gen: ^1.3.3 copied to clipboard

An application to generate translations keys and values for a dart/flutter application from .json file.

1.3.3 #

  • Documentation: Added comprehensive API documentation generated with dart doc
  • Code Quality: Improved code structure and organization
  • Maintenance: Updated package metadata and consistency improvements

1.3.2 #

  • Code Generation Improvements: Major refactoring of generated translation code structure:
    • Private Constants: Changed all translation constants to private const variables for better encapsulation
    • Public Methods: Implemented public getter methods for all translation variables, including those without placeholders
    • Named Parameters: Added named parameter methods for variables containing placeholders to improve code readability and type safety
    • Positional Parameters: Included positional list parameters to handle unnamed arguments for placeholder variables, providing flexible parameter passing options
  • API Enhancement: These changes improve the generated code's maintainability, type safety, and developer experience
  • Backward Compatibility: Updated method signatures provide more intuitive and flexible ways to access translations
  • Version Update: Updated package version from 1.2.2 to 1.3.2.
  • Documentation: Updated README.md with latest version reference.
  • Error Messages: Updated error messages to reflect current version.
  • Maintenance: General maintenance and version consistency improvements.

1.2.2 #

  • Major Dependency Upgrades: Updated all dependencies to their latest stable versions.
  • SDK Upgrade: Updated Dart SDK from 3.1.0 to 3.9.2 (latest stable).
  • Flutter SDK: Added FVM support with Flutter 3.35.4 (includes Dart 3.9.2).
  • Dependencies Updated:
    • settings_yaml: ^7.0.0^8.3.1 (major version upgrade)
    • lints: ^2.0.0^6.0.0 (major version upgrade)
  • Development: Added FVM configuration for better version management.
  • Compatibility: Verified compatibility with latest Dart SDK and all upgraded dependencies.

1.2.1 #

  • Updated Dart SDK to Dart SDK version: 3.1.0 (stable).
  • Updated settings_yaml from ^5.0.0 to ^7.0.0.

1.2.0 #

  • Added support for generating modes with the '-g' or '--generate' flag.
  • Added 4 generation modes: 'dart', 'dart-keys, 'dart-values', 'json-values'.
  • Added few more error checks.
  • Added more error messages.

1.1.1 #

  • Removed extra print code.

1.1.0 #

  • Added support for generating translations from a directory and file with configuration.
  • Added support for translations_code_gen.yaml file.

1.0.7 #

  • Renamed lib/code_gen.dart to lib/translations_code_gen.dart.

1.0.6 #

  • Fixed double quotes and new line error when generating values.

1.0.5 #

  • Modified the README.md file.

1.0.4 #

  • Added info print statements.

1.0.3 #

  • Added values to generate from the directory.

1.0.2 #

  • Updated the README.md file.

1.0.1 #

  • Fix a bug in the global activate command.

1.0.0 #

  • Initial version.
8
likes
140
points
47
downloads

Publisher

verified publisheryouhanasheriff.com

Weekly Downloads

An application to generate translations keys and values for a dart/flutter application from .json file.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD-3-Clause (license)

Dependencies

settings_yaml

More

Packages that depend on translations_code_gen