1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
## 0.3.1 - 0.3.4
#### 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 - 2024-06-13
- Support for switching between different languages (provisional, may change)
- Drop support for Python 3.8.
## 0.2.5 - 2024-01-17
#### 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 - 2023-03-30
#### 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, 0.2.3 - 2023-03-11
#### 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 - 2023-01-13
- `collect` can now update existing files, reducing the need for `merge`
- Minor reorganization of command line arguments
## 0.2 - 2023-01-08
#### New and improved functionality
- A simplified proprietary variation of .jaml with round-trip comments and less need for quotes
- New action `stat`
- Different verbosity levels for `translate` action
- Better error messages about malformed translations
- New option `exclude-pattern` in config files instead of always skipping files whose names begin with "test_".
- New argument `--static` instead of having a path for static files
#### Bug fixes
- Better testing before introducing the f-prefix: if the original already included braces, the f-prefix is not longer added
- Fixed a bug occuring when paths ended with a trailing slash
- Report an error when the source directory does not exist
- Strings that are not translated are no longer reported as rejected in merge
|