small fixes

stupid mistake, where I forgot to replace XX with $1
added locale information to generated po-file
removed redundant positive output
This commit is contained in:
David Tiersch
2014-03-27 03:25:16 +01:00
parent 3737cf27d1
commit c53c9e0bb0

View File

@@ -54,8 +54,7 @@ case "$OPERATION" in
# Actual generation
mkdir -p ${ROOT}i18n/$1/LC_MESSAGES/
gen_pot
msginit --input=${ROOT}i18n/glances.pot --output=${ROOT}i18n/XX/LC_MESSAGES/glances.po
echo "${ROOT}i18n/XX/LC_MESSAGES/glances.po successful created"
msginit --locale="$1" --input=${ROOT}i18n/glances.pot --output=${ROOT}i18n/$1/LC_MESSAGES/glances.po
exit 0
;;
update)