From 203fb52bb5b1462dc65678208a9a0eb5f97a0180 Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 6 Apr 2016 18:38:44 +0000 Subject: [PATCH] bugfix, default to input for missing translations svn path=/trunk/; revision=22 --- misc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc.sh b/misc.sh index adc879b..54c3dc6 100755 --- a/misc.sh +++ b/misc.sh @@ -53,5 +53,5 @@ invalidate(){ declare -A item_name l10n(){ - [ -n "$item_name[$1]+x" ] && printf %s "$item_name[$1]" || printf %s "$1" + [ -n "${item_name[$1]+x}" ] && printf %s "$item_name[$1]" || printf %s "$1" } -- 2.39.2