Trubar

Latest version: v0.3.4

Safety actively analyzes 688386 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.1

Bug fixes

- Put auto imports after the docstring to avoid breaking doctests.
- In multilingual mode, ensure that all variables from the original f-strings appear in the closure.
- Fixed glitches in writing of translation files.
- Set the default encoding to utf-8 rather than locale.

0.3

- Support for switching between different languages (provisional, may change)
- Drop support for Python 3.8.

0.2.5

Bug fixes

- Jaml reader crashed on empty files instead of reporting an error
- Jaml write crashed on empty strings
- Support (= test in CI) Python 3.11 and 3.12

0.2.4

New and improved functionality

- Add option for in-place translation

Bug fixes

- After changed in 0.2.3, files without messages were inadvertently included in message files. This resulted in broken .jaml files.

0.2.2

New and improved functionality

- (Compatibility breking change) Remove support for yaml-style (`|`) blocks in jaml. Use multiline (single-)quoted strings instead.
- Arguments `-s` and `-d` are now required; trubar no longer falls back to current directory
- If default configuration file is not found in current directory, Trubar also searches the directory with messages and source directory. `.trubarconfig` is now a primary default name.

Bug fixes

- `collect` with `--pattern` now keeps original messages from non-matching when updating an existing file
- Replaces Windows-style backslashes with slashes in jaml keys

Minor fixes

- Fix message supression in `collect`

0.2.1

- `collect` can now update existing files, reducing the need for `merge`
- Minor reorganization of command line arguments

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.