Build: Use --java2 for msgfmt

Runtime should be smaller and faster w/o Hashtable
Increases p200 size by < 1%; repack by 3.5%; updater by 4.5%
This commit is contained in:
zzz
2020-05-05 10:36:56 +00:00
parent 2b1c6a9d8f
commit 467a48cfe1
12 changed files with 24 additions and 24 deletions

View File

@ -105,7 +105,7 @@ do
then
# slow way
# convert to class files in build/obj
msgfmt --java --statistics -r $CLASS -l $LG -d build/obj $i
msgfmt --java2 --statistics -r $CLASS -l $LG -d build/obj $i
if [ $? -ne 0 ]
then
echo "ERROR - msgfmt failed on ${i}, not updating translations"
@ -123,7 +123,7 @@ do
TDY=$TD2/net/i2p/util
rm -rf $TD
mkdir -p $TD $TDY
msgfmt --java --statistics --source -r $CLASS -l $LG -d $TD $i
msgfmt --java2 --statistics --source -r $CLASS -l $LG -d $TD $i
if [ $? -ne 0 ]
then
echo "ERROR - msgfmt failed on ${i}, not updating translations"