* i2prouter: Don't attempt to translate strings from script

This commit is contained in:
zzz
2012-01-09 23:58:24 +00:00
parent ce27d69e39
commit 352c6ba4ba

View File

@@ -461,10 +461,13 @@ fi
gettext() { gettext() {
"$WRAPPER_CMD" --translate "$1" "$WRAPPER_CONF" 2>/dev/null # TODO provide translations and call external gettext.
if [ $? != 0 ] ; then # For now, don't attempt to translate via the wrapper,
# it probably isn't supported in the community edition.
#"$WRAPPER_CMD" --translate "$1" "$WRAPPER_CONF" 2>/dev/null
#if [ $? != 0 ] ; then
echo "$1" echo "$1"
fi #fi
} }
outputFile() { outputFile() {