[26928] | 1 | How to use:
|
---|
| 2 |
|
---|
[28645] | 3 | Prerequisites:
|
---|
[32157] | 4 | a) You must have installed ant, perl, libwww-perl, libterm-readkey-perl, gettext, bzr, libxml2-utils
|
---|
[28645] | 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".
|
---|
| 7 |
|
---|
[26928] | 8 | Tasks:
|
---|
[28645] | 9 | 1) Get new translation catalog file:
|
---|
[26928] | 10 | Call "ant pot"
|
---|
[28425] | 11 | Afterwards the new file should be uploaded to Launchpad (see (5) below)
|
---|
[26928] | 12 |
|
---|
[28645] | 13 | 2) Update translations to current state (from daily updated Bazaar repository):
|
---|
[26928] | 14 | Call "ant update" or "ant updatecore" when plugins are unwanted
|
---|
[28645] | 15 | NOTE: The Bazaar repository is updated once a day. For most recent data try (6) and (3) instead.
|
---|
[26928] | 16 |
|
---|
[28425] | 17 | 3) Update translations from Launchpad download file:
|
---|
[28424] | 18 | Call "./launchpad.pl <url>", where <url> is the supplied URL from launchpad.
|
---|
[26928] | 19 | This call always builds core and plugins, but safely can be aborted after core is completed.
|
---|
| 20 |
|
---|
[26931] | 21 | 4) Check whether translations have string errors (e.g. wrong ' count or illegal {})
|
---|
| 22 | Translation data (.po) must exist!
|
---|
| 23 | Call "ant test".
|
---|
| 24 |
|
---|
[27020] | 25 | 5) Upload POT file to launchpad:
|
---|
| 26 | Call "./launchpad.pl upload". You need to set login information (see file how to do) or enter them when running.
|
---|
[28425] | 27 | Can also be issued by hand on the Launchpad web page.
|
---|
[27020] | 28 |
|
---|
| 29 | 6) Request launchpad po file download:
|
---|
| 30 | Call "./launchpad.pl download". You need to set login information (see file how to do) or enter them when running.
|
---|
[28425] | 31 | Can also be issued by hand on the Launchpad web page.
|
---|
[28645] | 32 | After some time a mail is sent with a URL. With this URL step (3) can be done.
|
---|
[27020] | 33 |
|
---|
[30139] | 34 | 7) Build a single plugin:
|
---|
| 35 | Call "ant -Dplugin=name singleplugintrans"
|
---|
| 36 |
|
---|
[26928] | 37 | NOTE:
|
---|
| 38 | a) Your repositories should not have any local modifications which modify string elements!
|
---|
| 39 | b) Always do an "svn up" for core and plugins before starting!
|
---|