diff options
| -rwxr-xr-x | functions/echo.sh | 12 | ||||
| -rwxr-xr-x | functions/l10n.sh | 4 | 
2 files changed, 8 insertions, 8 deletions
diff --git a/functions/echo.sh b/functions/echo.sh index 93875ea0a..034aab49a 100755 --- a/functions/echo.sh +++ b/functions/echo.sh @@ -12,7 +12,7 @@ Echo ()  	STRING="${1}"  	shift -	if [ "${LH_L10N}" = "false" ] +	if [ "${_L10N}" = "false" ]  	then  		printf "${STRING}\n"  	else @@ -27,7 +27,7 @@ Echo_debug ()  	if [ "${LH_DEBUG}" = "enabled" ]  	then -		if [ "${LH_L10N}" = "false" ] +		if [ "${_L10N}" = "false" ]  		then  			printf "D: ${STRING}\n"  		else @@ -41,7 +41,7 @@ Echo_error ()  	STRING="${1}"  	shift -	if [ "${LH_L10N}" = "false" ] +	if [ "${_L10N}" = "false" ]  	then  		printf "E: ${STRING}\n" >&2  	else @@ -56,7 +56,7 @@ Echo_message ()  	if [ "${LH_QUIET}" != "enabled" ]  	then -		if [ "${LH_L10N}" = "false" ] +		if [ "${_L10N}" = "false" ]  		then  			printf "P: ${STRING}\n"  		else @@ -72,7 +72,7 @@ Echo_verbose ()  	if [ "${LH_VERBOSE}" = "enabled" ]  	then -		if [ "${LH_L10N}" = "false" ] +		if [ "${_L10N}" = "false" ]  		then  			printf "I: ${STRING}\n"  		else @@ -86,7 +86,7 @@ Echo_warning ()  	STRING="${1}"  	shift -	if [ "${LH_L10N}" = "false" ] +	if [ "${_L10N}" = "false" ]  	then  		printf "W: ${STRING}\n"  	else diff --git a/functions/l10n.sh b/functions/l10n.sh index dded7d2d1..1e149888c 100755 --- a/functions/l10n.sh +++ b/functions/l10n.sh @@ -9,7 +9,7 @@  if [ -x "$(which gettext.sh 2>/dev/null)" ]  then -	LH_L10N="enabled" +	_L10N="enabled"  	# gettext domain (.mo file name)  	TEXTDOMAIN="${PROGRAM}" @@ -22,5 +22,5 @@ then  	# load gettext functions  	. gettext.sh  else -	LH_L10N="disabled" +	_L10N="disabled"  fi  | 
