Commit Graph
4 Commits
Author SHA1 Message Date
nocode 9407f0d9d6 feat(i18n): write the translations into files that cannot look them up
Menu entries, the SDDM theme and polkit policies are read by programs
that know nothing of the FWS catalogs: every language is written into
them at build time, and each program picks its user's language.
2026-11-26 18:18:25 +01:00
nocode 9b11dd980b feat(installer): merge the missing translations into Anaconda's catalogs
Each text is added to anaconda.mo only when Anaconda has no translation
or a copy of the English text: its own translations always win. One
catalog serves both the Python code and GtkBuilder, so the .mo is
rewritten rather than a second domain added.
2026-11-26 18:18:25 +01:00
nocode 6e0eb8f6fc feat(i18n): add a Bash helper for the translations of the shell tools
It loads every text of the given namespaces with a single fws-i18n call
instead of starting Python for each message, and accepts translated
yes/no answers.
2026-11-26 18:18:25 +01:00
nocode 9722d03e82 feat(i18n): share the translations module with the installed system
The FWS tools of the installed system need the same lookup as the
installer screens, but must not depend on Anaconda's folder: its path
follows Python's version and Anaconda can be removed after installing.
The language now follows gettext's order of variables, and
/etc/locale.conf for the tools started through sudo.
2026-11-26 18:18:24 +01:00