From 61cd2178617ea8d87191c5e3bd250a7fd924bf3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Wed, 14 Feb 2024 11:37:25 +0100 Subject: [PATCH] qsgen2: Load language after reading config file --- qsgen2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index 8636e32..bd6b8ac 100755 --- a/qsgen2 +++ b/qsgen2 @@ -22,7 +22,6 @@ globaldebug=false fpath=(${HOME}/bin/include/common ${HOME}/.config/qsgen2/lang $fpath) # In this case, let's load the 'include' function autoload include -autoload ${language} # Including some colors to the script include common/colors @@ -122,6 +121,9 @@ if (${globaldebug}); then done fi +# Load language +autoload ${language} + # Define cache files for blogs and pages blog_cache_file="${project_dir}/.blog_cache" pages_cache_file="${project_dir}/.pages_cache"