msgmerge-femalenow strips\rfrom CRLF line endings in PO and POT files before invoking gettextmsgmerge. Working trees produced by Git'sautocrlf=trueon Windows would otherwise produce mixed-ending output and spurious fuzzy/duplicate entries.
- Action:
poifynow always runsmsgmerge, even when the POT file itself is unchanged. This lets the action clear stale PO/POT occurrence mismatches that can be reintroduced by translation-side PO updates. unpoifynow wipes generated*_femaledirectories before regenerating, so removed or shadowed female entries don't leave orphan files behind.
- Fixed GitHub action failing, introduced in v1.5.0.
- Performance improvements:
poifyis ~2.5x faster,dir2msgstris ~11% faster. - All CLI commands now support
--verbose,--quiet, and--timestampsflags. - Clearer error messages for missing directories and encoding failures.
- Fixed regex handling in
dir2msgstrandpoify. dir2msgstrnow honorsskip_filessetting.
Fixed regex for *_ee.tra files.
Added simplified language aliases for cs/hu/pt/tchinese to use during extraction.
Disallow to use curly brackets in msg files, to avoid breaking translations in game.
- Removed unused
lowercasesetting. - Replaced
all_utf8_yes_really_allwithansi_console. - Console files are in utf-8 by default now.
Fixed initial poify not working.
Added support for Python 3.12. Action now uses a virtual environment.
Added special handling for cp1258 Vietnamese encoding.
Set charset to cp1258 for Vietnamese.
Added vi/vietnamese language slug.
Added support for all_utf8, all_utf8_yes_really_all parameters to .bgforge.yml. Use the first one to consider all
files except DOS_FILENAMES in UTF-8, add the second one to consider even DOS_FILENAMES UTF-8.
Fixed file2msgstr invocation.
Fixed unfuzzy not working on Windows due to different default encoding.
Action: upgraded paths-filter to 3.0.1.
- Added missing console entry point for
poify.py, it can now be called aspoify. - Fixed spurious change messages for lines that are the same.
- Fixed
dir2msgstrmissing new female entries. - Fixed
poifyto always use Linux style paths in occurrences, even on Windows. - POlib updated to 1.2.0.
Action: added handle-charsets capability.
Action: force unpoify if dir2msgstr found changes.
Allow to load manual translation change to the same value that existing msgstr is set to in PO, when extract_fuzzy
is not set, clearing fuzzy flag.
- Renamed some files to get rid of dash to fix pip install.
- Renamed some files to get rid of dash to fix pip install.
- Bumped version.
- Added
svslug for Swedish language.
- Fixed
poifyprocessing utf-8 characters in EE source tra's.
- Fixed
msgmergesometimes obsoleting female entries that have a fuzzy male match. msgmergenow deletes obsolete female entries.
dir2msgstrworks faster on translations with many female entries.- Fixed spurious "different female lines" message in
*msgstr. *msgstrloads changed female values too.unfuzzycan use local config.- Action filters are shown in output for easier debug.
- Action
trapaths are fixed.
- Fixed version in po generator.
- Moved lowercasing into a separate script.
- Action:
- Works
- Works faster
- Commit and push enabled by default.
POT-Creation-Dateonly updated on actual update.- F2: For female lines in game dir, print a warning instead of dying.
- Enforce line endings:
\nfor PO and\r\nfor translation files. - Proper encoding for Hungarian.
- Fixed
dir2msgstrencoding detection. dir2msgstrnow supports known locale codes.- Unfuzzying by
*2msgstrproperly removesprevious_msgid.
- Massive rewrite under the hood.
- Published to PyPi.
- Added github action.
- Added repeated runs capability for
dir2msgstr.