Port Perl code to translatable strings format supported by GNU gettext
We should switch from
gettext to https://metacpan.org/pod/Locale::TextDomain, and then i18nspector upstream is open to add checks about this translatable strings format. This would allow detecting, for example, missing placeholders or mistakenly translated placeholders in translated strings.
This will also allow fully checking that placeholders match in translated strings, using
All the code that needs adjusting lives in
But while we're at it, let's also port:
config/chroot_local-includes/usr/src/persistence-setup/lib/Tails/Persistence/Step/*.pmto this translatable strings format: I see 3 instances of
gettextwith positional placeholders, that translators cannot reorder.
- other Perl programs that use