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:
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
|
||||
Reference in new issue
Block a user