--- trunk/installer-simple/generate-po.sh 2014/01/04 00:37:47 2350 +++ trunk/installer-simple/generate-po.sh 2014/01/06 12:24:58 2356 @@ -49,7 +49,7 @@ if [ ! -f "${pot}" ] then echo "Error: ${pot} missing - run --create-pot or --append-pot" - exit 1 + exit 1 fi for lang in ${languages} @@ -58,11 +58,11 @@ if [ -f "${po}" ] then echo "Updating lang '${lang}'" - msgmerge --quiet --no-fuzzy-matching --no-wrap --update "${po}" "${pot}" + msgmerge --quiet --no-fuzzy-matching --no-wrap --sort-by-file --update "${po}" "${pot}" else echo "Processing lang '${lang}'" install -d locale/"${lang}" - install -m0644 "${pot}" "${po}" + msginit --no-wrap --no-translator --locale="${lang}" --input="${pot}" --output-file="${po}" fi done }