|
1 | 1 | <!-- dollarId: user.item,v 1.7 2002/08/16 04:29:04 richard Exp dollar--> |
2 | 2 | <tal:block metal:use-macro="templates/page/macros/icing"> |
3 | 3 | <title metal:fill-slot="head_title" |
4 | | - tal:content="string:Registering with ${db/config/TRACKER_NAME}"></title> |
| 4 | + i18n:translate="">Registering with <span i18n:name="tracker" |
| 5 | + tal:replace="db/config/TRACKER_NAME" /></title> |
5 | 6 | <span metal:fill-slot="body_title" tal:omit-tag="python:1" |
6 | | - tal:content="string:Registering with ${db/config/TRACKER_NAME}"></span> |
| 7 | + i18n:translate="">Registering with <span i18n:name="tracker" |
| 8 | + tal:replace="db/config/TRACKER_NAME" /></span> |
7 | 9 | <td class="content" metal:fill-slot="content"> |
8 | 10 |
|
9 | 11 | <tal:block tal:define=" editok python:request.user.username=='anonymous' and |
10 | 12 | request.user.hasPermission('Web Registration')"> |
11 | 13 |
|
12 | | -<span tal:condition="python:not editok"> |
13 | | -You are not allowed to view this page. |
14 | | -</span> |
| 14 | +<span tal:condition="python:not editok" |
| 15 | + i18n:translate="">You are not allowed to view this page.</span> |
15 | 16 |
|
16 | 17 | <tal:block tal:condition="editok"> |
17 | 18 | <form method="POST" onSubmit="return submit_once()" enctype="multipart/form-data"> |
|
22 | 23 |
|
23 | 24 | <table class="form"> |
24 | 25 | <tr> |
25 | | - <th>Name</th> |
26 | | - <td tal:content="structure context/realname/field">realname</td> |
27 | | - </tr> |
28 | | - <tr> |
29 | | - <th>Login Name</th> |
| 26 | + <th i18n:translate="">Login Name</th> |
30 | 27 | <td tal:content="structure context/username/field">username</td> |
31 | 28 | </tr> |
32 | 29 | <tr> |
33 | | - <th>Login Password</th> |
| 30 | + <th i18n:translate="">Login Password</th> |
34 | 31 | <td tal:content="structure context/password/field">password</td> |
35 | 32 | </tr> |
36 | 33 | <tr> |
37 | | - <th>Confirm Password</th> |
| 34 | + <th i18n:translate="">Confirm Password</th> |
38 | 35 | <td tal:content="structure context/password/confirm">password</td> |
39 | 36 | </tr> |
40 | 37 | <tr tal:condition="python:request.user.hasPermission('Web Roles')"> |
41 | | - <th>Roles</th> |
| 38 | + <th i18n:translate="">Roles</th> |
42 | 39 | <td tal:condition="exists:item" |
43 | 40 | tal:content="structure context/roles/field">roles</td> |
44 | 41 | <td tal:condition="not:exists:item"> |
45 | 42 | <input name="roles" tal:attributes="value db/config/NEW_WEB_USER_ROLES"> |
46 | 43 | </td> |
47 | 44 | </tr> |
48 | 45 | <tr> |
49 | | - <th>Phone</th> |
50 | | - <td tal:content="structure context/phone/field">phone</td> |
51 | | - </tr> |
52 | | - <tr> |
53 | | - <th>Organisation</th> |
54 | | - <td tal:content="structure context/organisation/field">organisation</td> |
55 | | - </tr> |
56 | | - <tr> |
57 | | - <th>E-mail address</th> |
| 46 | + <th i18n:translate="">E-mail address</th> |
58 | 47 | <td tal:content="structure context/address/field">address</td> |
59 | 48 | </tr> |
60 | 49 | <tr> |
61 | | - <th>Alternate E-mail addresses<br>One address per line</th> |
| 50 | + <th i18n:translate="">Alternate E-mail addresses<br>One address per line</th> |
62 | 51 | <td tal:content="structure context/alternate_addresses/multiline">alternate_addresses</td> |
63 | 52 | </tr> |
64 | 53 |
|
65 | 54 | <tr> |
66 | 55 | <td> </td> |
67 | 56 | <td> |
68 | 57 | <input type="hidden" name=":action" value="register"> |
69 | | - <input type="submit" name="submit" value="Register"> |
| 58 | + <input type="submit" name="submit" value="Register" i18n:attributes="value"> |
70 | 59 | </td> |
71 | 60 | </tr> |
72 | 61 | </table> |
|
0 commit comments