Changeset 26174 in osm for applications/editors/josm/plugins/wms-turbo-challenge2
- Timestamp:
- 2011-06-25T19:02:31+02:00 (14 years ago)
- 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"?> 1 2 <!-- 2 3 ** To build it run … … 9 10 --> 10 11 <project name="wms-turbo-challenge2" default="dist" basedir="."> 11 <property name="josm" 12 <property name="plugin.build.dir" 13 <property name="plugin.src.dir" 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"/> 14 15 <!-- this is the directory where the plugin jar is copied to --> 15 16 <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"/> 19 19 <!-- 20 20 ********************************************************** … … 25 25 <mkdir dir="${plugin.build.dir}"/> 26 26 </target> 27 28 27 <!-- 29 28 ********************************************************** … … 38 37 </javac> 39 38 </target> 40 41 39 <!-- 42 40 ********************************************************** … … 52 50 <fileset dir="images"/> 53 51 </copy> 52 <copy todir="${plugin.build.dir}/data"> 53 <fileset dir="data"/> 54 </copy> 54 55 <copy todir="${plugin.build.dir}"> 55 56 <fileset dir="."> 56 <include name="README" 57 <include name="LICENSE" 57 <include name="README"/> 58 <include name="LICENSE"/> 58 59 </fileset> 59 60 </copy> … … 71 72 </jar> 72 73 </target> 73 74 74 <!-- 75 75 ********************************************************** … … 80 80 --> 81 81 <target name="revision"> 82 83 82 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 84 83 <env key="LANG" value="C"/> … … 90 89 <delete file="REVISION"/> 91 90 </target> 92 93 91 <!-- 94 92 ********************************************************** … … 100 98 <delete file="${plugin.jar}"/> 101 99 </target> 102 103 100 <!-- 104 101 ********************************************************** -
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/GameWindow.java
r24999 r26174 5 5 */ 6 6 package wmsturbochallenge; 7 8 import static org.openstreetmap.josm.tools.I18n.tr; 7 9 8 10 import java.awt.Color; … … 39 41 public class GameWindow extends JFrame implements ActionListener { 40 42 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")); 42 44 setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); 43 45 setUndecorated(true); -
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/WMSRacer.java
r23190 r26174 5 5 */ 6 6 package wmsturbochallenge; 7 8 import static org.openstreetmap.josm.tools.I18n.tr; 7 9 8 10 import org.openstreetmap.josm.gui.layer.Layer; … … 38 40 39 41 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"), 42 44 null, true); 43 45 setEnabled(false);
Note:
See TracChangeset
for help on using the changeset viewer.