From e67b3ac951718f0b6dee0316b5280d0675f4a0a0 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Feb 24 2011 21:05:27 +0000 Subject: Update init.sh to fix TEXTDOMAINDIR path. --- diff --git a/Scripts/Bash/centos-art/init.sh b/Scripts/Bash/centos-art/init.sh index b63eb6d..15deb83 100755 --- a/Scripts/Bash/centos-art/init.sh +++ b/Scripts/Bash/centos-art/init.sh @@ -32,16 +32,16 @@ # empty or malformed. [[ ! $HOME =~ '^/home/[[:alnum:]]+' ]] && HOME='/home/centos' -# Initizalize internazionalization through gettext. -. gettext.sh -export TEXTDOMAIN=centos-art.sh -export TEXTDOMAINDIR=${HOME}/artwork/trunk/Locales/Scripts/Bash/centos-art - # Initialize personal information. export CLI_PROGRAM='centos-art' export CLI_VERSION='1.0 (beta)' export CLI_BASEDIR="${HOME}/artwork/trunk/Scripts/Bash/${CLI_PROGRAM}" +# Initizalize internazionalization through gettext. +. gettext.sh +export TEXTDOMAIN=${CLI_PROGRAM}.sh +export TEXTDOMAINDIR=${HOME}/artwork/trunk/Locales/Scripts/Bash + # Initialize common function scripts. FILES=$(ls ${CLI_BASEDIR}/Functions/{cli,cli_*}.sh) for FILE in ${FILES};do