txt/locales
This commit is contained in:
parent
acae6216d0
commit
ec14e2ae72
1 changed files with 5 additions and 5 deletions
|
@ -1007,7 +1007,7 @@ spcd_txt_locale() {
|
|||
if [ "${name}" != "LANGUAGE" ]; then
|
||||
export "${name}=${long}"
|
||||
else
|
||||
export "${name}=$(spcd_txt_locales language "${chosen}")"
|
||||
export "${name}=$(spcd_f_txt_locales language "${chosen}")"
|
||||
fi
|
||||
done
|
||||
spcd_split
|
||||
|
@ -1048,7 +1048,7 @@ spcd_txt_locale() {
|
|||
esac
|
||||
}
|
||||
|
||||
spcd_txt_locales() {
|
||||
spcd_f_txt_locales() {
|
||||
local action="${1}"
|
||||
local chosen="${2}"
|
||||
set -- \
|
||||
|
@ -1057,7 +1057,7 @@ spcd_txt_locales() {
|
|||
local name
|
||||
case "${action}" in
|
||||
"install")
|
||||
spcd_txt_locales "list"
|
||||
spcd_f_txt_locales "list"
|
||||
spcd_split
|
||||
case "${SPCD_PM}" in
|
||||
"${SPCD_PM_APK}")
|
||||
|
@ -1086,7 +1086,7 @@ ${name}.${_SPCD_TXT_CHARSET} ${_SPCD_TXT_CHARSET}
|
|||
*) ;;
|
||||
esac
|
||||
spcd_split
|
||||
spcd_txt_locales "list"
|
||||
spcd_f_txt_locales "list"
|
||||
;;
|
||||
"language")
|
||||
local text
|
||||
|
@ -1317,7 +1317,7 @@ spcd_step__packages_install_tools() {
|
|||
spcd_step__packages_install_locales() {
|
||||
spcd_step_in "Locales"
|
||||
spcd_step "Install"
|
||||
spcd_txt_locales "install"
|
||||
spcd_f_txt_locales "install"
|
||||
spcd_step "Set"
|
||||
spcd_txt_locale "set" "${SPCD_TXT_LOCALE}"
|
||||
spcd_step "Show"
|
||||
|
|
Loading…
Reference in a new issue