Ignore:
Timestamp:
2011-06-25T19:02:31+02:00 (14 years ago)
Author:
stoecker
Message:

i18n update, split plugin and core translation

Location:
applications/editors/josm/plugins/FixAddresses
Files:
31 added
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified applications/editors/josm/plugins/FixAddresses/build.xml

    r25374 r26174  
    1 <?xml version="1.0" encoding="UTF-8"?>
     1<?xml version="1.0" encoding="utf-8"?>
    22<!--
    33** This is a template build file for a JOSM  plugin.
     
    2626      ** should not be necessary to change the following properties
    2727     -->
    28     <property name="josm"          location="../../core/dist/josm-custom.jar"/>
    29         <property name="josm_3529"    location="../../core/dist/3529/josm-tested.jar"/>
    30     <property name="plugin.build.dir"       value="build"/>
    31     <property name="plugin.src.dir"         value="src"/>
     28    <property name="josm" location="../../core/dist/josm-custom.jar"/>
     29    <property name="josm_3529" location="../../core/dist/3529/josm-tested.jar"/>
     30    <property name="plugin.build.dir" value="build"/>
     31    <property name="plugin.src.dir" value="src"/>
    3232    <!-- this is the directory where the plugin jar is copied to -->
    33     <property name="plugin.dist.dir"        value="../../dist"/>
     33    <property name="plugin.dist.dir" value="../../dist"/>
    3434    <property name="ant.build.javac.target" value="1.5"/>
    35     <property name="plugin.jar"             value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    36 
     35    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    3736    <!--
    3837    **********************************************************
     
    4140    -->
    4241    <target name="init">
    43         <mkdir dir="${plugin.build.dir}"/>     
     42        <mkdir dir="${plugin.build.dir}"/>
    4443    </target>
    45 
    4644    <!--
    4745    **********************************************************
     
    5654        </javac>
    5755    </target>
    58 
    5956    <!--
    6057    **********************************************************
     
    6360    -->
    6461    <target name="dist" depends="compile,revision">
    65         <mkdir dir="${plugin.dist.dir}"/>
     62        <mkdir dir="${plugin.dist.dir}"/>
    6663        <echo message="creating ${plugin.jar} ... "/>
    6764        <copy todir="${plugin.build.dir}/resources">
     
    7168            <fileset dir="images"/>
    7269        </copy>
     70        <copy todir="${plugin.build.dir}/data">
     71            <fileset dir="data"/>
     72        </copy>
    7373        <copy todir="${plugin.build.dir}">
    7474            <fileset dir=".">
    75                 <include name="README" />
    76                 <include name="GPL-v2.0.txt" />
    77                 <include name="GPL-v3.0.txt" />
     75                <include name="README"/>
     76                <include name="GPL-v2.0.txt"/>
     77                <include name="GPL-v3.0.txt"/>
    7878            </fileset>
    7979        </copy>
    8080        <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
    81     <!--
     81            <!--
    8282        ************************************************
    8383        ** configure these properties. Most of them will be copied to the plugins
     
    9292                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    9393                <attribute name="Plugin-Description" value="Finds and fixes invalid street addresses in a comfortable way."/>
    94                 <attribute name="de_Plugin-Description" value="Findet ungültige Addressen und bietet Unterstützung zur deren Korrektur."/>
     94                <attribute name="de_Plugin-Description" value="Findet ungültige Addressen und bietet Unterstützung zur deren Korrektur."/>
    9595                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/FixAddresses"/>
    9696                <attribute name="Plugin-Mainversion" value="3835"/>
    9797                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    98                 <attribute name="Plugin-Icon" value="images/fixaddresses.png"/>
     98                <attribute name="Plugin-Icon" value="images/fixaddresses.png"/>
    9999            </manifest>
    100         </jar>       
     100        </jar>
    101101    </target>
    102 
    103102    <!--
    104103    **********************************************************
     
    109108    -->
    110109    <target name="revision">
    111                 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
    112                     <env key="LANG" value="C"/>
    113                     <arg value="info"/>
    114                     <arg value="--xml"/>
    115                     <arg value="."/>
    116                 </exec>
    117         <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
    118         <echo message="Revision: ${version.entry.commit.revision}"/>
    119         <delete file="REVISION"/>
    120         </target>
    121 
     110        <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     111            <env key="LANG" value="C"/>
     112            <arg value="info"/>
     113            <arg value="--xml"/>
     114            <arg value="."/>
     115        </exec>
     116        <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
     117        <echo message="Revision: ${version.entry.commit.revision}"/>
     118        <delete file="REVISION"/>
     119    </target>
    122120    <!--
    123121    **********************************************************
     
    129127        <delete file="${plugin.jar}"/>
    130128    </target>
    131 
    132129    <!--
    133130    **********************************************************
Note: See TracChangeset for help on using the changeset viewer.