Changeset 36518 in osm
- Timestamp:
- 2026-11-07T13:28:39+01:00 (less than one hour ago)
- Location:
- applications/editors/josm/i18n
- Files:
-
- 3 edited
-
README.TXT (modified) (2 diffs)
-
build.xml (modified) (1 diff)
-
launchpad.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/README.TXT
r35512 r36518 2 2 3 3 Prerequisites: 4 a) You must have installed ant, perl, libwww-perl, libterm-readkey-perl, gettext, bzr, libxml2-utils 5 b) You must register your SSH key with Launchpad. See https://launchpad.net/people/+me 6 c) You must inform bzr of your Launchpad ID. See "bzr help launchpad-login". 4 - You must have installed ant, perl, libwww-perl, libterm-readkey-perl, gettext, libxml2-utils 7 5 8 6 Tasks: … … 11 9 Afterwards the new file should be uploaded to Launchpad (see (5) below) 12 10 13 2) Update translations to current state (from daily updated Bazaar repository): 14 Call "ant update" or "ant updatecore" when plugins are unwanted 15 NOTE: The Bazaar repository is updated once a day. For most recent data try (6) and (3) instead. 16 17 3) Update translations from Launchpad download file: 11 2) Update translations from Launchpad download file: 18 12 Call "./launchpad.pl <url>", where <url> is the supplied URL from launchpad. 19 13 This call always builds core and plugins, but safely can be aborted after core is completed. 14 15 3) Update translation files to current state (from downloaded files in step 2): 16 Call "ant build" or "ant buildcore" when plugins are unwanted 17 Call "ant test" to check for i18n issues 20 18 21 19 4) Check whether translations have string errors (e.g. wrong ' count or illegal {}) -
applications/editors/josm/i18n/build.xml
r36388 r36518 200 200 </target> 201 201 <target name="pot" depends="po/josm.pot" /> 202 <target name="update">203 <exec executable="perl" failonerror="true">204 <arg line="launchpad.pl bzronly"/>205 </exec>206 <antcall target="build"/>207 </target>208 <target name="updatetest">209 <exec executable="perl" failonerror="true">210 <arg line="launchpad.pl bzronly"/>211 </exec>212 <antcall target="test"/>213 </target>214 <target name="updatecore">215 <exec executable="perl" failonerror="true">216 <arg line="launchpad.pl bzronly"/>217 </exec>218 <antcall target="buildcore"/>219 </target>220 202 <target name="ant-dependencies"> 221 203 <typedef resource="net/ggtools/grand/antlib.xml" classpath="${grand.jar}"/> -
applications/editors/josm/i18n/launchpad.pl
r36516 r36518 35 35 if($#ARGV != 0) 36 36 { 37 warn "No argument given (try Launchpad download URL, \" bzr\", \"bzronly\", \"upload\" or \"download\").";37 warn "No argument given (try Launchpad download URL, \"upload\" or \"download\")."; 38 38 system "ant"; 39 }40 elsif($ARGV[0] eq "bzr" || $ARGV[0] eq "bzronly")41 {42 mkdir "build";43 die "Could not change into new data dir." if !chdir "build";44 system "bzr export -v josm_trans lp:~openstreetmap/josm/josm_trans";45 chdir "..";46 copypo("build/josm_trans/josm");47 system "rm -rv build/josm_trans";48 if($ARGV[0] ne "bzronly")49 {50 system "ant";51 }52 39 } 53 40 elsif($ARGV[0] eq "upload")
Note:
See TracChangeset
for help on using the changeset viewer.
