From aafbc7ecafe0e2fb39308fa4866348ef14b5d87a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Wed, 14 Feb 2024 16:03:50 +0100 Subject: [PATCH] _msg: Yay... It's working --- qsgen2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qsgen2 b/qsgen2 index fbbd874..77a2785 100755 --- a/qsgen2 +++ b/qsgen2 @@ -47,7 +47,7 @@ found=false typeset -A qsgenlang for dir in $fpath; do if [[ -f "${dir}/${language}" ]]; then - echo "Language file: ${dir}/${language}" + # echo "Language file: ${dir}/${language}" source "${dir}/${language}" found=true break @@ -79,10 +79,10 @@ function _msg() { local full_msg="" for arg in "$@"; do if [[ -n "${qsgenlang[$arg]}" ]]; then - echo "Found key: $arg" # Debug line to confirm key is found + # echo "Found key: $arg" # Debug line to confirm key is found full_msg+="${qsgenlang[$arg]}" else - echo "Key not found: $arg" # Debug line for keys not found + # echo "Key not found: $arg" # Debug line for keys not found full_msg+="$arg" fi done