qsgen2: Messed up finding language files...
This commit is contained in:
parent
6045c8fba4
commit
b07d0a6708
2
qsgen2
2
qsgen2
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user