|
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 | | -<title metal:fill-slot="head_title">User editing</title> |
| 3 | +<title metal:fill-slot="head_title" i18n:translate="">User editing</title> |
4 | 4 | <span metal:fill-slot="body_title" tal:omit-tag="python:1"> |
5 | | - User<span tal:replace="context/id" /> |
6 | | - <tal:x tal:condition="context/is_edit_ok">Editing</tal:x> |
| 5 | + <tal:x tal:condition="context/is_edit_ok" i18n:translate="">User<span |
| 6 | + tal:replace="context/id" i18n:name="id"/> Editing</tal:x> |
| 7 | + <tal:x tal:condition="not:context/is_edit_ok" i18n:translate="">User<span |
| 8 | + tal:replace="context/id" i18n:name="id"/></tal:x> |
7 | 9 | </span> |
8 | 10 | <td class="content" metal:fill-slot="content"> |
9 | | -<span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())"> |
10 | | -You are not allowed to view this page. |
11 | | -</span> |
| 11 | +<span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())" |
| 12 | + i18n:translate="">You are not allowed to view this page.</span> |
12 | 13 |
|
13 | 14 | <form method="POST" onSubmit="return submit_once()" |
14 | 15 | enctype="multipart/form-data" tal:condition="context/is_edit_ok"> |
15 | 16 |
|
16 | 17 |
|
17 | 18 | <table class="form"> |
18 | 19 | <tr> |
19 | | - <th>Login Name</th> |
| 20 | + <th i18n:translate="">Login Name</th> |
20 | 21 | <td tal:content="structure context/username/field">username</td> |
21 | 22 | </tr> |
22 | 23 | <tr> |
23 | | - <th>Login Password</th> |
| 24 | + <th i18n:translate="">Login Password</th> |
24 | 25 | <td tal:content="structure context/password/field">password</td> |
25 | 26 | </tr> |
26 | 27 | <tr> |
27 | | - <th>Confirm Password</th> |
| 28 | + <th i18n:translate="">Confirm Password</th> |
28 | 29 | <td tal:content="structure context/password/confirm">password</td> |
29 | 30 | </tr> |
30 | 31 | <tr tal:condition="python:request.user.hasPermission('Web Roles')"> |
31 | | - <th>Roles</th> |
| 32 | + <th i18n:translate="">Roles</th> |
32 | 33 | <td tal:condition="context/id" |
33 | 34 | tal:content="structure context/roles/field">roles</td> |
34 | 35 | <td tal:condition="not:context/id"> |
35 | 36 | <input name="roles" tal:attributes="value db/config/NEW_WEB_USER_ROLES"> |
36 | 37 | </td> |
37 | 38 | </tr> |
38 | 39 | <tr> |
39 | | - <th>E-mail address</th> |
| 40 | + <th i18n:translate="">E-mail address</th> |
40 | 41 | <td tal:content="structure context/address/field">address</td> |
41 | 42 | </tr> |
42 | 43 | <tr> |
43 | | - <th>Alternate E-mail addresses<br>One address per line</th> |
| 44 | + <th i18n:translate="">Alternate E-mail addresses<br>One address per line</th> |
44 | 45 | <td tal:content="structure context/alternate_addresses/multiline">alternate_addresses</td> |
45 | 46 | </tr> |
46 | 47 |
|
|
56 | 57 |
|
57 | 58 | <table class="form" tal:condition="context/is_only_view_ok"> |
58 | 59 | <tr> |
59 | | - <th>Login Name</th> |
| 60 | + <th i18n:translate="">Login Name</th> |
60 | 61 | <td tal:content="context/username">username</td> |
61 | 62 | </tr> |
62 | 63 | <tr> |
63 | | - <th>E-mail address</th> |
| 64 | + <th i18n:translate="">E-mail address</th> |
64 | 65 | <td tal:content="context/address/email">address</td> |
65 | 66 | </tr> |
66 | 67 | </table> |
|
0 commit comments