From c939aafc4a37402caeca836a4bbda1eebb81d847 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Feb 04 2011 21:16:45 +0000 Subject: Update cli_getLangName.sh. --- diff --git a/Scripts/Bash/Functions/cli_getLangName.sh b/Scripts/Bash/Functions/cli_getLangName.sh index ff1b0ca..e49f116 100755 --- a/Scripts/Bash/Functions/cli_getLangName.sh +++ b/Scripts/Bash/Functions/cli_getLangName.sh @@ -26,7 +26,7 @@ function cli_getLangName { - local LANGCODE="$(echo $1 | cut -d_ -f1)" + local LANGCODE="$(echo "$1" | cut -d_ -f1 | tr '[:upper:]' '[:lower:]')" local LANGNAME='' case $LANGCODE in