Changeset 34688 in osm for applications/editors/josm/i18n
- Timestamp:
- 2018-10-21T17:40:47+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/build.xml
r34687 r34688 11 11 <property name="i18n.build.dir" value="build"/> 12 12 <property name="i18n.install.dir" value="${josm.build.dir}/data"/> 13 <property name=" i18n_data.install.dir" value="${josm.build.dir}/data_nodist/trans"/>13 <property name="pluginlist.install.dir" value="${josm.build.dir}/data_nodist/trans"/> 14 14 <property name="po.build.dir" value="${i18n.build.dir}"/> 15 15 <property name="ant.build.javac.target" value="1.5"/> … … 96 96 </gettext-extract> 97 97 </target> 98 <target name="po/ data.pot" description="Extracts message keys from data files, e.g., presets, imagery (minus core strings)" depends="trans_.java,po/core.pot,init">99 <gettext-extract keysFile=" data.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot --exclude-file=po/core.pot">98 <target name="po/pluginlist.pot" description="Extracts message keys from plugin descriptions" depends="trans_.java,init"> 99 <gettext-extract keysFile="pluginlist.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot"> 100 100 <fileset dir="${i18n.build.dir}" includes="trans_plugins.java"/> 101 101 <!-- <fileset dir="${i18n.build.dir}/josmfiles" includes="trans_*.*"/> --> 102 102 </gettext-extract> 103 103 </target> 104 <target name="po/plugins.pot" description="Extracts message keys from the plugins source code (minus core and data strings)" depends="trans_.java,po/core.pot, po/data.pot,init">104 <target name="po/plugins.pot" description="Extracts message keys from the plugins source code (minus core and data strings)" depends="trans_.java,po/core.pot,init"> 105 105 <gettext-extract keysFile="plugins.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot --exclude-file=po/core.pot"> 106 106 <fileset dir="${plugin.dir}" includesfile="${po.build.dir}/pluginSrc.txt"/> … … 125 125 </antcall> 126 126 </target> 127 <target name="buildcore" depends="po/core.pot,po/data.pot">127 <target name="buildcore"> 128 128 <antcall target="coretrans"/> 129 <antcall target=" datatrans"/>130 </target> 131 <target name="coretrans" >129 <antcall target="pluginlisttrans"/> 130 </target> 131 <target name="coretrans" depends="po/core.pot"> 132 132 <exec executable="perl" failonerror="true"> 133 133 <arg line="i18n.pl --potfile=po/core.pot --basedir=${i18n.install.dir}/ po/*.po"/> 134 134 </exec> 135 135 </target> 136 <target name=" datatrans">137 <exec executable="perl" failonerror="true"> 138 <arg line="i18n.pl --potfile=po/ data.pot --basedir=${i18n_data.install.dir}/ po/*.po"/>136 <target name="pluginlisttrans" depends="po/pluginlist.pot"> 137 <exec executable="perl" failonerror="true"> 138 <arg line="i18n.pl --potfile=po/pluginlist.pot --basedir=${pluginlist.install.dir}/ po/*.po"/> 139 139 </exec> 140 140 </target> … … 191 191 </target> 192 192 <target name="pot" depends="po/josm.pot" /> 193 <target name="allpot" depends="po/core.pot,po/ data.pot,po/plugins.pot" />193 <target name="allpot" depends="po/core.pot,po/pluginlist.pot,po/plugins.pot" /> 194 194 <target name="update"> 195 195 <exec executable="perl" failonerror="true">
Note:
See TracChangeset
for help on using the changeset viewer.