Index: applications/editors/josm/i18n/build.xml
===================================================================
--- applications/editors/josm/i18n/build.xml	(revision 34693)
+++ applications/editors/josm/i18n/build.xml	(revision 34694)
@@ -127,5 +127,5 @@
     </target>
     <target name="buildplugins" depends="init">
-        <foreach param="path" target="plugintrans" parallel="true" maxThreads="8">
+        <foreach param="plugin" target="singleplugintrans" parallel="true" maxThreads="8">
             <path>
                 <dirset dir="${plugin.dir}" includes="*" excludes="00_*" />
@@ -133,9 +133,4 @@
         </foreach>
     </target>
-    <target name="singleplugintrans" depends="init">
-        <antcall target="plugintrans">
-            <param name="path" value="${plugin}"/>
-        </antcall>
-    </target>
     <target name="buildcore">
         <antcall target="coretrans"/>
@@ -154,6 +149,6 @@
     <!-- 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. -->
     <!-- If the plugin has a Transifex config file `.tx/config`, skip this target altogether -->
-    <target name="plugintrans">
-        <basename file="${path}" property="dir"/>
+    <target name="singleplugintrans" depends="trans_.java,init">
+        <basename file="${plugin}" property="dir"/>
         <if>
             <available file="${plugin.dir}/${dir}/.tx/config" type="file"/>
@@ -162,5 +157,5 @@
             </then>
             <else>
-                <echo message="Run plugintrans target for plugin ${dir}" level="info"/>
+                <echo message="Run singleplugintrans target for plugin ${dir}" level="info"/>
                 <mkdir dir="${po.build.dir}/plugin_${dir}"/>
                 <exec executable="perl" failonerror="true" output="${po.build.dir}/plugin_${dir}/trans_plugin.java">
