Merge branch 'develop' of github.com:nicolargo/glances into feature/issue403

This commit is contained in:
Nicolargo 2014-08-09 15:25:36 +02:00
commit f0a7dfd77e

View File

@ -34,13 +34,13 @@ function gen_pot() {
xgettext --language=Python --keyword=_ --output=${ROOT}i18n/glances.pot `find ${ROOT}glances/ -name "*.py"`
}
OPERATION="$1"
shift
if [ -z "$1" ]; then
if [ $# != 2 ]; then
usage
fi
OPERATION="$1"
shift
case "$OPERATION" in
init)
# If there is already a language file for specified language there is no need to generate a new one