diff --git a/configs/baseline/airootfs/root/customize_airootfs.sh b/configs/baseline/airootfs/root/customize_airootfs.sh index e3c08bd..3feb72c 100644 --- a/configs/baseline/airootfs/root/customize_airootfs.sh +++ b/configs/baseline/airootfs/root/customize_airootfs.sh @@ -47,3 +47,16 @@ if [ -d /usr/local/share/fws/anaconda-overlay/pyanaconda ]; then fi done fi + +# --- Anaconda's own texts missing from its catalogs --------------------------- +# Some languages get parts of Anaconda's screens in English (Bulgarian lacked +# most of the root account screen): anaconda-translations.toml fills those +# gaps, never overriding a translation Anaconda has. After the anaconda +# package is installed, which is now. +python3 /usr/local/lib/fws/merge-anaconda-translations.py + +# --- FWS translations written into files that cannot look them up ------------- +# Menu entries, the SDDM theme and the polkit policy are read by programs that +# know nothing of system-translations.toml: every language is written into them +# here. A failure stops the build, since the login screen would show keys. +python3 /usr/local/lib/fws/translate-static-files.py