Changeset 34697 in osm for applications/editors/josm


Ignore:
Timestamp:
2018-10-25T11:31:17+02:00 (6 years ago)
Author:
simon04
Message:

Revert "JOSM/i18n: merge pluginstrans w/ singleplugintrans"

https://josm.openstreetmap.de/ticket/8645#comment:133

File:
1 edited

Legend:

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

    r34696 r34697  
    127127    </target>
    128128    <target name="buildplugins" depends="init">
    129         <foreach param="plugin" target="singleplugintrans" parallel="true" maxThreads="8">
     129        <foreach param="path" target="plugintrans" 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>
    135140    <target name="buildcore">
    136141        <antcall target="coretrans"/>
     
    149154    <!-- 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. -->
    150155    <!-- If the plugin has a Transifex config file `.tx/config`, skip this target altogether -->
    151     <target name="singleplugintrans" depends="trans_.java,init">
    152         <basename file="${plugin}" property="dir"/>
     156    <target name="plugintrans">
     157        <basename file="${path}" property="dir"/>
    153158        <if>
    154159            <available file="${plugin.dir}/${dir}/.tx/config" type="file"/>
     
    157162            </then>
    158163            <else>
    159                 <echo message="Run singleplugintrans target for plugin ${dir}" level="info"/>
     164                <echo message="Run plugintrans target for plugin ${dir}" level="info"/>
    160165                <mkdir dir="${po.build.dir}/plugin_${dir}"/>
    161166                <exec executable="perl" failonerror="true" output="${po.build.dir}/plugin_${dir}/trans_plugin.java">
Note: See TracChangeset for help on using the changeset viewer.