Merge lp:~matthew.revell/launchpad/translations-help-10.1 into lp:launchpad
- translations-help-10.1
- Merge into devel
Status: | Merged | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Henning Eggers | ||||||||||||||||||||||||||||
Approved revision: | not available | ||||||||||||||||||||||||||||
Merged at revision: | not available | ||||||||||||||||||||||||||||
Proposed branch: | lp:~matthew.revell/launchpad/translations-help-10.1 | ||||||||||||||||||||||||||||
Merge into: | lp:launchpad | ||||||||||||||||||||||||||||
Diff against target: |
808 lines (+466/-94) 25 files modified
lib/lp/bugs/help/tag-search.html (+5/-5) lib/lp/code/help/register-branch.html (+5/-5) lib/lp/registry/help/home-page-staging-help.html (+5/-5) lib/lp/registry/help/import-pgp-key.html (+5/-5) lib/lp/registry/help/openid.html (+5/-5) lib/lp/registry/help/openpgp-keys.html (+5/-5) lib/lp/registry/help/pgp-key-clearsign.html (+5/-5) lib/lp/registry/help/verify-downloads.html (+5/-5) lib/lp/services/inlinehelp/javascript/inlinehelp.js (+1/-1) lib/lp/soyuz/help/ppa-sources-list.html (+5/-5) lib/lp/translations/help/directory-example.html (+53/-0) lib/lp/translations/help/getting-started-for-your-project.html (+5/-5) lib/lp/translations/help/imported-upload.html (+61/-0) lib/lp/translations/help/importing-from-bzr.html (+37/-0) lib/lp/translations/help/new-to-translating.html (+44/-0) lib/lp/translations/help/reviewing.html (+52/-0) lib/lp/translations/help/successful-imports.html (+46/-0) lib/lp/translations/help/translation-groups.html (+5/-5) lib/lp/translations/help/updated-upload.html (+40/-0) lib/lp/translations/stories/importqueue/xx-translation-import-queue.txt (+1/-1) lib/lp/translations/templates/person-translations.pt (+3/-5) lib/lp/translations/templates/pofile-upload.pt (+3/-3) lib/lp/translations/templates/productseries-translations-settings.pt (+32/-7) lib/lp/translations/templates/productseries-translations-upload.pt (+29/-20) lib/lp/translations/templates/translationimportqueue-index.pt (+9/-2) |
||||||||||||||||||||||||||||
To merge this branch: | bzr merge lp:~matthew.revell/launchpad/translations-help-10.1 | ||||||||||||||||||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Henning Eggers (community) | code | Approve | |
Eleanor Berger (community) | Approve | ||
Review via email: mp+17032@code.launchpad.net |
Commit message
Description of the change
Matthew Revell (matthew.revell) wrote : | # |
Matthew Revell (matthew.revell) wrote : | # |
Eleanor Berger (intellectronica) : | # |
Henning Eggers (henninge) wrote : | # |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 08.01.2010 18:36, Matthew Revell schrieb:
>
> This is the first of two branches that fix a number of bugs in the Translations UI text and help, as identified by Matthew R and Danilo at UDS-L.
>
Thanks for doing these. They will certainly help translators and
reviewers in doing a better job.
> === added file 'lib/lp/
> --- lib/lp/
> +++ lib/lp/
> @@ -0,0 +1,42 @@
> +<html>
> + <head>
> + <title>Example directory layout for translation files</title>
> + <link rel="stylesheet" type="text/css"
> + href="/
> + <link rel="stylesheet" type="text/css"
> + href="/
> + <link rel="stylesheet" type="text/css"
> + href="/
OK, these seem to be a problem, as we found out. Please see that you can
fix it and file a bug for the affected existing help pages.
> + </head>
> + <body>
> + <h1>Example directory layout for translation files</h1>
Good, clear explanation.
[...]
> === added file 'lib/lp/
> --- lib/lp/
> +++ lib/lp/
> @@ -0,0 +1,59 @@
> +<html>
> + <head>
> + <title>Importing a .po file from upstream</title>
> + <link rel="stylesheet" type="text/css"
> + href="/
> + <link rel="stylesheet" type="text/css"
> + href="/
> + <link rel="stylesheet" type="text/css"
> + href="/
> + </head>
> + <body>
> + <h1>Importing a .po file from upstream</h1>
> +
> + <p>
> + Many projects have translation efforts outside of Launchpad. If
> + you help translate that project for Ubuntu, you should import the
> + upstream translations from time to time.
> + </p>
This is also true for any other project that is not hosted on Launchpad
completely and for any other distribution hosted in LP. Can you find a
way to put it that broadens the meaning while still mentioning Ubuntu
(where this is particularly important)?
> +
> + <h2>How Launchpad prioritises imported translation strings</h2>
> +
> + <p>To help ensure the best quality translations end-up in Ubuntu,
just "end up", AFAIK.
Again, not just Ubuntu.
> + Launchpad prioritises translation strings differently depending
> + on where they were made.
> + </p>
> +
> + <p>
> + In general, a translation made in Launchpad will take precedence
[...]
Good explanation of a difficult matter. Well done. ;)
> === added file 'lib/lp/
OK.
> === added file 'lib/lp/
> --- lib/lp/
> +++ lib/lp/
Matthew Revell (matthew.revell) wrote : | # |
Henning, I've addressed your concerns and have also:
* fixed the help pop-up CSS problems
* changed the 'continue' button to be 'Close'
* Addressed 48435 "+imports UI text and help"
I'd be grateful if you'd take another look, please.
Henning Eggers (henninge) wrote : | # |
Hi Matt,
thanks for the improvements and good job on fixing those other issues!
Just one correction:
+ Following a delay, Launchpad will make an initial import, then check regularly
+ for updates.
This should read something like this:
a new revision to the branch. There is a short delay between a push and the files
The important thing is that the updates are push-driven, not a cron-job. The delay is 15 to 30 minutes, no longer.
After that the branch is good to land!
Henning
Preview Diff
1 | === modified file 'lib/lp/bugs/help/tag-search.html' | |||
2 | --- lib/lp/bugs/help/tag-search.html 2009-07-02 16:31:11 +0000 | |||
3 | +++ lib/lp/bugs/help/tag-search.html 2010-01-21 15:33:14 +0000 | |||
4 | @@ -2,11 +2,11 @@ | |||
5 | 2 | <head> | 2 | <head> |
6 | 3 | <title>Bug tag search</title> | 3 | <title>Bug tag search</title> |
7 | 4 | <link rel="stylesheet" type="text/css" | 4 | <link rel="stylesheet" type="text/css" |
13 | 5 | href="/+icing/yui/current/build/cssreset/reset.css" /> | 5 | href="/+icing/yui/cssreset/reset.css" /> |
14 | 6 | <link rel="stylesheet" type="text/css" | 6 | <link rel="stylesheet" type="text/css" |
15 | 7 | href="/+icing/yui/current/build/cssfonts/fonts.css" /> | 7 | href="/+icing/yui/cssfonts/fonts.css" /> |
16 | 8 | <link rel="stylesheet" type="text/css" | 8 | <link rel="stylesheet" type="text/css" |
17 | 9 | href="/+icing/yui/current/build/cssbase/base.css" /> | 9 | href="/+icing/yui/cssbase/base.css" /> |
18 | 10 | </head> | 10 | </head> |
19 | 11 | <body> | 11 | <body> |
20 | 12 | <h1>Bug tag search</h1> | 12 | <h1>Bug tag search</h1> |
21 | 13 | 13 | ||
22 | === modified file 'lib/lp/code/help/register-branch.html' | |||
23 | --- lib/lp/code/help/register-branch.html 2009-10-02 15:43:47 +0000 | |||
24 | +++ lib/lp/code/help/register-branch.html 2010-01-21 15:33:14 +0000 | |||
25 | @@ -2,11 +2,11 @@ | |||
26 | 2 | <head> | 2 | <head> |
27 | 3 | <title>Uploading a branch without registering</title> | 3 | <title>Uploading a branch without registering</title> |
28 | 4 | <link rel="stylesheet" type="text/css" | 4 | <link rel="stylesheet" type="text/css" |
34 | 5 | href="/+icing/yui/current/build/cssreset/reset.css" /> | 5 | href="/+icing/yui/cssreset/reset.css" /> |
35 | 6 | <link rel="stylesheet" type="text/css" | 6 | <link rel="stylesheet" type="text/css" |
36 | 7 | href="/+icing/yui/current/build/cssfonts/fonts.css" /> | 7 | href="/+icing/yui/cssfonts/fonts.css" /> |
37 | 8 | <link rel="stylesheet" type="text/css" | 8 | <link rel="stylesheet" type="text/css" |
38 | 9 | href="/+icing/yui/current/build/cssbase/base.css" /> | 9 | href="/+icing/yui/cssbase/base.css" /> |
39 | 10 | </head> | 10 | </head> |
40 | 11 | <body> | 11 | <body> |
41 | 12 | <h1>Uploading a branch without registering</h1> | 12 | <h1>Uploading a branch without registering</h1> |
42 | 13 | 13 | ||
43 | === modified file 'lib/lp/registry/help/home-page-staging-help.html' | |||
44 | --- lib/lp/registry/help/home-page-staging-help.html 2009-09-23 09:28:25 +0000 | |||
45 | +++ lib/lp/registry/help/home-page-staging-help.html 2010-01-21 15:33:14 +0000 | |||
46 | @@ -2,11 +2,11 @@ | |||
47 | 2 | <head> | 2 | <head> |
48 | 3 | <title>Staging — Launchpad's sandbox</title> | 3 | <title>Staging — Launchpad's sandbox</title> |
49 | 4 | <link rel="stylesheet" type="text/css" | 4 | <link rel="stylesheet" type="text/css" |
55 | 5 | href="/+icing/yui/current/build/cssreset/reset.css" /> | 5 | href="/+icing/yui/cssreset/reset.css" /> |
56 | 6 | <link rel="stylesheet" type="text/css" | 6 | <link rel="stylesheet" type="text/css" |
57 | 7 | href="/+icing/yui/current/build/cssfonts/fonts.css" /> | 7 | href="/+icing/yui/cssfonts/fonts.css" /> |
58 | 8 | <link rel="stylesheet" type="text/css" | 8 | <link rel="stylesheet" type="text/css" |
59 | 9 | href="/+icing/yui/current/build/cssbase/base.css" /> | 9 | href="/+icing/yui/cssbase/base.css" /> |
60 | 10 | </head> | 10 | </head> |
61 | 11 | <body> | 11 | <body> |
62 | 12 | <h1>Staging — Launchpad's sandbox</h1> | 12 | <h1>Staging — Launchpad's sandbox</h1> |
63 | 13 | 13 | ||
64 | === modified file 'lib/lp/registry/help/import-pgp-key.html' | |||
65 | --- lib/lp/registry/help/import-pgp-key.html 2009-06-09 11:18:47 +0000 | |||
66 | +++ lib/lp/registry/help/import-pgp-key.html 2010-01-21 15:33:14 +0000 | |||
67 | @@ -2,11 +2,11 @@ | |||
68 | 2 | <head> | 2 | <head> |
69 | 3 | <title>Importing an OpenPGP key</title> | 3 | <title>Importing an OpenPGP key</title> |
70 | 4 | <link rel="stylesheet" type="text/css" | 4 | <link rel="stylesheet" type="text/css" |
76 | 5 | href="/+icing/yui/current/build/cssreset/reset.css" /> | 5 | href="/+icing/yui/cssreset/reset.css" /> |
77 | 6 | <link rel="stylesheet" type="text/css" | 6 | <link rel="stylesheet" type="text/css" |
78 | 7 | href="/+icing/yui/current/build/cssfonts/fonts.css" /> | 7 | href="/+icing/yui/cssfonts/fonts.css" /> |
79 | 8 | <link rel="stylesheet" type="text/css" | 8 | <link rel="stylesheet" type="text/css" |
80 | 9 | href="/+icing/yui/current/build/cssbase/base.css" /> | 9 | href="/+icing/yui/cssbase/base.css" /> |
81 | 10 | </head> | 10 | </head> |
82 | 11 | <body> | 11 | <body> |
83 | 12 | <h1>Importing an OpenPGP key</h1> | 12 | <h1>Importing an OpenPGP key</h1> |
84 | 13 | 13 | ||
85 | === modified file 'lib/lp/registry/help/openid.html' | |||
86 | --- lib/lp/registry/help/openid.html 2009-04-27 21:11:44 +0000 | |||
87 | +++ lib/lp/registry/help/openid.html 2010-01-21 15:33:14 +0000 | |||
88 | @@ -2,11 +2,11 @@ | |||
89 | 2 | <head> | 2 | <head> |
90 | 3 | <title>What is OpenID?</title> | 3 | <title>What is OpenID?</title> |
91 | 4 | <link rel="stylesheet" type="text/css" | 4 | <link rel="stylesheet" type="text/css" |
97 | 5 | href="/+icing/yui/current/build/cssreset/reset.css" /> | 5 | href="/+icing/yui/cssreset/reset.css" /> |
98 | 6 | <link rel="stylesheet" type="text/css" | 6 | <link rel="stylesheet" type="text/css" |
99 | 7 | href="/+icing/yui/current/build/cssfonts/fonts.css" /> | 7 | href="/+icing/yui/cssfonts/fonts.css" /> |
100 | 8 | <link rel="stylesheet" type="text/css" | 8 | <link rel="stylesheet" type="text/css" |
101 | 9 | href="/+icing/yui/current/build/cssbase/base.css" /> | 9 | href="/+icing/yui/cssbase/base.css" /> |
102 | 10 | </head> | 10 | </head> |
103 | 11 | <body> | 11 | <body> |
104 | 12 | <h1>What is OpenID?</h1> | 12 | <h1>What is OpenID?</h1> |
105 | 13 | 13 | ||
106 | === modified file 'lib/lp/registry/help/openpgp-keys.html' | |||
107 | --- lib/lp/registry/help/openpgp-keys.html 2009-10-14 10:00:46 +0000 | |||
108 | +++ lib/lp/registry/help/openpgp-keys.html 2010-01-21 15:33:14 +0000 | |||
109 | @@ -2,11 +2,11 @@ | |||
110 | 2 | <head> | 2 | <head> |
111 | 3 | <title>Introducing OpenPGP keys</title> | 3 | <title>Introducing OpenPGP keys</title> |
112 | 4 | <link rel="stylesheet" type="text/css" | 4 | <link rel="stylesheet" type="text/css" |
118 | 5 | href="/+icing/yui/current/build/cssreset/reset.css" /> | 5 | href="/+icing/yui/cssreset/reset.css" /> |
119 | 6 | <link rel="stylesheet" type="text/css" | 6 | <link rel="stylesheet" type="text/css" |
120 | 7 | href="/+icing/yui/current/build/cssfonts/fonts.css" /> | 7 | href="/+icing/yui/cssfonts/fonts.css" /> |
121 | 8 | <link rel="stylesheet" type="text/css" | 8 | <link rel="stylesheet" type="text/css" |
122 | 9 | href="/+icing/yui/current/build/cssbase/base.css" /> | 9 | href="/+icing/yui/cssbase/base.css" /> |
123 | 10 | </head> | 10 | </head> |
124 | 11 | <body> | 11 | <body> |
125 | 12 | <h1>Introducing OpenPGP keys</h1> | 12 | <h1>Introducing OpenPGP keys</h1> |
126 | 13 | 13 | ||
127 | === modified file 'lib/lp/registry/help/pgp-key-clearsign.html' | |||
128 | --- lib/lp/registry/help/pgp-key-clearsign.html 2009-06-09 15:08:38 +0000 | |||
129 | +++ lib/lp/registry/help/pgp-key-clearsign.html 2010-01-21 15:33:14 +0000 | |||
130 | @@ -2,11 +2,11 @@ | |||
131 | 2 | <head> | 2 | <head> |
132 | 3 | <title>Importing an OpenPGP key</title> | 3 | <title>Importing an OpenPGP key</title> |
133 | 4 | <link rel="stylesheet" type="text/css" | 4 | <link rel="stylesheet" type="text/css" |
139 | 5 | href="/+icing/yui/current/build/cssreset/reset.css" /> | 5 | href="/+icing/yui/cssreset/reset.css" /> |
140 | 6 | <link rel="stylesheet" type="text/css" | 6 | <link rel="stylesheet" type="text/css" |
141 | 7 | href="/+icing/yui/current/build/cssfonts/fonts.css" /> | 7 | href="/+icing/yui/cssfonts/fonts.css" /> |
142 | 8 | <link rel="stylesheet" type="text/css" | 8 | <link rel="stylesheet" type="text/css" |
143 | 9 | href="/+icing/yui/current/build/cssbase/base.css" /> | 9 | href="/+icing/yui/cssbase/base.css" /> |
144 | 10 | </head> | 10 | </head> |
145 | 11 | <body> | 11 | <body> |
146 | 12 | <h1>Confirming your OpenPGP key</h1> | 12 | <h1>Confirming your OpenPGP key</h1> |
147 | 13 | 13 | ||
148 | === modified file 'lib/lp/registry/help/verify-downloads.html' | |||
149 | --- lib/lp/registry/help/verify-downloads.html 2009-06-30 15:19:14 +0000 | |||
150 | +++ lib/lp/registry/help/verify-downloads.html 2010-01-21 15:33:14 +0000 | |||
151 | @@ -2,11 +2,11 @@ | |||
152 | 2 | <head> | 2 | <head> |
153 | 3 | <title>Verifying a download</title> | 3 | <title>Verifying a download</title> |
154 | 4 | <link rel="stylesheet" type="text/css" | 4 | <link rel="stylesheet" type="text/css" |
160 | 5 | href="/+icing/yui/current/build/cssreset/reset.css" /> | 5 | href="/+icing/yui/cssreset/reset.css" /> |
161 | 6 | <link rel="stylesheet" type="text/css" | 6 | <link rel="stylesheet" type="text/css" |
162 | 7 | href="/+icing/yui/current/build/cssfonts/fonts.css" /> | 7 | href="/+icing/yui/cssfonts/fonts.css" /> |
163 | 8 | <link rel="stylesheet" type="text/css" | 8 | <link rel="stylesheet" type="text/css" |
164 | 9 | href="/+icing/yui/current/build/cssbase/base.css" /> | 9 | href="/+icing/yui/cssbase/base.css" /> |
165 | 10 | </head> | 10 | </head> |
166 | 11 | <body> | 11 | <body> |
167 | 12 | <h1>Verifying a download</h1> | 12 | <h1>Verifying a download</h1> |
168 | 13 | 13 | ||
169 | === modified file 'lib/lp/services/inlinehelp/javascript/inlinehelp.js' | |||
170 | --- lib/lp/services/inlinehelp/javascript/inlinehelp.js 2009-10-09 10:38:00 +0000 | |||
171 | +++ lib/lp/services/inlinehelp/javascript/inlinehelp.js 2010-01-21 15:33:14 +0000 | |||
172 | @@ -27,7 +27,7 @@ | |||
173 | 27 | // Changed from an <input type=button> to a <button> since | 27 | // Changed from an <input type=button> to a <button> since |
174 | 28 | // IE8 doesn't handle style.css's input{visibility:inherit} correctly. | 28 | // IE8 doesn't handle style.css's input{visibility:inherit} correctly. |
175 | 29 | $('help-close').innerHTML = | 29 | $('help-close').innerHTML = |
177 | 30 | '<button id="help-close-btn">Continue</button>'; | 30 | '<button id="help-close-btn">Close</button>'; |
178 | 31 | forEach(findHelpLinks(), setupHelpTrigger); | 31 | forEach(findHelpLinks(), setupHelpTrigger); |
179 | 32 | initHelpPane(); | 32 | initHelpPane(); |
180 | 33 | } | 33 | } |
181 | 34 | 34 | ||
182 | === modified file 'lib/lp/soyuz/help/ppa-sources-list.html' | |||
183 | --- lib/lp/soyuz/help/ppa-sources-list.html 2009-07-10 10:00:30 +0000 | |||
184 | +++ lib/lp/soyuz/help/ppa-sources-list.html 2010-01-21 15:33:14 +0000 | |||
185 | @@ -2,11 +2,11 @@ | |||
186 | 2 | <head> | 2 | <head> |
187 | 3 | <title>How do I use software from a PPA?</title> | 3 | <title>How do I use software from a PPA?</title> |
188 | 4 | <link rel="stylesheet" type="text/css" | 4 | <link rel="stylesheet" type="text/css" |
194 | 5 | href="/+icing/yui/current/build/cssreset/reset.css" /> | 5 | href="/+icing/yui/cssreset/reset.css" /> |
195 | 6 | <link rel="stylesheet" type="text/css" | 6 | <link rel="stylesheet" type="text/css" |
196 | 7 | href="/+icing/yui/current/build/cssfonts/fonts.css" /> | 7 | href="/+icing/yui/cssfonts/fonts.css" /> |
197 | 8 | <link rel="stylesheet" type="text/css" | 8 | <link rel="stylesheet" type="text/css" |
198 | 9 | href="/+icing/yui/current/build/cssbase/base.css" /> | 9 | href="/+icing/yui/cssbase/base.css" /> |
199 | 10 | </head> | 10 | </head> |
200 | 11 | <body> | 11 | <body> |
201 | 12 | <h1>How do I use software from a PPA?</h1> | 12 | <h1>How do I use software from a PPA?</h1> |
202 | 13 | 13 | ||
203 | === added file 'lib/lp/translations/help/directory-example.html' | |||
204 | --- lib/lp/translations/help/directory-example.html 1970-01-01 00:00:00 +0000 | |||
205 | +++ lib/lp/translations/help/directory-example.html 2010-01-21 15:33:14 +0000 | |||
206 | @@ -0,0 +1,53 @@ | |||
207 | 1 | <html> | ||
208 | 2 | <head> | ||
209 | 3 | <title>Example directory layout for translation files</title> | ||
210 | 4 | <link rel="stylesheet" type="text/css" | ||
211 | 5 | href="/+icing/yui/cssreset/reset.css" /> | ||
212 | 6 | <link rel="stylesheet" type="text/css" | ||
213 | 7 | href="/+icing/yui/cssfonts/fonts.css" /> | ||
214 | 8 | <link rel="stylesheet" type="text/css" | ||
215 | 9 | href="/+icing/yui/cssbase/base.css" /> | ||
216 | 10 | </head> | ||
217 | 11 | <body> | ||
218 | 12 | <h1>Example directory layout for translation files</h1> | ||
219 | 13 | |||
220 | 14 | <p> | ||
221 | 15 | Each template (<code>.pot</code>) file must be in its own | ||
222 | 16 | directory. For example: | ||
223 | 17 | </p> | ||
224 | 18 | |||
225 | 19 | <ul> | ||
226 | 20 | <li>template1/template1.pot | ||
227 | 21 | <ul> | ||
228 | 22 | <li>template1/de.po</li> | ||
229 | 23 | <li>template1/fr.po</li> | ||
230 | 24 | </ul> | ||
231 | 25 | </li> | ||
232 | 26 | <li>template2/template2.pot | ||
233 | 27 | <ul> | ||
234 | 28 | <li>template2/de.po</li> | ||
235 | 29 | <li>template2/fr.po</li> | ||
236 | 30 | </ul> | ||
237 | 31 | </li> | ||
238 | 32 | </ul> | ||
239 | 33 | |||
240 | 34 | <p> | ||
241 | 35 | You should follow Launchpad <a target="_blank" | ||
242 | 36 | href="https://help.launchpad.net/Translations/ImportPolicy"> | ||
243 | 37 | translation import guidelines</a> to ensure your translation | ||
244 | 38 | files are imported successfully. | ||
245 | 39 | </p> | ||
246 | 40 | |||
247 | 41 | <h2>.mo-style layouts</h2> | ||
248 | 42 | |||
249 | 43 | <p> | ||
250 | 44 | Launchpad will not import your files if they use a <code>.mo</code>-style | ||
251 | 45 | directory layout, such as: | ||
252 | 46 | </p> | ||
253 | 47 | |||
254 | 48 | <p> | ||
255 | 49 | <strong>NOT SUPPORTED:</strong> <code>template1/LC_MESSAGES/de/template1.po</code> | ||
256 | 50 | </p> | ||
257 | 51 | |||
258 | 52 | </body> | ||
259 | 53 | </html> | ||
260 | 0 | 54 | ||
261 | === modified file 'lib/lp/translations/help/getting-started-for-your-project.html' | |||
262 | --- lib/lp/translations/help/getting-started-for-your-project.html 2009-07-01 20:18:32 +0000 | |||
263 | +++ lib/lp/translations/help/getting-started-for-your-project.html 2010-01-21 15:33:14 +0000 | |||
264 | @@ -2,11 +2,11 @@ | |||
265 | 2 | <head> | 2 | <head> |
266 | 3 | <title>Getting started with Launchpad Translations for your project</title> | 3 | <title>Getting started with Launchpad Translations for your project</title> |
267 | 4 | <link rel="stylesheet" type="text/css" | 4 | <link rel="stylesheet" type="text/css" |
273 | 5 | href="/+icing/yui/current/build/cssreset/reset.css" /> | 5 | href="/+icing/yui/cssreset/reset.css" /> |
274 | 6 | <link rel="stylesheet" type="text/css" | 6 | <link rel="stylesheet" type="text/css" |
275 | 7 | href="/+icing/yui/current/build/cssfonts/fonts.css" /> | 7 | href="/+icing/yui/cssfonts/fonts.css" /> |
276 | 8 | <link rel="stylesheet" type="text/css" | 8 | <link rel="stylesheet" type="text/css" |
277 | 9 | href="/+icing/yui/current/build/cssbase/base.css" /> | 9 | href="/+icing/yui/cssbase/base.css" /> |
278 | 10 | </head> | 10 | </head> |
279 | 11 | <body> | 11 | <body> |
280 | 12 | <h1>Getting started with Launchpad Translations for your project</h1> | 12 | <h1>Getting started with Launchpad Translations for your project</h1> |
281 | 13 | 13 | ||
282 | === added file 'lib/lp/translations/help/imported-upload.html' | |||
283 | --- lib/lp/translations/help/imported-upload.html 1970-01-01 00:00:00 +0000 | |||
284 | +++ lib/lp/translations/help/imported-upload.html 2010-01-21 15:33:14 +0000 | |||
285 | @@ -0,0 +1,61 @@ | |||
286 | 1 | <html> | ||
287 | 2 | <head> | ||
288 | 3 | <title>Importing a .po file from upstream</title> | ||
289 | 4 | <link rel="stylesheet" type="text/css" | ||
290 | 5 | href="/+icing/yui/current/build/cssreset/reset.css" /> | ||
291 | 6 | <link rel="stylesheet" type="text/css" | ||
292 | 7 | href="/+icing/yui/current/build/cssfonts/fonts.css" /> | ||
293 | 8 | <link rel="stylesheet" type="text/css" | ||
294 | 9 | href="/+icing/yui/current/build/cssbase/base.css" /> | ||
295 | 10 | </head> | ||
296 | 11 | <body> | ||
297 | 12 | <h1>Importing a .po file from upstream</h1> | ||
298 | 13 | |||
299 | 14 | <p> | ||
300 | 15 | Many projects have either full or partial translation efforts | ||
301 | 16 | outside of Launchpad. If you work on translations for such a | ||
302 | 17 | project, either its partial translation in Launchpad or its | ||
303 | 18 | translation for a distribution such as Ubuntu, you should import | ||
304 | 19 | the externally generated translations from time to time. | ||
305 | 20 | </p> | ||
306 | 21 | |||
307 | 22 | <h2>How Launchpad prioritises imported translation strings</h2> | ||
308 | 23 | |||
309 | 24 | <p>To help ensure the best quality translations, Launchpad | ||
310 | 25 | prioritises translation strings differently depending on where | ||
311 | 26 | they were made. | ||
312 | 27 | </p> | ||
313 | 28 | |||
314 | 29 | <p> | ||
315 | 30 | In general, a translation made in Launchpad will take precedence | ||
316 | 31 | over a translation imported from upstream, meaning that most | ||
317 | 32 | imports will only overwrite a string if it also was an import. | ||
318 | 33 | </p> | ||
319 | 34 | |||
320 | 35 | <p> | ||
321 | 36 | There are, though, two important exceptions: | ||
322 | 37 | </p> | ||
323 | 38 | |||
324 | 39 | <ul> | ||
325 | 40 | <li> | ||
326 | 41 | The first time that the translation of a string, in a | ||
327 | 42 | particular language, is imported into Launchpad, it will take | ||
328 | 43 | precedence over any existing translation made in that language | ||
329 | 44 | in Launchpad. | ||
330 | 45 | </li> | ||
331 | 46 | |||
332 | 47 | <li> | ||
333 | 48 | If an imported string matches the translation already made in | ||
334 | 49 | Launchpad. This means that the translation will now be | ||
335 | 50 | overwritten by any subsequent imports, if they differ. However, | ||
336 | 51 | making a change to the translation in Launchpad would reset it | ||
337 | 52 | to take precedence over imported strings. | ||
338 | 53 | </li> | ||
339 | 54 | </ul> | ||
340 | 55 | |||
341 | 56 | <p>You should also take a look at Launchpad's <a href="https://help.launchpad.net/Translations/YourProject/ImportPolicy" target="_blank"> | ||
342 | 57 | translation import guidelines</a>. | ||
343 | 58 | </p> | ||
344 | 59 | |||
345 | 60 | </body> | ||
346 | 61 | </html> | ||
347 | 0 | 62 | ||
348 | === added file 'lib/lp/translations/help/importing-from-bzr.html' | |||
349 | --- lib/lp/translations/help/importing-from-bzr.html 1970-01-01 00:00:00 +0000 | |||
350 | +++ lib/lp/translations/help/importing-from-bzr.html 2010-01-21 15:33:14 +0000 | |||
351 | @@ -0,0 +1,37 @@ | |||
352 | 1 | <html> | ||
353 | 2 | <head> | ||
354 | 3 | <title>Importing translation files from a Bazaar branch</title> | ||
355 | 4 | <link rel="stylesheet" type="text/css" | ||
356 | 5 | href="/+icing/yui/cssreset/reset.css" /> | ||
357 | 6 | <link rel="stylesheet" type="text/css" | ||
358 | 7 | href="/+icing/yui/cssfonts/fonts.css" /> | ||
359 | 8 | <link rel="stylesheet" type="text/css" | ||
360 | 9 | href="/+icing/yui/cssbase/base.css" /> | ||
361 | 10 | </head> | ||
362 | 11 | <body> | ||
363 | 12 | <h1>Importing translation files from a Bazaar branch</h1> | ||
364 | 13 | |||
365 | 14 | <p> | ||
366 | 15 | You can make either one-off or continuous imports of translation | ||
367 | 16 | files in a Bazaar branch. Which you choose will most likely depend | ||
368 | 17 | on whether you expect to make frequent updates to either types of | ||
369 | 18 | file. | ||
370 | 19 | </p> | ||
371 | 20 | |||
372 | 21 | <p>Read more about:</p> | ||
373 | 22 | |||
374 | 23 | <ul> | ||
375 | 24 | <li> | ||
376 | 25 | <a href="https://help.launchpad.net/Translations/YourProject/ImportingTemplates" | ||
377 | 26 | target="_blank">importing templates</a> (<code>.pot</code> files) | ||
378 | 27 | </li> | ||
379 | 28 | |||
380 | 29 | <li> | ||
381 | 30 | <a href="https://help.launchpad.net/Translations/YourProject/ImportingTranslations" | ||
382 | 31 | target="_blank">importing translations</a> (<code>.po</code> files) | ||
383 | 32 | </li> | ||
384 | 33 | </ul> | ||
385 | 34 | |||
386 | 35 | |||
387 | 36 | </body> | ||
388 | 37 | </html> | ||
389 | 0 | 38 | ||
390 | === added file 'lib/lp/translations/help/new-to-translating.html' | |||
391 | --- lib/lp/translations/help/new-to-translating.html 1970-01-01 00:00:00 +0000 | |||
392 | +++ lib/lp/translations/help/new-to-translating.html 2010-01-21 15:33:14 +0000 | |||
393 | @@ -0,0 +1,44 @@ | |||
394 | 1 | <html> | ||
395 | 2 | <head> | ||
396 | 3 | <title>Tips for new translators</title> | ||
397 | 4 | <link rel="stylesheet" type="text/css" | ||
398 | 5 | href="/+icing/yui/cssreset/reset.css" /> | ||
399 | 6 | <link rel="stylesheet" type="text/css" | ||
400 | 7 | href="/+icing/yui/cssfonts/fonts.css" /> | ||
401 | 8 | <link rel="stylesheet" type="text/css" | ||
402 | 9 | href="/+icing/yui/cssbase/base.css" /> | ||
403 | 10 | </head> | ||
404 | 11 | <body> | ||
405 | 12 | <h1>Tips for new translators</h1> | ||
406 | 13 | |||
407 | 14 | <p> | ||
408 | 15 | If you're new to translating using Launchpad, there are a few things you | ||
409 | 16 | might find it useful to know. | ||
410 | 17 | </p> | ||
411 | 18 | |||
412 | 19 | <ul> | ||
413 | 20 | <li> | ||
414 | 21 | You can <a href="/people/+me/+editlanguages" target="_blank">tell | ||
415 | 22 | Launchpad which languages you prefer to work in</a>. | ||
416 | 23 | </li> | ||
417 | 24 | <li> | ||
418 | 25 | You can help any of hundreds of projects that use Launchpad to | ||
419 | 26 | translate their software. Also, you can help translate distributions, | ||
420 | 27 | such as Ubuntu. | ||
421 | 28 | </li> | ||
422 | 29 | <li> | ||
423 | 30 | Each project/distribution decides how to balance openness with the | ||
424 | 31 | need for review of translations by selecting a <a | ||
425 | 32 | href="/+help/permissions-policies.html">permissions policy</a>. For | ||
426 | 33 | most projects, you'll be able to suggest translations that will then | ||
427 | 34 | be reviewed by someone else. | ||
428 | 35 | </li> | ||
429 | 36 | </ul> | ||
430 | 37 | |||
431 | 38 | <p> | ||
432 | 39 | <a href="https://help.launchpad.net/Translations/StartingToTranslate" | ||
433 | 40 | target="_blank">read more about translating in Launchpad ></a> | ||
434 | 41 | </p> | ||
435 | 42 | |||
436 | 43 | </body> | ||
437 | 44 | </html> | ||
438 | 0 | 45 | ||
439 | === added file 'lib/lp/translations/help/reviewing.html' | |||
440 | --- lib/lp/translations/help/reviewing.html 1970-01-01 00:00:00 +0000 | |||
441 | +++ lib/lp/translations/help/reviewing.html 2010-01-21 15:33:14 +0000 | |||
442 | @@ -0,0 +1,52 @@ | |||
443 | 1 | <html> | ||
444 | 2 | <head> | ||
445 | 3 | <title>Reviewing translations</title> | ||
446 | 4 | <link rel="stylesheet" type="text/css" | ||
447 | 5 | href="/+icing/yui/cssreset/reset.css" /> | ||
448 | 6 | <link rel="stylesheet" type="text/css" | ||
449 | 7 | href="/+icing/yui/cssfonts/fonts.css" /> | ||
450 | 8 | <link rel="stylesheet" type="text/css" | ||
451 | 9 | href="/+icing/yui/cssbase/base.css" /> | ||
452 | 10 | </head> | ||
453 | 11 | <body> | ||
454 | 12 | <h1>Reviewing translations</h1> | ||
455 | 13 | |||
456 | 14 | <p> | ||
457 | 15 | <strong>Important:</strong> You can find the translation guidelines | ||
458 | 16 | you must follow as a reviewer by visiting the appropriate | ||
459 | 17 | translation group from the <a href="/+groups/" target="_blank"> | ||
460 | 18 | translation group overview page</a>. | ||
461 | 19 | </p> | ||
462 | 20 | |||
463 | 21 | <p> | ||
464 | 22 | As a member of one or more translation teams, you can help make | ||
465 | 23 | sure that that the work of other translators makes it into | ||
466 | 24 | published software. | ||
467 | 25 | </p> | ||
468 | 26 | |||
469 | 27 | <p> | ||
470 | 28 | One of the quickest ways is to review translated strings in the | ||
471 | 29 | languages with which you're familiar. The more reviews you do, the | ||
472 | 30 | more software will be available in the languages you care about. | ||
473 | 31 | </p> | ||
474 | 32 | |||
475 | 33 | <p> | ||
476 | 34 | To get started, simply follow the review links on your | ||
477 | 35 | <a href="https://translations.launchpad.net/people/+me/" target="_blank"> | ||
478 | 36 | translation dashboard</a>. | ||
479 | 37 | </p> | ||
480 | 38 | |||
481 | 39 | <p> | ||
482 | 40 | <strong>Note:</strong> there's a lot more to being a member of | ||
483 | 41 | a translation team than just reviewing strings. Most translation | ||
484 | 42 | teams have an active community that works to set standards and | ||
485 | 43 | divide up work among its members. | ||
486 | 44 | </p> | ||
487 | 45 | |||
488 | 46 | <p> | ||
489 | 47 | <a href="https://help.launchpad.net/Translations/JoiningATranslationGroup" | ||
490 | 48 | target="_blank">Learn more about translation groups ></a> | ||
491 | 49 | </p> | ||
492 | 50 | |||
493 | 51 | </body> | ||
494 | 52 | </html> | ||
495 | 0 | 53 | ||
496 | === added file 'lib/lp/translations/help/successful-imports.html' | |||
497 | --- lib/lp/translations/help/successful-imports.html 1970-01-01 00:00:00 +0000 | |||
498 | +++ lib/lp/translations/help/successful-imports.html 2010-01-21 15:33:14 +0000 | |||
499 | @@ -0,0 +1,46 @@ | |||
500 | 1 | <html> | ||
501 | 2 | <head> | ||
502 | 3 | <title>Importing translation files from a Bazaar branch</title> | ||
503 | 4 | <link rel="stylesheet" type="text/css" | ||
504 | 5 | href="/+icing/yui/cssreset/reset.css" /> | ||
505 | 6 | <link rel="stylesheet" type="text/css" | ||
506 | 7 | href="/+icing/yui/cssfonts/fonts.css" /> | ||
507 | 8 | <link rel="stylesheet" type="text/css" | ||
508 | 9 | href="/+icing/yui/cssbase/base.css" /> | ||
509 | 10 | </head> | ||
510 | 11 | <body> | ||
511 | 12 | <h1>Importing translation files from a Bazaar branch</h1> | ||
512 | 13 | |||
513 | 14 | <p> | ||
514 | 15 | When importing translation files into Launchpad from a tarball or | ||
515 | 16 | a Bazaar branch, you must follow our <a | ||
516 | 17 | href="https://help.launchpad.net/Translations/YourProject/ImportPolicy" | ||
517 | 18 | target="_blank">translations import policy</a>. At a minimum, your | ||
518 | 19 | tarball or branch must: | ||
519 | 20 | </p> | ||
520 | 21 | |||
521 | 22 | <ul class="bulleted"> | ||
522 | 23 | <li>Contain at least one <code>.pot</code> file with English strings, | ||
523 | 24 | rather than message IDs or another language. You cannot upload a | ||
524 | 25 | <code>.po</code> file on its own.</li> | ||
525 | 26 | <li>Give each template its own directory (<a href="/+help/directory-example.html" | ||
526 | 27 | >see an example directory layout</a>).</li> | ||
527 | 28 | </ul> | ||
528 | 29 | |||
529 | 30 | <p>The first time you upload a template, it'll usually take a few days | ||
530 | 31 | before it is approved. However, imports from Bazaar branches are | ||
531 | 32 | usually approved sooner than imports from tarballs. | ||
532 | 33 | </p> | ||
533 | 34 | |||
534 | 35 | <p> | ||
535 | 36 | Subsequent updates to templates, and <code>.po</code> files will be | ||
536 | 37 | approved automatically. | ||
537 | 38 | </p> | ||
538 | 39 | |||
539 | 40 | <p> | ||
540 | 41 | Following approval, the English strings, and any translations, will be | ||
541 | 42 | available in Launchpad within one day and usually much sooner. | ||
542 | 43 | </p> | ||
543 | 44 | |||
544 | 45 | </body> | ||
545 | 46 | </html> | ||
546 | 0 | 47 | ||
547 | === modified file 'lib/lp/translations/help/translation-groups.html' | |||
548 | --- lib/lp/translations/help/translation-groups.html 2009-07-01 11:16:45 +0000 | |||
549 | +++ lib/lp/translations/help/translation-groups.html 2010-01-21 15:33:14 +0000 | |||
550 | @@ -2,11 +2,11 @@ | |||
551 | 2 | <head> | 2 | <head> |
552 | 3 | <title>Translation groups</title> | 3 | <title>Translation groups</title> |
553 | 4 | <link rel="stylesheet" type="text/css" | 4 | <link rel="stylesheet" type="text/css" |
559 | 5 | href="/+icing/yui/current/build/cssreset/reset.css" /> | 5 | href="/+icing/yui/cssreset/reset.css" /> |
560 | 6 | <link rel="stylesheet" type="text/css" | 6 | <link rel="stylesheet" type="text/css" |
561 | 7 | href="/+icing/yui/current/build/cssfonts/fonts.css" /> | 7 | href="/+icing/yui/cssfonts/fonts.css" /> |
562 | 8 | <link rel="stylesheet" type="text/css" | 8 | <link rel="stylesheet" type="text/css" |
563 | 9 | href="/+icing/yui/current/build/cssbase/base.css" /> | 9 | href="/+icing/yui/cssbase/base.css" /> |
564 | 10 | </head> | 10 | </head> |
565 | 11 | <body> | 11 | <body> |
566 | 12 | <h1>Translation groups</h1> | 12 | <h1>Translation groups</h1> |
567 | 13 | 13 | ||
568 | === added file 'lib/lp/translations/help/updated-upload.html' | |||
569 | --- lib/lp/translations/help/updated-upload.html 1970-01-01 00:00:00 +0000 | |||
570 | +++ lib/lp/translations/help/updated-upload.html 2010-01-21 15:33:14 +0000 | |||
571 | @@ -0,0 +1,40 @@ | |||
572 | 1 | <html> | ||
573 | 2 | <head> | ||
574 | 3 | <title>Uploading an updated .po file</title> | ||
575 | 4 | <link rel="stylesheet" type="text/css" | ||
576 | 5 | href="/+icing/yui/cssreset/reset.css" /> | ||
577 | 6 | <link rel="stylesheet" type="text/css" | ||
578 | 7 | href="/+icing/yui/cssfonts/fonts.css" /> | ||
579 | 8 | <link rel="stylesheet" type="text/css" | ||
580 | 9 | href="/+icing/yui/cssbase/base.css" /> | ||
581 | 10 | </head> | ||
582 | 11 | <body> | ||
583 | 12 | <h1>Uploading an updated .po file</h1> | ||
584 | 13 | |||
585 | 14 | <p> | ||
586 | 15 | When you download a .po file from Launchpad, update it, and then | ||
587 | 16 | upload your edited .po file back to Launchpad, you need to select | ||
588 | 17 | "Updated translation" on the upload page. | ||
589 | 18 | </p> | ||
590 | 19 | |||
591 | 20 | <p> | ||
592 | 21 | Launchpad treats the strings in that .po file just the same as if | ||
593 | 22 | the translations had been made using Launchpad's web interface. | ||
594 | 23 | </p> | ||
595 | 24 | |||
596 | 25 | <h2>Structuring the .po file</h2> | ||
597 | 26 | |||
598 | 27 | <p> | ||
599 | 28 | Launchpad will only accept the .po file if it has the | ||
600 | 29 | <code>X-Exported-From-Launchpad</code> header. That header is | ||
601 | 30 | automatically added when you export a .po file from Launchpad. | ||
602 | 31 | </p> | ||
603 | 32 | |||
604 | 33 | <p> | ||
605 | 34 | The easiest way to ensure Launchpad accepts your .po file as an | ||
606 | 35 | update is to export a .po file from Launchpad, edit only the | ||
607 | 36 | strings and then upload it back to Launchpad. | ||
608 | 37 | </p> | ||
609 | 38 | |||
610 | 39 | </body> | ||
611 | 40 | </html> | ||
612 | 0 | 41 | ||
613 | === modified file 'lib/lp/translations/stories/importqueue/xx-translation-import-queue.txt' | |||
614 | --- lib/lp/translations/stories/importqueue/xx-translation-import-queue.txt 2009-11-20 14:15:34 +0000 | |||
615 | +++ lib/lp/translations/stories/importqueue/xx-translation-import-queue.txt 2010-01-21 15:33:14 +0000 | |||
616 | @@ -8,7 +8,7 @@ | |||
617 | 8 | >>> ff_owner_browser.open( | 8 | >>> ff_owner_browser.open( |
618 | 9 | ... 'http://translations.launchpad.dev/firefox/1.0/' | 9 | ... 'http://translations.launchpad.dev/firefox/1.0/' |
619 | 10 | ... '+translations-upload') | 10 | ... '+translations-upload') |
621 | 11 | >>> 'Upload either a single file' in ff_owner_browser.contents | 11 | >>> 'Here you can upload translation files' in ff_owner_browser.contents |
622 | 12 | True | 12 | True |
623 | 13 | 13 | ||
624 | 14 | The upload consists of a tarball containing templates and/or | 14 | The upload consists of a tarball containing templates and/or |
625 | 15 | 15 | ||
626 | === modified file 'lib/lp/translations/templates/person-translations.pt' | |||
627 | --- lib/lp/translations/templates/person-translations.pt 2009-09-11 10:52:39 +0000 | |||
628 | +++ lib/lp/translations/templates/person-translations.pt 2010-01-21 15:33:14 +0000 | |||
629 | @@ -45,11 +45,9 @@ | |||
630 | 45 | <tal:reviewer condition="view/person_is_reviewer"> | 45 | <tal:reviewer condition="view/person_is_reviewer"> |
631 | 46 | <div id="translations-to-review-section" class="portlet"> | 46 | <div id="translations-to-review-section" class="portlet"> |
632 | 47 | <h2>Translations you need to review</h2> | 47 | <h2>Translations you need to review</h2> |
638 | 48 | <div class="see-all"> | 48 | <p> |
639 | 49 | <a href="http://help.launchpad.net/Translations/Reviewing"> | 49 | By reviewing the following translations, you can help ensure other translators' work is published to software users. (<a href="/+help/reviewing.html" target="help">More about reviewing</a>) |
640 | 50 | Why is this important? | 50 | </p> |
636 | 51 | </a> | ||
637 | 52 | </div> | ||
641 | 53 | <metal:translations-to-review | 51 | <metal:translations-to-review |
642 | 54 | tal:replace="structure context/@@+translations-to-review-table" /> | 52 | tal:replace="structure context/@@+translations-to-review-table" /> |
643 | 55 | <div class="see-all" | 53 | <div class="see-all" |
644 | 56 | 54 | ||
645 | === modified file 'lib/lp/translations/templates/pofile-upload.pt' | |||
646 | --- lib/lp/translations/templates/pofile-upload.pt 2009-09-17 13:24:05 +0000 | |||
647 | +++ lib/lp/translations/templates/pofile-upload.pt 2010-01-21 15:33:14 +0000 | |||
648 | @@ -14,7 +14,7 @@ | |||
649 | 14 | <h2>Choose a file to upload</h2> | 14 | <h2>Choose a file to upload</h2> |
650 | 15 | <div class="fields"> | 15 | <div class="fields"> |
651 | 16 | <input id="file_input" name="file" type="file" /> | 16 | <input id="file_input" name="file" type="file" /> |
653 | 17 | <div class="discreet">This should be a <code>.po</code> file.</div> | 17 | <div class="discreet">This should be a <code>.po</code> file and follow the <a href="https://help.launchpad.net/Translations/YourProject/ImportPolicy">translation import guidelines</a>.</div> |
654 | 18 | </div> | 18 | </div> |
655 | 19 | 19 | ||
656 | 20 | <h2>What kind of upload is this?</h2> | 20 | <h2>What kind of upload is this?</h2> |
657 | @@ -29,7 +29,7 @@ | |||
658 | 29 | </label> | 29 | </label> |
659 | 30 | <p class="discreet"> | 30 | <p class="discreet"> |
660 | 31 | You have exported a PO file from Launchpad, worked on it | 31 | You have exported a PO file from Launchpad, worked on it |
662 | 32 | off-line, and now you want to contribute your updates back. | 32 | off-line, and now you want to contribute your updates back. (<a href="/+help/updated-upload.html" target="help">More about updated translations</a>) |
663 | 33 | </p> | 33 | </p> |
664 | 34 | </span> | 34 | </span> |
665 | 35 | 35 | ||
666 | @@ -41,7 +41,7 @@ | |||
667 | 41 | </label> | 41 | </label> |
668 | 42 | <p class="discreet"> | 42 | <p class="discreet"> |
669 | 43 | You want to upload a more recent translation from upstream | 43 | You want to upload a more recent translation from upstream |
671 | 44 | release or from a source package. | 44 | release or from a source package. (<a href="/+help/imported-upload.html" target="help">More about imported translations</a>) |
672 | 45 | </p> | 45 | </p> |
673 | 46 | </span> | 46 | </span> |
674 | 47 | </div> | 47 | </div> |
675 | 48 | 48 | ||
676 | === modified file 'lib/lp/translations/templates/productseries-translations-settings.pt' | |||
677 | --- lib/lp/translations/templates/productseries-translations-settings.pt 2009-10-31 12:03:43 +0000 | |||
678 | +++ lib/lp/translations/templates/productseries-translations-settings.pt 2010-01-21 15:33:14 +0000 | |||
679 | @@ -32,13 +32,38 @@ | |||
680 | 32 | <tal:rosetta> | 32 | <tal:rosetta> |
681 | 33 | <h2>Import translations from branch</h2> | 33 | <h2>Import translations from branch</h2> |
682 | 34 | <p> | 34 | <p> |
690 | 35 | You can ask Launchpad to continuously import any translation | 35 | Launchpad can continuously import translation files (templates and |
691 | 36 | files (templates and translations) that it finds in | 36 | translations) from <strong><tal:series replace="structure view/series_title"> |
692 | 37 | <strong><tal:series replace="structure view/series_title"> | 37 | Evolution Series:trunk</tal:series>'s</strong> official Bazaar branch. |
693 | 38 | Evolution Series:trunk</tal:series>'s</strong> official Bazaar branch. | 38 | </p> |
694 | 39 | After the initial import, Launchpad will continue to scan your Bazaar | 39 | |
695 | 40 | branch for updates to template and translation files. | 40 | <p> |
696 | 41 | </p> | 41 | Launchpad will make an initial import and then update its data |
697 | 42 | every time you push a new revision to the branch. There is a | ||
698 | 43 | short delay between a push and the files appearing in the import | ||
699 | 44 | queue. | ||
700 | 45 | (<a tal:attributes="href context/menu:navigation/imports/url">See | ||
701 | 46 | the import queue</a>) | ||
702 | 47 | </p> | ||
703 | 48 | |||
704 | 49 | <p> | ||
705 | 50 | When preparing the translation files in your Bazaar branch, you must | ||
706 | 51 | follow our <a href="https://help.launchpad.net/Translations/YourProject/ImportPolicy" | ||
707 | 52 | >translations import policy</a>. At a minimum, your branch must: | ||
708 | 53 | </p> | ||
709 | 54 | |||
710 | 55 | <ul class="bulleted"> | ||
711 | 56 | <li> | ||
712 | 57 | contain at least one <code>.pot</code> file with English strings, | ||
713 | 58 | rather than message IDs or another language | ||
714 | 59 | </li> | ||
715 | 60 | <li> | ||
716 | 61 | give each template its own directory (<a | ||
717 | 62 | href="/+help/directory-example.html" target="help">see | ||
718 | 63 | an example directory layout</a>). | ||
719 | 64 | </li> | ||
720 | 65 | </ul> | ||
721 | 66 | |||
722 | 42 | <p id="bzr-request-display" class="info sprite"> | 67 | <p id="bzr-request-display" class="info sprite"> |
723 | 43 | If you only need a one-time import, please request it | 68 | If you only need a one-time import, please request it |
724 | 44 | <a tal:attributes="href view/request_bzr_import_url">here</a>. | 69 | <a tal:attributes="href view/request_bzr_import_url">here</a>. |
725 | 45 | 70 | ||
726 | === modified file 'lib/lp/translations/templates/productseries-translations-upload.pt' | |||
727 | --- lib/lp/translations/templates/productseries-translations-upload.pt 2009-10-31 12:03:43 +0000 | |||
728 | +++ lib/lp/translations/templates/productseries-translations-upload.pt 2010-01-21 15:33:14 +0000 | |||
729 | @@ -16,28 +16,37 @@ | |||
730 | 16 | context/product/@@+portlet-not-using-launchpad"/> | 16 | context/product/@@+portlet-not-using-launchpad"/> |
731 | 17 | </div> | 17 | </div> |
732 | 18 | 18 | ||
733 | 19 | <p>Before uploading any translations, please read the | ||
734 | 20 | <a href="https://help.launchpad.net/Translations/ImportPolicy" | ||
735 | 21 | >translations import policy</a>. | ||
736 | 22 | </p> | ||
737 | 23 | <p> | 19 | <p> |
741 | 24 | Upload either a single file (<code>.pot</code> / | 20 | Here you can upload translation files for your project, either |
742 | 25 | <code>.po</code>) or a tar file containing a PO template and a set of PO | 21 | individually or as part of a tarball (<code>.tar</code>, <code>.tar.gz</code>, <code>.tgz</code> or |
740 | 26 | files (<code>.tar</code>, <code>.tar.gz</code>, <code>.tgz</code> or | ||
743 | 27 | <code>.tar.bz2</code>). | 22 | <code>.tar.bz2</code>). |
757 | 28 | The files you upload will be reviewed by an admin before they appear in | 23 | </p> |
758 | 29 | Launchpad. | 24 | |
759 | 30 | </p> | 25 | <p> |
760 | 31 | <p> | 26 | <strong>Note:</strong> it's quicker and easier to <a tal:attributes=" |
761 | 32 | If you want to avoid manual review of your templates and translations, | 27 | href string:${context/fmt:url}/+translations-settings">import from a |
762 | 33 | we suggest you set up an | 28 | Bazaar branch</a> instead (<a href="/+help/importing-from-bzr.html" |
763 | 34 | <a tal:attributes=" | 29 | target="help">More about importing from Bazaar</a>) |
764 | 35 | href string:${context/fmt:url}/+translations-settings" | 30 | </p> |
765 | 36 | >automatic</a> import from a bazaar branch instead | 31 | |
766 | 37 | (<a href=" | 32 | <p> |
767 | 38 | https://help.launchpad.net/Translations/ImportingFromBazaarBranches" | 33 | When uploading a tarball or importing from a Bazaar branch, you must |
768 | 39 | >read more</a>). | 34 | follow our <a href="https://help.launchpad.net/Translations/YourProject/ImportPolicy" |
769 | 40 | </p> | 35 | >translations import policy</a>. At a minimum, your tarball or branch must: |
770 | 36 | </p> | ||
771 | 37 | |||
772 | 38 | <ul class="bulleted"> | ||
773 | 39 | <li>contain at least one <code>.pot</code> file with English strings, | ||
774 | 40 | rather than message IDs or another language</li> | ||
775 | 41 | <li>give each template its own directory (<a href="/+help/directory-example.html" | ||
776 | 42 | target="help">see an example directory layout</a>).</li> | ||
777 | 43 | </ul> | ||
778 | 44 | |||
779 | 45 | <p> | ||
780 | 46 | Any templates you upload may be reviewed by an admin before they appear | ||
781 | 47 | in Launchpad. | ||
782 | 48 | </p> | ||
783 | 49 | |||
784 | 41 | 50 | ||
785 | 42 | <form action="+translations-upload" method="post" | 51 | <form action="+translations-upload" method="post" |
786 | 43 | enctype="multipart/form-data" class="translations"> | 52 | enctype="multipart/form-data" class="translations"> |
787 | 44 | 53 | ||
788 | === modified file 'lib/lp/translations/templates/translationimportqueue-index.pt' | |||
789 | --- lib/lp/translations/templates/translationimportqueue-index.pt 2009-09-14 10:35:23 +0000 | |||
790 | +++ lib/lp/translations/templates/translationimportqueue-index.pt 2010-01-21 15:33:14 +0000 | |||
791 | @@ -20,8 +20,15 @@ | |||
792 | 20 | 20 | ||
793 | 21 | <div metal:fill-slot="main"> | 21 | <div metal:fill-slot="main"> |
794 | 22 | <p id="description"> | 22 | <p id="description"> |
797 | 23 | These translation related entries are imported, blocked, deleted or | 23 | These are translation files that have been imported, blocked, deleted or |
798 | 24 | waiting to be imported in Launchpad. | 24 | are waiting to be imported in Launchpad. |
799 | 25 | </p> | ||
800 | 26 | <p> | ||
801 | 27 | If your import is taking longer than you'd expect, <a href=" | ||
802 | 28 | https://answers.edge.launchpad.net/rosetta/+addquestion" | ||
803 | 29 | >contact us</a>. | ||
804 | 30 | (<a href="/+help/successful-imports.html" target="help">Learn | ||
805 | 31 | more about getting a successful import</a>) | ||
806 | 25 | <tal:login condition="not:request/lp:person"> | 32 | <tal:login condition="not:request/lp:person"> |
807 | 26 | <a href="+login">Log in</a> to change items in this list. | 33 | <a href="+login">Log in</a> to change items in this list. |
808 | 27 | </tal:login> | 34 | </tal:login> |
This is the first of two branches that fix a number of bugs in the Translations UI text and help, as identified by Matthew R and Danilo at UDS-L.