From: paul Date: Wed, 6 Apr 2016 18:38:44 +0000 (+0000) Subject: bugfix, default to input for missing translations X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=203fb52bb5b1462dc65678208a9a0eb5f97a0180;p=cgilite bugfix, default to input for missing translations svn path=/trunk/; revision=22 --- 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" }