source: osm/utils/josm/plugins/lang-ro/build.xml@ 1467

Last change on this file since 1467 was 1467, checked in by imi, 18 years ago

added josm translation plugins and annotation-tester plugin

File size: 1.1 KB
Line 
1<project name="lang-ro" default="install" basedir=".">
2
3 <property name="language" value="ro" />
4 <property name="josm" value="../../../../editors/josm" />
5
6 <target name="install">
7 <jar destfile="${user.home}/.josm/plugins/lang-${language}.jar" basedir="bin">
8 <fileset dir="ressource" />
9 <manifest>
10 <attribute name="Plugin-Class" value="org.openstreetmap.josm.TranslationLoader_${language}" />
11 <attribute name="Plugin-Description" value="Romanian translation." />
12 <attribute name="Plugin-Early" value="true" />
13 </manifest>
14 </jar>
15 </target>
16
17 <target name="gettext">
18 <exec executable="find" output="build/alljava.txt">
19 <arg line="src -name '*.java'"/>
20 </exec>
21 <exec executable="xgettext">
22 <arg line="-ktr -ktrn:1,2 -ktrc -kmarktr -Ljava -opo/keys.pot -fbuild/alljava.txt"/>
23 </exec>
24 <exec executable="msgmerge">
25 <arg line="-U ${language}.po $(josm)/po/keys.pot"/>
26 </exec>
27 <exec executable="msgfmt">
28 <arg line="--java2 -dpo -rorg.openstreetmap.josm.Translation -l${language} ${language}.po"/>
29 </exec>
30 </target>
31
32</project>
Note: See TracBrowser for help on using the repository browser.