Changeset 34687 in osm for applications/editors
- Timestamp:
- 2018-10-21T17:40:44+02:00 (6 years ago)
- Location:
- applications/editors/josm/i18n
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/build.xml
r34686 r34687 68 68 </target> 69 69 <target name="po/josm.pot" description="Extracts message keys from the source code" depends="trans_.java,init,filterpluginsources"> 70 <gettext-extract keysFile="josm. raw.pot" poDirectory="po" keywords="${gettext.keywords}">70 <gettext-extract keysFile="josm.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot"> 71 71 <!-- core.pot --> 72 72 <fileset dir="${josm.build.dir}/src" includes="**/*.java"/> … … 84 84 <fileset dir="${i18n.build.dir}" includes="trans_tag2link.java"/> 85 85 </gettext-extract> 86 <exec executable="msggrep" failonerror="true">87 <arg line="--msgid --regexp='---DUMMY-MARKER---' --invert-match --output-file=po/josm.pot po/josm.raw.pot"/>88 </exec>89 <delete file="po/josm.raw.pot"/>90 86 </target> 91 87 <target name="po/core.pot" description="Extracts message keys from the JOSM core source code" depends="trans_.java,init"> 92 <gettext-extract keysFile="core.pot" poDirectory="po" keywords="${gettext.keywords} ">88 <gettext-extract keysFile="core.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot"> 93 89 <fileset dir="${josm.build.dir}/src" includes="**/*.java"/> 94 90 <fileset dir="${i18n.build.dir}" includes="specialmessages.java"/> … … 101 97 </target> 102 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"> 103 <gettext-extract keysFile="data. raw.pot" poDirectory="${i18n.build.dir}" keywords="${gettext.keywords}">99 <gettext-extract keysFile="data.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot --exclude-file=po/core.pot"> 104 100 <fileset dir="${i18n.build.dir}" includes="trans_plugins.java"/> 105 101 <!-- <fileset dir="${i18n.build.dir}/josmfiles" includes="trans_*.*"/> --> 106 102 </gettext-extract> 107 <copy todir="${po.build.dir}">108 <fileset dir="po" includes="core.pot"/>109 </copy>110 <exec executable="msgcomm" failonerror="true" output="po/data.pot">111 <arg line="--unique po/core.pot ${po.build.dir}/core.pot ${i18n.build.dir}/data.raw.pot"/>112 </exec>113 <delete file="${po.build.dir}/core.pot"/>114 <delete file="${po.build.dir}/data.raw.pot"/>115 103 </target> 116 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"> 117 <gettext-extract keysFile="plugins. raw.pot" poDirectory="${i18n.build.dir}" keywords="${gettext.keywords}">105 <gettext-extract keysFile="plugins.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot --exclude-file=po/core.pot"> 118 106 <fileset dir="${plugin.dir}" includesfile="${po.build.dir}/pluginSrc.txt"/> 119 107 <fileset dir="${i18n.build.dir}" includes="trans_surveyor.java"/> 120 108 <fileset dir="${i18n.build.dir}" includes="trans_tag2link.java"/> 121 109 </gettext-extract> 122 <copy todir="${po.build.dir}">123 <fileset dir="po" includes="core.pot"/>124 <fileset dir="po" includes="data.pot"/>125 </copy>126 <exec executable="msgcomm" failonerror="true" output="po/plugins.pot">127 <arg line="--unique po/core.pot ${po.build.dir}/core.pot po/data.pot ${po.build.dir}/data.pot ${i18n.build.dir}/plugins.raw.pot"/>128 </exec>129 <delete file="${po.build.dir}/core.pot"/>130 <delete file="${po.build.dir}/data.pot"/>131 <delete file="${po.build.dir}/plugins.raw.pot"/>132 110 </target> 133 111 <target name="build" depends="pot,allpot">
Note:
See TracChangeset
for help on using the changeset viewer.