Skip to content

rubrapack 0.54.0

Choose a tag to compare

@rubidus-api rubidus-api released this 10 Nov 14:48

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, lint and build was compared with 0.53.0 as well.
  • A language pack's command-line keys (msgid) are written with {}, as in msgid "cannot read '{}' ({})". Translations are unchanged: {1}, {-2} and {{ still work.
    • A pack kept outside the program (RUBRAPACK_LANG_DIR, or lang/ beside the source or the program) written for 0.53.0 or earlier has %s in its keys. Those texts now come out in English until the keys are rewritten.
    • The rewrite: %s, %zu, %u, %d, %.*s and the like become {}; %04X becomes {:04X}; %% becomes %; a brace is doubled.
    • The pack's installer texts are not affected.

Fixed

  • A [service] whose file is not a program named it '(null)' (RP1315) when the file had no source. 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