Update translations
This commit is contained in:
parent
803e4a3b9a
commit
2bb7a202e9
|
@ -109,8 +109,10 @@ function install_translations {
|
|||
fi
|
||||
|
||||
# install the mo
|
||||
if [ -f locale/${lang}/${COMMAND_NAME}.mo ]; then
|
||||
cp locale/${lang}/${COMMAND_NAME}.mo /usr/share/locale/${lang}/${COMMAND_NAME}.mo
|
||||
if [ -d /usr/share/locale/${lang} ]; then
|
||||
if [ -f locale/${lang}/${COMMAND_NAME}.mo ]; then
|
||||
cp locale/${lang}/${COMMAND_NAME}.mo /usr/share/locale/${lang}/${COMMAND_NAME}.mo
|
||||
fi
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue