I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit 65d99d20 authored by zzz's avatar zzz
Browse files

Build: Provide hints on how to fix it when msgfmt fails

parent f3f4cd7a
No related branches found
No related tags found
No related merge requests found
...@@ -110,6 +110,7 @@ do ...@@ -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 ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment