forked from I2P_Developers/i2p.i2p
Build: Provide hints on how to fix it when msgfmt fails
This commit is contained in:
@ -110,6 +110,7 @@ do
|
|||||||
if [ $? -ne 0 ]
|
if [ $? -ne 0 ]
|
||||||
then
|
then
|
||||||
echo "ERROR - msgfmt failed on ${i}, not updating translations"
|
echo "ERROR - msgfmt failed on ${i}, not updating translations"
|
||||||
|
echo "sudo apt install gettext, or put require.gettext=false in override.properties"
|
||||||
# msgfmt leaves the class file there so the build would work the next time
|
# msgfmt leaves the class file there so the build would work the next time
|
||||||
find build -name messages_${LG}.class -exec rm -f {} \;
|
find build -name messages_${LG}.class -exec rm -f {} \;
|
||||||
RC=1
|
RC=1
|
||||||
@ -128,6 +129,7 @@ do
|
|||||||
if [ $? -ne 0 ]
|
if [ $? -ne 0 ]
|
||||||
then
|
then
|
||||||
echo "ERROR - msgfmt failed on ${i}, not updating translations"
|
echo "ERROR - msgfmt failed on ${i}, not updating translations"
|
||||||
|
echo "sudo apt install gettext, or put require.gettext=false in override.properties"
|
||||||
# msgfmt leaves the class file there so the build would work the next time
|
# msgfmt leaves the class file there so the build would work the next time
|
||||||
find build/obj -name messages_${LG}.class -exec rm -f {} \;
|
find build/obj -name messages_${LG}.class -exec rm -f {} \;
|
||||||
RC=1
|
RC=1
|
||||||
|
Reference in New Issue
Block a user