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/wms-turbo-challenge2
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wms-turbo-challenge2/build.xml

    r25935 r26174  
     1<?xml version="1.0" encoding="utf-8"?>
    12<!--
    23** To build it run
     
    910-->
    1011<project name="wms-turbo-challenge2" default="dist" basedir=".">
    11     <property name="josm"                   location="../../core/dist/josm-custom.jar"/>
    12     <property name="plugin.build.dir"       value="build"/>
    13     <property name="plugin.src.dir"         value="src"/>
     12    <property name="josm" location="../../core/dist/josm-custom.jar"/>
     13    <property name="plugin.build.dir" value="build"/>
     14    <property name="plugin.src.dir" value="src"/>
    1415    <!-- this is the directory where the plugin jar is copied to -->
    1516    <property name="ant.build.javac.target" value="1.5"/>
    16     <property name="plugin.dist.dir"        value="../../dist"/>
    17     <property name="plugin.jar"             value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    18 
     17    <property name="plugin.dist.dir" value="../../dist"/>
     18    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    1919    <!--
    2020    **********************************************************
     
    2525        <mkdir dir="${plugin.build.dir}"/>
    2626    </target>
    27 
    2827    <!--
    2928    **********************************************************
     
    3837        </javac>
    3938    </target>
    40 
    4139    <!--
    4240    **********************************************************
     
    5250            <fileset dir="images"/>
    5351        </copy>
     52        <copy todir="${plugin.build.dir}/data">
     53            <fileset dir="data"/>
     54        </copy>
    5455        <copy todir="${plugin.build.dir}">
    5556            <fileset dir=".">
    56                 <include name="README" />
    57                 <include name="LICENSE" />
     57                <include name="README"/>
     58                <include name="LICENSE"/>
    5859            </fileset>
    5960        </copy>
     
    7172        </jar>
    7273    </target>
    73 
    7474    <!--
    7575    **********************************************************
     
    8080    -->
    8181    <target name="revision">
    82 
    8382        <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
    8483            <env key="LANG" value="C"/>
     
    9089        <delete file="REVISION"/>
    9190    </target>
    92 
    9391    <!--
    9492    **********************************************************
     
    10098        <delete file="${plugin.jar}"/>
    10199    </target>
    102 
    103100    <!--
    104101    **********************************************************
  • applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/GameWindow.java

    r24999 r26174  
    55 */
    66package wmsturbochallenge;
     7
     8import static org.openstreetmap.josm.tools.I18n.tr;
    79
    810import java.awt.Color;
     
    3941public class GameWindow extends JFrame implements ActionListener {
    4042    public GameWindow(Layer ground) {
    41         setTitle("The Ultimate WMS Super-speed Turbo Challenge II");
     43        setTitle(tr("The Ultimate WMS Super-speed Turbo Challenge II"));
    4244        setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    4345        setUndecorated(true);
  • applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/WMSRacer.java

    r23190 r26174  
    55 */
    66package wmsturbochallenge;
     7
     8import static org.openstreetmap.josm.tools.I18n.tr;
    79
    810import org.openstreetmap.josm.gui.layer.Layer;
     
    3840
    3941        public DriveAction() {
    40             super("Go driving", "wmsracer",
    41                     "Drive a race car on this layer",
     42            super(tr("Go driving"), "wmsracer",
     43                    tr("Drive a race car on this layer"),
    4244                    null, true);
    4345            setEnabled(false);
Note: See TracChangeset for help on using the changeset viewer.