From e395bba757f48838dcd44c3a35bfe92325003b4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Wed, 14 Feb 2024 16:02:19 +0100 Subject: [PATCH] _msg: Still trying --- qsgen2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qsgen2 b/qsgen2 index f57798f..fbbd874 100755 --- a/qsgen2 +++ b/qsgen2 @@ -78,9 +78,9 @@ function _msg() { local full_msg="" for arg in "$@"; do - if [[ -n "${(qk)qsgenlang[$arg]}" ]]; then + if [[ -n "${qsgenlang[$arg]}" ]]; then echo "Found key: $arg" # Debug line to confirm key is found - full_msg+="${(qk)qsgenlang[$arg]}" + full_msg+="${qsgenlang[$arg]}" else echo "Key not found: $arg" # Debug line for keys not found full_msg+="$arg"