Changeset 36518 in osm


Ignore:
Timestamp:
2026-11-07T13:28:39+01:00 (less than one hour ago)
Author:
stoecker
Message:

drop BZR update path - it is outdated

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

Legend:

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

    r35512 r36518  
    22
    33Prerequisites:
    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
    75
    86Tasks:
    … …  
    119Afterwards the new file should be uploaded to Launchpad (see (5) below)
    1210
    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:
     112) Update translations from Launchpad download file:
    1812Call "./launchpad.pl <url>", where <url> is the supplied URL from launchpad.
    1913This call always builds core and plugins, but safely can be aborted after core is completed.
     14
     153) Update translation files to current state (from downloaded files in step 2):
     16Call "ant build" or "ant buildcore" when plugins are unwanted
     17Call "ant test" to check for i18n issues
    2018
    21194) Check whether translations have string errors (e.g. wrong ' count or illegal {})
  • applications/editors/josm/i18n/build.xml

    r36388 r36518  
    200200    </target>
    201201    <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>
    220202    <target name="ant-dependencies">
    221203        <typedef resource="net/ggtools/grand/antlib.xml" classpath="${grand.jar}"/>
  • applications/editors/josm/i18n/launchpad.pl

    r36516 r36518  
    3535if($#ARGV != 0)
    3636{
    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\").";
    3838    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     }
    5239}
    5340elsif($ARGV[0] eq "upload")
Note: See TracChangeset for help on using the changeset viewer.