Skip to content

Latest commit

 

History

History
103 lines (85 loc) · 3.85 KB

CHANGES.md

File metadata and controls

103 lines (85 loc) · 3.85 KB

trans-tool logo

The translation files checker and syncing tool


Changelog

  • v2.5.4 (2024-10-06)

    • Code and docs cleanup
  • v2.5.3 (2023-10-24)

    • Replaced built-in logger class with external package (reinstall depdendencies!)
    • Updated documentation.
  • v2.5.2 (2021-09-14)

    • Added tests for last line's LF handling.
  • v2.5.1 (2021-09-14)

    • --write now preserves LF of base file's last line (if present).
  • v2.5.0 (2021-09-01)

    • The --update, --create options are now replaced with --write (-w).
    • By default --write saves just keys. Use --write-content (-wc) to include original texts too.
    • Using either --write-reference or --write-contents implies --write.
    • The --write-reference option is now --write-ref (-wr).
  • v2.4.0 (2021-08-28)

    • Both --lang and --lang-skip now support space separator too.
  • v2.3.0 (2021-08-28)

    • Added --lang-skip option for easier integration with CI/CD.
  • v2.2.1 (2021-08-12)

    • Corrected setup.py to properly modify image reference.
    • Added more unit tests.
  • v2.2.0 (2021-08-11)

    • Added ability to specify checks to run with --checks option.
    • Added more unit tests.
  • v2.1.0 (2021-08-06)

    • Rebranded and renamed project to trans-tool.
    • Fixed config loader not handling Checks' sections properly.
    • Corrected config file syntax documentation.
    • Added --config-dump option that shows state of the configuration.
    • Corrected default KeyFormat pattern.
    • Comment checks by Brackets and TypesettingQuotationMarks can now be configured.
    • Fixed loader issue causing missing keys to reported twice.
    • Added --write-reference option that can include both base and translation in saved file.
    • StartsWithTheSameCase now is smarter when looking for words to check.
    • Removed < and > from Brackets defaults as > is often used as "arrow" (->) raising false positives.
    • Corrected default KeyFormat patter so it no longer allows digits at first position.
    • QuotationMarks, TypesettingQuotationMarks, WhiteCharsBeforeLinefeed and TrailingWhiteChars now support comments config item to control whenever you want comments to be scanned.
    • StartsWithTheSameCase now handles the case where base/translation can start with a digit which should be case match.
    • Brackets can now detect and ignore quoted brackets.
    • Added Substitutions check.
  • v2.0.0 (2021-08-02)

    • Added support for config files.
    • Added option to --create template translation files.
    • The --lang now also supports comma separated arguments.
    • Reworked documentation.
    • Improved *.properties file parsing to better handle extreme cases.
    • Added more unit tests.
  • v1.3.0 (2021-07-22)

    • Added TypesettingQuotationMarks check.
    • Various checkers' code improvements.
    • Added more unit tests.
    • Rephrased some report messages for clarity.
  • v1.2.0 (2021-07-21)

    • Reworked report formatting.
    • Added --fatal to make warnings fatal as errors.
    • Added WhiteCharsBeforeLinefeed check.
    • Added StartsWithTheSameCase check.
    • Added KeyFormat check.
    • Added Punctuation check.
    • Added EmptyTranslations check.
    • Added Brackets check.
    • Added QuotationMarks check.
    • Added FormattingValues check.
    • Added unit tests.
    • Added --version support.
  • v1.1.0 (2021-07-19)

    • String format for commented-out entries can now be configured.
    • Added option to specify comment character.
    • Added option to specify key-value separator character.
    • Missing translation file no longer aborts.
    • Fixed handling ! as comment line marker.
    • You can use either prop-tool or proptool as tool name.
    • Reference file is now also checked for common errors.
    • Trailing chars check can also detect missing "\n" literal too.
  • v1.0.0 (2021-07-16)

    • Initial public release.