Changeset 34686 in osm for applications/editors
- Timestamp:
- 2018-10-21T17:40:37+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/build.xml
r34262 r34686 14 14 <property name="po.build.dir" value="${i18n.build.dir}"/> 15 15 <property name="ant.build.javac.target" value="1.5"/> 16 <property name="gettext.keywords" value="-k -ktrc:1c,2 -kmarktrc:1c,2 -ktr -kmarktr -ktrn:1,2 -ktrnc:1c,2,3"/> 16 17 <property name="gettexttasks.jar" value="lib/gettext-ant-tasks-0.9.7.jar"/> 17 18 <property name="antcontrib.jar" value="lib/ant-contrib-1.0b3.jar"/> … … 67 68 </target> 68 69 <target name="po/josm.pot" description="Extracts message keys from the source code" depends="trans_.java,init,filterpluginsources"> 69 <gettext-extract keysFile="josm.raw.pot" poDirectory="po" keywords=" -k -ktrc:1c,2 -kmarktrc:1c,2 -ktr -kmarktr -ktrn:1,2 -ktrnc:1c,2,3">70 <gettext-extract keysFile="josm.raw.pot" poDirectory="po" keywords="${gettext.keywords}"> 70 71 <!-- core.pot --> 71 72 <fileset dir="${josm.build.dir}/src" includes="**/*.java"/> … … 89 90 </target> 90 91 <target name="po/core.pot" description="Extracts message keys from the JOSM core source code" depends="trans_.java,init"> 91 <gettext-extract keysFile="core.pot" poDirectory="po" keywords=" -k -ktrc:1c,2 -kmarktrc:1c,2 -ktr -kmarktr -ktrn:1,2 -ktrnc:1c,2,3">92 <gettext-extract keysFile="core.pot" poDirectory="po" keywords="${gettext.keywords}"> 92 93 <fileset dir="${josm.build.dir}/src" includes="**/*.java"/> 93 94 <fileset dir="${i18n.build.dir}" includes="specialmessages.java"/> … … 100 101 </target> 101 102 <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"> 102 <gettext-extract keysFile="data.raw.pot" poDirectory="${i18n.build.dir}" keywords=" -k -ktrc:1c,2 -kmarktrc:1c,2 -ktr -kmarktr -ktrn:1,2 -ktrnc:1c,2,3">103 <gettext-extract keysFile="data.raw.pot" poDirectory="${i18n.build.dir}" keywords="${gettext.keywords}"> 103 104 <fileset dir="${i18n.build.dir}" includes="trans_plugins.java"/> 104 105 <!-- <fileset dir="${i18n.build.dir}/josmfiles" includes="trans_*.*"/> --> … … 114 115 </target> 115 116 <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"> 116 <gettext-extract keysFile="plugins.raw.pot" poDirectory="${i18n.build.dir}" keywords=" -k -ktrc:1c,2 -kmarktrc:1c,2 -ktr -kmarktr -ktrn:1,2 -ktrnc:1c,2,3">117 <gettext-extract keysFile="plugins.raw.pot" poDirectory="${i18n.build.dir}" keywords="${gettext.keywords}"> 117 118 <fileset dir="${plugin.dir}" includesfile="${po.build.dir}/pluginSrc.txt"/> 118 119 <fileset dir="${i18n.build.dir}" includes="trans_surveyor.java"/> … … 175 176 <arg line="convplugins.pl ${plugin.dir}/${dir}/build.xml"/> 176 177 </exec> 177 <gettext-extract keysFile="josm.pot" poDirectory="${po.build.dir}/plugin_${dir}" keywords=" -k -ktrc:1c,2 -kmarktrc:1c,2 -ktr -kmarktr -ktrn:1,2 -ktrnc:1c,2,3">178 <gettext-extract keysFile="josm.pot" poDirectory="${po.build.dir}/plugin_${dir}" keywords="${gettext.keywords}"> 178 179 <fileset dir="${plugin.dir}/${dir}" includes="**/*.java"/> 179 180 <fileset dir="${po.build.dir}/plugin_${dir}" includes="trans_*.java"/>
Note:
See TracChangeset
for help on using the changeset viewer.