Changeset 36532 in osm


Ignore:
Timestamp:
2026-11-24T11:29:19+01:00 (67 minutes ago)
Author:
stoecker
Message:

add a new I18n test job

Location:
applications/editors/josm/i18n
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/i18n/README.TXT

    r36518 r36532  
    11112) Update translations from Launchpad download file:
    1212Call "./launchpad.pl <url>", where <url> is the supplied URL from launchpad.
    13 This call always builds core and plugins, but safely can be aborted after core is completed.
     13Then continue with step 3.
    1414
    15153) Update translation files to current state (from downloaded files in step 2):
    … …  
    1717Call "ant test" to check for i18n issues
    1818
    19 4) Check whether translations have string errors (e.g. wrong ' count or illegal {})
     194)
     20Call "ant -Dtransfile=launchpad-export.tar.gz testfile" if the launchpad file
     21was already downloaded and stored in launchpad-export.tar.gz. Thats identical to
     22calling step 2 with the filename instead of the URL and "ant test" afterwards.
     23
     245) Check whether translations have string errors (e.g. wrong ' count or illegal {})
    2025Translation data (.po) must exist!
    2126Call "ant test".
    2227
    23 5) Upload POT file to launchpad:
     286) Upload POT file to launchpad:
    2429Call "./launchpad.pl upload". You need to set login information (see file how to do) or enter them when running.
    2530Can also be issued by hand on the Launchpad web page.
    2631
    27 6) Request launchpad po file download:
     327) Request launchpad po file download:
    2833Call "./launchpad.pl download". You need to set login information (see file how to do) or enter them when running.
    2934Can also be issued by hand on the Launchpad web page.
    3035After some time a mail is sent with a URL. With this URL step (3) can be done.
    3136
    32 7) Build a single plugin:
     378) Build a single plugin:
    3338Call "ant -Dplugin=name singleplugintrans"
    3439To get a pot file for a single plugin call "ant -Dplugin=name singlepluginpot"
  • applications/editors/josm/i18n/build.xml

    r36518 r36532  
    199199        </exec>
    200200    </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>
    201207    <target name="pot" depends="po/josm.pot" />
    202208    <target name="ant-dependencies">
  • applications/editors/josm/i18n/launchpad.pl

    r36518 r36532  
    7272    copypo("build/josm_trans");
    7373    system "rm -rv build/josm_trans";
    74     system "ant";
    7574}
    7675else
    … …  
    8382    copypo("build/josm_trans");
    8483    system "rm -rv build/josm_trans";
    85     system "ant";
    8684}
    8785
Note: See TracChangeset for help on using the changeset viewer.