Compare commits
No commits in common. "2462383fd403539156bfc8b1b38cc49026b11875" and "c82def7c7f45502d8b95c7df06960bc84f8afe28" have entirely different histories.
2462383fd4
...
c82def7c7f
3 changed files with 2 additions and 37 deletions
|
@ -224,9 +224,6 @@ Handle project workflows in a unified way:
|
||||||
* comment
|
* comment
|
||||||
* drawing characters constants
|
* drawing characters constants
|
||||||
* handle errors
|
* handle errors
|
||||||
* locales
|
|
||||||
* set unicode C
|
|
||||||
* set unicode language
|
|
||||||
* packages
|
* packages
|
||||||
* configure
|
* configure
|
||||||
* apk
|
* apk
|
||||||
|
|
|
@ -62,7 +62,6 @@ def install_python_packages() -> None:
|
||||||
run("pip", "install", "--upgrade", "pip")
|
run("pip", "install", "--upgrade", "pip")
|
||||||
split()
|
split()
|
||||||
packages = [
|
packages = [
|
||||||
"gitlint",
|
|
||||||
"hatch",
|
"hatch",
|
||||||
"mypy",
|
"mypy",
|
||||||
"pelican",
|
"pelican",
|
||||||
|
|
|
@ -176,10 +176,8 @@ _spcd_step_wipe() {
|
||||||
# │ _ │ txt │
|
# │ _ │ txt │
|
||||||
# ╰───┴─────╯
|
# ╰───┴─────╯
|
||||||
|
|
||||||
_SPCD_TXT_CHARSET="utf8"
|
_SPCD_TXT_LANGUAGE_ENGLISH="en"
|
||||||
_SPCD_TXT_LANGUAGE_DEFAULT="C"
|
_SPCD_TXT_LANGUAGE_FRENCH="fr"
|
||||||
_SPCD_TXT_LANGUAGE_ENGLISH="en_US"
|
|
||||||
_SPCD_TXT_LANGUAGE_FRENCH="fr_FR"
|
|
||||||
|
|
||||||
_spcd_txt_pick() {
|
_spcd_txt_pick() {
|
||||||
case "${SPCD_TXT_LANGUAGE}" in
|
case "${SPCD_TXT_LANGUAGE}" in
|
||||||
|
@ -331,33 +329,6 @@ spcd_txt_get() {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_txt_locale() {
|
|
||||||
# LANGUAGE
|
|
||||||
if [ -n "${1}" ]; then
|
|
||||||
spcd_step__locale__value="${1}"
|
|
||||||
else
|
|
||||||
spcd_step__locale__value="${_SPCD_TXT_LANGUAGE_DEFAULT}"
|
|
||||||
fi
|
|
||||||
spcd_step__locale__value="${spcd_step__locale__value}.${_SPCD_TXT_CHARSET}"
|
|
||||||
set -- \
|
|
||||||
"LANG" \
|
|
||||||
"LC_CTYPE" \
|
|
||||||
"LC_NUMERIC" \
|
|
||||||
"LC_TIME" \
|
|
||||||
"LC_COLLATE" \
|
|
||||||
"LC_MONETARY" \
|
|
||||||
"LC_MESSAGES" \
|
|
||||||
"LC_PAPER" \
|
|
||||||
"LC_NAME" \
|
|
||||||
"LC_ADDRESS" \
|
|
||||||
"LC_TELEPHONE" \
|
|
||||||
"LC_MEASUREMENT" \
|
|
||||||
"LC_IDENTIFICATION"
|
|
||||||
for spcd_step__locale__name in "${@}"; do
|
|
||||||
export "${spcd_step__locale__name}=\"${spcd_step__locale__value}\""
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# ╭──────╮
|
# ╭──────╮
|
||||||
# │ step │
|
# │ step │
|
||||||
# ╰──────╯
|
# ╰──────╯
|
||||||
|
@ -1353,8 +1324,6 @@ ${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}"
|
||||||
|
|
||||||
spcd_main() {
|
spcd_main() {
|
||||||
# environment
|
# environment
|
||||||
spcd_txt_locale
|
|
||||||
#
|
|
||||||
spcd_step_in "Environment"
|
spcd_step_in "Environment"
|
||||||
spcd_step_in "Defaults"
|
spcd_step_in "Defaults"
|
||||||
spcd_step "Print defined"
|
spcd_step "Print defined"
|
||||||
|
|
Loading…
Reference in a new issue