Changeset 34694 in osm for applications/editors


Ignore:
Timestamp:
2018-10-22T23:58:01+02:00 (6 years ago)
Author:
simon04
Message:

JOSM/i18n: merge pluginstrans w/ singleplugintrans

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/i18n/build.xml

    r34693 r34694  
    127127    </target>
    128128    <target name="buildplugins" depends="init">
    129         <foreach param="path" target="plugintrans" parallel="true" maxThreads="8">
     129        <foreach param="plugin" target="singleplugintrans" parallel="true" maxThreads="8">
    130130            <path>
    131131                <dirset dir="${plugin.dir}" includes="*" excludes="00_*" />
     
    133133        </foreach>
    134134    </target>
    135     <target name="singleplugintrans" depends="init">
    136         <antcall target="plugintrans">
    137             <param name="path" value="${plugin}"/>
    138         </antcall>
    139     </target>
    140135    <target name="buildcore">
    141136        <antcall target="coretrans"/>
     
    154149    <!-- If the file `josm.pot` is present and the plugin has a `data/` directory, update its *.po files based on the ones in the `po/` directory. -->
    155150    <!-- If the plugin has a Transifex config file `.tx/config`, skip this target altogether -->
    156     <target name="plugintrans">
    157         <basename file="${path}" property="dir"/>
     151    <target name="singleplugintrans" depends="trans_.java,init">
     152        <basename file="${plugin}" property="dir"/>
    158153        <if>
    159154            <available file="${plugin.dir}/${dir}/.tx/config" type="file"/>
     
    162157            </then>
    163158            <else>
    164                 <echo message="Run plugintrans target for plugin ${dir}" level="info"/>
     159                <echo message="Run singleplugintrans target for plugin ${dir}" level="info"/>
    165160                <mkdir dir="${po.build.dir}/plugin_${dir}"/>
    166161                <exec executable="perl" failonerror="true" output="${po.build.dir}/plugin_${dir}/trans_plugin.java">
Note: See TracChangeset for help on using the changeset viewer.