qsgen2: Load language after reading config file
This commit is contained in:
parent
c68dafda4f
commit
61cd217861
4
qsgen2
4
qsgen2
@ -22,7 +22,6 @@ globaldebug=false
|
|||||||
fpath=(${HOME}/bin/include/common ${HOME}/.config/qsgen2/lang $fpath)
|
fpath=(${HOME}/bin/include/common ${HOME}/.config/qsgen2/lang $fpath)
|
||||||
# In this case, let's load the 'include' function
|
# In this case, let's load the 'include' function
|
||||||
autoload include
|
autoload include
|
||||||
autoload ${language}
|
|
||||||
|
|
||||||
# Including some colors to the script
|
# Including some colors to the script
|
||||||
include common/colors
|
include common/colors
|
||||||
@ -122,6 +121,9 @@ if (${globaldebug}); then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Load language
|
||||||
|
autoload ${language}
|
||||||
|
|
||||||
# Define cache files for blogs and pages
|
# Define cache files for blogs and pages
|
||||||
blog_cache_file="${project_dir}/.blog_cache"
|
blog_cache_file="${project_dir}/.blog_cache"
|
||||||
pages_cache_file="${project_dir}/.pages_cache"
|
pages_cache_file="${project_dir}/.pages_cache"
|
||||||
|
Loading…
Reference in New Issue
Block a user