_msg: Still trying

This commit is contained in:
Stig-Ørjan Smelror 2024-02-14 16:02:19 +01:00
parent 5907393b77
commit e395bba757

4
qsgen2
View File

@ -78,9 +78,9 @@ function _msg() {
local full_msg="" local full_msg=""
for arg in "$@"; do 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 echo "Found key: $arg" # Debug line to confirm key is found
full_msg+="${(qk)qsgenlang[$arg]}" full_msg+="${qsgenlang[$arg]}"
else 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" full_msg+="$arg"