Debug localization

This commit is contained in:
Stig-Ørjan Smelror 2024-02-14 13:31:47 +01:00
parent 000cee4e49
commit fd54fc7543
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,5 @@
typeset -A localization typeset -A localization
localization+=(
localization=(
_qsgen2_msg_2 "- Tvungen oppdatering: Genererer alt" _qsgen2_msg_2 "- Tvungen oppdatering: Genererer alt"
_qsgen2_msg_3 "* %SCRIPT_NAME% kan ikke analysere dette nettstedet. Avslutter. *" _qsgen2_msg_3 "* %SCRIPT_NAME% kan ikke analysere dette nettstedet. Avslutter. *"
_qsgen2_msg_4 "Vennligst installer Pandoc." _qsgen2_msg_4 "Vennligst installer Pandoc."

1
qsgen2
View File

@ -46,6 +46,7 @@ fi
found=false found=false
for dir in $fpath; do for dir in $fpath; do
if [[ -f "${dir}/${language}" ]]; then if [[ -f "${dir}/${language}" ]]; then
echo "Language file: ${dir}/${language}"
source "${dir}/${language}" source "${dir}/${language}"
found=true found=true
break break