From: Daniel L. <dle...@us...> - 2005-05-24 18:40:36
|
Update of /cvsroot/jmol/Jmol In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20048 Modified Files: build-i18n.xml Log Message: Print relative path to file in .po(t) files, not the full (local specific) part. Update po and pot files. Index: build-i18n.xml =================================================================== RCS file: /cvsroot/jmol/Jmol/build-i18n.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build-i18n.xml 24 May 2005 14:17:49 -0000 1.4 +++ build-i18n.xml 24 May 2005 18:40:28 -0000 1.5 @@ -13,8 +13,8 @@ <property name="lib.dir" value="jars" /> <property name="src.dir" value="src" /> - <property name="Jmol.po.dir" value="src/org/jmol/translation/Jmol" /> - <property name="JmolApplet.po.dir" value="src/org/jmol/translation/JmolApplet" /> + <property name="Jmol.po.dir" value="${basedir}/src/org/jmol/translation/Jmol" /> + <property name="JmolApplet.po.dir" value="${basedir}/src/org/jmol/translation/JmolApplet" /> <property name="all.Jmol.languages" value="de,nl" /> <property name="all.JmolApplet.languages" value="de" /> <!-- <property name="all.modules" value="Jmol,JmolApplet" /> --> @@ -45,10 +45,11 @@ <!-- create Jmol.pot --> <target name="create-application-pot" id="create-application-pot" depends="clean-application-pot"> <echo message="Generating Jmol.pot (gettext PO-template) file in ${Jmol.po.dir} ..."/> - <apply executable="xgettext" dir="${Jmol.po.dir}" parallel="true" verbose="true"> + <apply executable="xgettext" dir="${src.dir}" parallel="true" verbose="true" relative="true"> <arg value="-kGT._" /> <arg value="-s" /> <arg value="--language=Java" /> + <arg value="--output-dir=${Jmol.po.dir}" /> <arg value="--output=Jmol.pot" /> <fileset dir="${src.dir}"> <include name="**/*.java"/> @@ -59,10 +60,11 @@ <!-- create JmolApplet.pot --> <target name="create-applet-pot" id="create-applet-pot" depends="clean-applet-pot"> <echo message="Generating JmolApplet.pot (gettext PO-template) file ..."/> - <apply executable="xgettext" dir="${JmolApplet.po.dir}" parallel="true" verbose="true"> + <apply executable="xgettext" dir="${src.dir}" parallel="true" verbose="true" relative="true"> <arg value="-kGT._" /> <arg value="-s" /> <arg value="--language=Java" /> + <arg value="--output-dir=${JmolApplet.po.dir}" /> <arg value="--output=JmolApplet.pot" /> <fileset dir="${src.dir}"> <include name="**/*.java"/> |