From 4db22a59747d2720e9ca15a86c167db3b54d20b1 Mon Sep 17 00:00:00 2001 From: fkDead Date: Thu, 26 Nov 2026 18:18:25 +0100 Subject: [PATCH] build(iso): apply the Anaconda and static translations in the image A failure stops the build, since the login screen would show keys. --- .../baseline/airootfs/root/customize_airootfs.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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