_/txt
This commit is contained in:
parent
f920e596d9
commit
25dba9af19
1 changed files with 15 additions and 0 deletions
|
@ -172,6 +172,21 @@ _spcd_step_wipe() {
|
||||||
"__SPCD_STEP_${__SPCD_STEP_LEVEL}_LABEL"
|
"__SPCD_STEP_${__SPCD_STEP_LEVEL}_LABEL"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ╭───┬─────╮
|
||||||
|
# │ _ │ txt │
|
||||||
|
# ╰───┴─────╯
|
||||||
|
|
||||||
|
_SPCD_TXT_LANGUAGE_ENGLISH="en"
|
||||||
|
_SPCD_TXT_LANGUAGE_FRENCH="fr"
|
||||||
|
|
||||||
|
_spcd_txt_pick() {
|
||||||
|
case "${SPCD_TXT_LANGUAGE}" in
|
||||||
|
"${_SPCD_TXT_LANGUAGE_ENGLISH}") echo "${2}" ;;
|
||||||
|
"${_SPCD_TXT_LANGUAGE_FRENCH}") echo "${1}" ;;
|
||||||
|
*) ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
# ╭───────────╮
|
# ╭───────────╮
|
||||||
# │ functions │
|
# │ functions │
|
||||||
# ╰───────────╯
|
# ╰───────────╯
|
||||||
|
|
Loading…
Reference in a new issue