Changeset 34693 in osm for applications/editors/josm/i18n


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

JOSM/i18n: fix coretrans task

see #josm8645

File:
1 edited

Legend:

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

    r34692 r34693  
    8686        </gettext-extract>
    8787    </target>
     88    <target name="po/core+maplist+presets.pot" depends="po/core.pot,po/maplist.pot,po/presets.pot">
     89        <exec executable="msgcat" failonerror="true" output="po/core+maplist+presets.pot">
     90            <arg line="po/core.pot po/maplist.pot po/presets.pot"/>
     91        </exec>
     92    </target>
    8893    <target name="po/core.pot" description="Extracts message keys from the JOSM core source code" depends="init">
    8994        <gettext-extract keysFile="core.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot">
     
    137142        <antcall target="pluginlisttrans"/>
    138143    </target>
    139     <target name="coretrans" depends="po/core.pot">
    140         <exec executable="perl" failonerror="true">
    141             <arg line="i18n.pl --potfile=po/core.pot --basedir=${i18n.install.dir}/ po/*.po"/>
     144    <target name="coretrans" depends="po/core+maplist+presets.pot">
     145        <exec executable="perl" failonerror="true">
     146            <arg line="i18n.pl --potfile=po/core+maplist+presets.pot --basedir=${i18n.install.dir}/ po/*.po"/>
    142147        </exec>
    143148    </target>
Note: See TracChangeset for help on using the changeset viewer.