Check that sharings plugin translations are created
This commit is contained in:
parent
6f7e48ad2f
commit
1d1145d699
|
@ -524,10 +524,22 @@ function install_gnusocial_plugin_sharings {
|
|||
# Languages
|
||||
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings/locale/en/LC_MESSAGES
|
||||
msgfmt -o Sharings.mo Sharings.po
|
||||
if [ ! -f Sharings.po ]; then
|
||||
echo $'English translations for GNU Social sharings plugin were not created'
|
||||
exit 84352
|
||||
fi
|
||||
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings/locale/en_GB/LC_MESSAGES
|
||||
msgfmt -o Sharings.mo Sharings.po
|
||||
if [ ! -f Sharings.po ]; then
|
||||
echo $'English (GB) translations for GNU Social sharings plugin were not created'
|
||||
exit 84352
|
||||
fi
|
||||
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings/locale/en_US/LC_MESSAGES
|
||||
msgfmt -o Sharings.mo Sharings.po
|
||||
if [ ! -f Sharings.po ]; then
|
||||
echo $'English (US) translations for GNU Social sharings plugin were not created'
|
||||
exit 84352
|
||||
fi
|
||||
|
||||
chown -R www-data:www-data /var/www/$MICROBLOG_DOMAIN_NAME/htdocs
|
||||
|
||||
|
|
Loading…
Reference in New Issue