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


Ignore:
Timestamp:
2018-10-21T17:40:47+02:00 (6 years ago)
Author:
simon04
Message:

JOSM/i18n: rename "data" to "pluginlist"

see #josm8645

File:
1 edited

Legend:

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

    r34687 r34688  
    1111    <property name="i18n.build.dir" value="build"/>
    1212    <property name="i18n.install.dir" value="${josm.build.dir}/data"/>
    13     <property name="i18n_data.install.dir" value="${josm.build.dir}/data_nodist/trans"/>
     13    <property name="pluginlist.install.dir" value="${josm.build.dir}/data_nodist/trans"/>
    1414    <property name="po.build.dir" value="${i18n.build.dir}"/>
    1515    <property name="ant.build.javac.target" value="1.5"/>
     
    9696        </gettext-extract>
    9797    </target>
    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">
    99         <gettext-extract keysFile="data.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot --exclude-file=po/core.pot">
     98    <target name="po/pluginlist.pot" description="Extracts message keys from plugin descriptions" depends="trans_.java,init">
     99        <gettext-extract keysFile="pluginlist.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot">
    100100            <fileset dir="${i18n.build.dir}" includes="trans_plugins.java"/>
    101101            <!-- <fileset dir="${i18n.build.dir}/josmfiles" includes="trans_*.*"/> -->
    102102        </gettext-extract>
    103103    </target>
    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">
     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,init">
    105105        <gettext-extract keysFile="plugins.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot --exclude-file=po/core.pot">
    106106            <fileset dir="${plugin.dir}" includesfile="${po.build.dir}/pluginSrc.txt"/>
     
    125125        </antcall>
    126126    </target>
    127     <target name="buildcore" depends="po/core.pot,po/data.pot">
     127    <target name="buildcore">
    128128        <antcall target="coretrans"/>
    129         <antcall target="datatrans"/>
    130     </target>
    131     <target name="coretrans">
     129        <antcall target="pluginlisttrans"/>
     130    </target>
     131    <target name="coretrans" depends="po/core.pot">
    132132        <exec executable="perl" failonerror="true">
    133133            <arg line="i18n.pl --potfile=po/core.pot --basedir=${i18n.install.dir}/ po/*.po"/>
    134134        </exec>
    135135    </target>
    136     <target name="datatrans">
    137         <exec executable="perl" failonerror="true">
    138             <arg line="i18n.pl --potfile=po/data.pot --basedir=${i18n_data.install.dir}/ po/*.po"/>
     136    <target name="pluginlisttrans" depends="po/pluginlist.pot">
     137        <exec executable="perl" failonerror="true">
     138            <arg line="i18n.pl --potfile=po/pluginlist.pot --basedir=${pluginlist.install.dir}/ po/*.po"/>
    139139        </exec>
    140140    </target>
     
    191191    </target>
    192192    <target name="pot" depends="po/josm.pot" />
    193     <target name="allpot" depends="po/core.pot,po/data.pot,po/plugins.pot" />
     193    <target name="allpot" depends="po/core.pot,po/pluginlist.pot,po/plugins.pot" />
    194194    <target name="update">
    195195        <exec executable="perl" failonerror="true">
Note: See TracChangeset for help on using the changeset viewer.