Repository navigation
rubrapack 0.54.0
This release follows 0.53.0. The texts rubrapack prints - its errors and warnings, lint's findings and its own lines, in English and in every language pack - are now formatted by the vendored proven_c_lib. They come out the same as before, except two messages that used to show (null). A language pack kept outside the program must use the new form of its command-line keys.
Changed
- The command line's texts are formatted by proven_c_lib, the translated ones too. Each value is written as
{}instead of a printf%s, and each value is rendered by proven_c_lib. Every text comes out byte for byte as before, in English and in each of the 48 built-in languages, except the two fixed below.- A value that is missing now shows as nothing, where printf wrote
(null). - Before this release, the old and the new message engine were compared for every one of the 803 formats in English and all 48 languages, with values of every kind: they gave the same bytes. The output of
help,explain,lintandbuildwas compared with 0.53.0 as well.
- A value that is missing now shows as nothing, where printf wrote
- A language pack's command-line keys (msgid) are written with
{}, as inmsgid "cannot read '{}' ({})". Translations are unchanged:{1},{-2}and{{still work.- A pack kept outside the program (
RUBRAPACK_LANG_DIR, orlang/beside the source or the program) written for 0.53.0 or earlier has%sin its keys. Those texts now come out in English until the keys are rewritten. - The rewrite:
%s,%zu,%u,%d,%.*sand the like become{};%04Xbecomes{:04X};%%becomes%; a brace is doubled. - The pack's installer texts are not affected.
- A pack kept outside the program (
Fixed
- A
[service]whose file is not a program named it'(null)'(RP1315) when the file had nosource. It names the file's ID. - A merge module's own source built as an MSIX was named
[module.(null)](RP1605). It is[module].
Good to know
- Packages are byte for byte the same as with 0.53.0, but for the version rubrapack writes into them.
- Checked on Windows 11: the Windows program builds and runs, and prints translated messages with their values.
Manual
- Web: https://rubidus-api.github.io/rubrapack/. The reference's "Language packs" section describes the new keys.
- PDF:
rubrapack-manual-0.54.0-en.pdfandrubrapack-manual-0.54.0-ko.pdf(attached).