txt/locale
Some checks failed
/ arch (push) Successful in 2m58s
/ alpine (push) Successful in 2m28s
/ fedora (push) Successful in 12m21s
/ opensuse (push) Successful in 3m37s
/ alma (push) Successful in 12m24s
/ rocky (push) Successful in 13m2s
/ ubuntu (push) Successful in 7m6s
/ debian (push) Failing after 3m44s

This commit is contained in:
Marc Beninca 2024-09-08 19:42:49 +02:00
parent ec14e2ae72
commit ca5de693dc
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -959,7 +959,7 @@ spcd_f_pm_pkg_upgrade() {
# │ f │ txt │
# ╰───┴─────╯
spcd_txt_locale() {
spcd_f_txt_locale() {
local action="${1}"
local chosen="${2}"
set -- \
@ -994,7 +994,7 @@ spcd_txt_locale() {
fi
;;
"set")
spcd_txt_locale "list"
spcd_f_txt_locale "list"
spcd_split
local locale long
if [ -n "${chosen}" ]; then
@ -1011,7 +1011,7 @@ spcd_txt_locale() {
fi
done
spcd_split
spcd_txt_locale "list"
spcd_f_txt_locale "list"
;;
"show")
local regex
@ -1319,9 +1319,9 @@ spcd_step__packages_install_locales() {
spcd_step "Install"
spcd_f_txt_locales "install"
spcd_step "Set"
spcd_txt_locale "set" "${SPCD_TXT_LOCALE}"
spcd_f_txt_locale "set" "${SPCD_TXT_LOCALE}"
spcd_step "Show"
spcd_txt_locale "show"
spcd_f_txt_locale "show"
spcd_step_out
}