- make gettext optional
- minor tweaks to the header of the po (probably not important)
This commit is contained in:
@ -31,6 +31,10 @@
|
||||
<property name="swt.win64" value="${swt.dir}/swt-win64.jar" />
|
||||
<property name="swt.mac32" value="${swt.dir}/swt-mac32.jar" />
|
||||
<property name="swt.mac64" value="${swt.dir}/swt-mac64.jar" />
|
||||
<condition property="no.bundle">
|
||||
<isfalse value="${require.gettext}" />
|
||||
</condition>
|
||||
<property name="require.gettext" value="true" />
|
||||
|
||||
<!-- allow lib locations to be overridden -->
|
||||
<property name="hsqldb.jar" value="${lib.dir}/hsqldb.jar" />
|
||||
@ -369,7 +373,7 @@
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="bundle" depends="compile" description="process the translations">
|
||||
<target name="bundle" depends="compile" description="process the translations" unless="no.bundle">
|
||||
<!-- Update the messages_*.po files -->
|
||||
<exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="${require.gettext}" >
|
||||
<arg value="./bundle-messages.sh" />
|
||||
@ -1137,6 +1141,5 @@ exec java -d64 -XstartOnFirstThread -cp $CP syndie.gui.SWTUI
|
||||
</target>
|
||||
|
||||
<target name="pkg-all" depends="distclean, installer-all, pkg-osx, source-tarball, pkg-cli" description="Create packages/installers for all supported systems." />
|
||||
|
||||
</project>
|
||||
<!-- vim: set ft=xml ts=4 sw=4 et: -->
|
||||
|
Reference in New Issue
Block a user