qsgen2: Messed up finding language files...

This commit is contained in:
Stig-Ørjan Smelror 2024-02-16 20:34:02 +01:00
parent 6045c8fba4
commit b07d0a6708

2
qsgen2
View File

@ -46,7 +46,7 @@ for dir in $fpath; do
# echo "Language file: ${dir}/${language}" # echo "Language file: ${dir}/${language}"
source "${dir}/${language}" source "${dir}/${language}"
break break
else elif [[ ! -f "${dir}/${language}" ]]; then
# Fall back to en_US if defined language isn't found # Fall back to en_US if defined language isn't found
echo "Defined language, ${language}, not found. Using en_US." echo "Defined language, ${language}, not found. Using en_US."
source "${dir}/en_US" source "${dir}/en_US"