build(iso): apply the Anaconda and static translations in the image

A failure stops the build, since the login screen would show keys.
This commit is contained in:
nocode committed 2026-11-26 18:18:25 +01:00
1 parent 9407f0d9d6
commit 4db22a5974
1 file changed
+13
@@ -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