Changeset 36532 in osm
- Timestamp:
- 2026-11-24T11:29:19+01:00 (67 minutes ago)
- Location:
- applications/editors/josm/i18n
- Files:
-
- 3 edited
-
README.TXT (modified) (2 diffs)
-
build.xml (modified) (1 diff)
-
launchpad.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/README.TXT
r36518 r36532 11 11 2) Update translations from Launchpad download file: 12 12 Call "./launchpad.pl <url>", where <url> is the supplied URL from launchpad. 13 Th is call always builds core and plugins, but safely can be aborted after core is completed.13 Then continue with step 3. 14 14 15 15 3) Update translation files to current state (from downloaded files in step 2): … … 17 17 Call "ant test" to check for i18n issues 18 18 19 4) Check whether translations have string errors (e.g. wrong ' count or illegal {}) 19 4) 20 Call "ant -Dtransfile=launchpad-export.tar.gz testfile" if the launchpad file 21 was already downloaded and stored in launchpad-export.tar.gz. Thats identical to 22 calling step 2 with the filename instead of the URL and "ant test" afterwards. 23 24 5) Check whether translations have string errors (e.g. wrong ' count or illegal {}) 20 25 Translation data (.po) must exist! 21 26 Call "ant test". 22 27 23 5) Upload POT file to launchpad:28 6) Upload POT file to launchpad: 24 29 Call "./launchpad.pl upload". You need to set login information (see file how to do) or enter them when running. 25 30 Can also be issued by hand on the Launchpad web page. 26 31 27 6) Request launchpad po file download:32 7) Request launchpad po file download: 28 33 Call "./launchpad.pl download". You need to set login information (see file how to do) or enter them when running. 29 34 Can also be issued by hand on the Launchpad web page. 30 35 After some time a mail is sent with a URL. With this URL step (3) can be done. 31 36 32 7) Build a single plugin:37 8) Build a single plugin: 33 38 Call "ant -Dplugin=name singleplugintrans" 34 39 To get a pot file for a single plugin call "ant -Dplugin=name singlepluginpot" -
applications/editors/josm/i18n/build.xml
r36518 r36532 199 199 </exec> 200 200 </target> 201 <target name="testfile"> 202 <exec executable="perl" failonerror="true"> 203 <arg line="launchpad.pl ${transfile}"/> 204 </exec> 205 <antcall target="test"/> 206 </target> 201 207 <target name="pot" depends="po/josm.pot" /> 202 208 <target name="ant-dependencies"> -
applications/editors/josm/i18n/launchpad.pl
r36518 r36532 72 72 copypo("build/josm_trans"); 73 73 system "rm -rv build/josm_trans"; 74 system "ant";75 74 } 76 75 else … … 83 82 copypo("build/josm_trans"); 84 83 system "rm -rv build/josm_trans"; 85 system "ant";86 84 } 87 85
Note:
See TracChangeset
for help on using the changeset viewer.
