Update translations

This commit is contained in:
Bob Mottram 2016-03-22 20:17:21 +00:00
parent 803e4a3b9a
commit 2bb7a202e9
1 changed files with 6 additions and 4 deletions

View File

@ -109,8 +109,10 @@ function install_translations {
fi fi
# install the mo # install the mo
if [ -f locale/${lang}/${COMMAND_NAME}.mo ]; then if [ -d /usr/share/locale/${lang} ]; then
cp locale/${lang}/${COMMAND_NAME}.mo /usr/share/locale/${lang}/${COMMAND_NAME}.mo if [ -f locale/${lang}/${COMMAND_NAME}.mo ]; then
cp locale/${lang}/${COMMAND_NAME}.mo /usr/share/locale/${lang}/${COMMAND_NAME}.mo
fi
fi fi
done done
done done