diff options
Diffstat (limited to 'root/admin')
-rw-r--r-- | root/admin/account.tt | 28 | ||||
-rw-r--r-- | root/admin/account_addoc.tt | 4 | ||||
-rw-r--r-- | root/admin/account_modify.tt | 18 | ||||
-rw-r--r-- | root/admin/account_promote.tt | 14 | ||||
-rw-r--r-- | root/admin/group.tt | 16 | ||||
-rw-r--r-- | root/admin/group_modify.tt | 6 | ||||
-rw-r--r-- | root/admin/index.tt | 2 |
7 files changed, 44 insertions, 44 deletions
diff --git a/root/admin/account.tt b/root/admin/account.tt index 74aed54..128e36b 100644 --- a/root/admin/account.tt +++ b/root/admin/account.tt @@ -1,21 +1,21 @@ <form method="post" action=""> <table> <tr> - <td>Search by</td> + <td>[% l('Search by') %]</td> <td> <select name="attribute"> - <option value="uid">Username</option> - <option value="mail">Email</option> - <option value="cn">Full Name</option> - <option value="sn">Surname</option> + <option value="uid">[% l('Username') %]</option> + <option value="mail">[% l('Email') %]</option> + <option value="cn">[% l('Full Name') %]</option> + <option value="sn">[% l('Surname') %]</option> </select> </td> <!-- td> <select name="matchtype"> - <option value="substring">contains</option> - <option value="exact">is exactly</option> - <option value="gte">greater than or equal to</option> - <option value="lt">less than</option> + <option value="substring">[% l('contains') %]</option> + <option value="exact">[% l('is exactly') %]</option> + <option value="gte">[% l('greater than or equal to') %]</option> + <option value="lt">[% l('less than') %]</option> </select> </td --> <td><input type="text" name="value" value="" /></td> @@ -29,11 +29,11 @@ [% IF entries %] <table border=0> <tr> - <th>Username</th> - <th>Email</th> - <th>First Name</th> - <th>Surname</td> - <th>Full Name</td> + <th>[% l('Username') %]</th> + <th>[% l('Email') %]</th> + <th>[% l('First Name') %]</th> + <th>[% l('Surname') %]</td> + <th>[% l('Full Name') %]</td> </tr> [% FOREACH entry IN entries %] <tr> diff --git a/root/admin/account_addoc.tt b/root/admin/account_addoc.tt index 75c6898..c877b4b 100644 --- a/root/admin/account_addoc.tt +++ b/root/admin/account_addoc.tt @@ -6,8 +6,8 @@ Adding objectclass [% oc %] to dn [% dn %] <input type="hidden" name="objectclass" value="[% oc %]" /> <table> <tr> - <th>Attribute</th> - <th>Value</th> + <th>[% l('Attribute') %]</th> + <th>[% l('Value') %]</th> </tr> [% FOREACH attr IN must %] [% IF attr != "objectClass" %] diff --git a/root/admin/account_modify.tt b/root/admin/account_modify.tt index 8acd4b4..3f941a8 100644 --- a/root/admin/account_modify.tt +++ b/root/admin/account_modify.tt @@ -1,12 +1,12 @@ -<a href="[% c.uri_for('/admin/password') %]/[% uid %]">Reset password</a> -<a href="[% c.uri_for('/admin/account_group') %]/[% uid %]">Groups</a> +<a href="[% c.uri_for('/admin/password') %]/[% uid %]">[% l('Reset password') %]</a> +<a href="[% c.uri_for('/admin/account_group') %]/[% uid %]">[% l('Groups') %]</a> <form method="post" action=""> <input type='hidden' name='operation' value='replace' /> <table border=0> <tr> - <th>Attribute</th> - <th>Value</th> + <th>[% l('Attribute') %]</th> + <th>[% l('Value') %]</th> </tr> [% FOREACH attr IN values %] <tr> @@ -21,10 +21,10 @@ <br/> [% END %] [% IF attr.addable AND attr.editable %] - <a href="[% c.uri_for('/admin/account_edit') %]/add/[% attr.name %]">Add</a> + <a href="[% c.uri_for('/admin/account_edit') %]/add/[% attr.name %]">[% l('Add') %]</a> [% END %] [% IF attr.removable AND attr.editable %] - <a href="[% c.uri_for('/admin/account_modifydel') %]/[% uid %]/[% attr.name %]/[% val %]">Delete</a> + <a href="[% c.uri_for('/admin/account_modifydel') %]/[% uid %]/[% attr.name %]/[% val %]">[% l('Delete') %]</a> [% END %] [% END %] </td> @@ -44,13 +44,13 @@ <input type="hidden" name="operation" value="add" /> <p> - Add attribute + [% l('Add attribute') %] <select name='attribute'> [% FOREACH attr IN may %] <option value="[% attr %]">[% attr %]</option> [% END %] </select> - with value + [% l('with value') %] <input name="value" value="" /> <input type="submit" value="Add" /> </p> @@ -59,7 +59,7 @@ <hr /> [% IF groups %] -<p>Promote user to posixAccount with primary group: </p> +<p>[% l('Promote user to posixAccount with primary group:') %] </p> <form method="post" action="[% c.uri_for('/admin/account_promote') %]"> <input type="hidden" name="dn" value="[% dn %]" /> diff --git a/root/admin/account_promote.tt b/root/admin/account_promote.tt index 39dba87..6429379 100644 --- a/root/admin/account_promote.tt +++ b/root/admin/account_promote.tt @@ -1,12 +1,12 @@ <form method="post" action=""> <table border=0> <tr> - <th>Select</th> - <th>Username</th> - <th>Email</th> - <th>First Name</th> - <th>Surname</td> - <th>Full Name</td> + <th>[% l('Select') %]</th> + <th>[% l('Username') %]</th> + <th>[% l('Email') %]</th> + <th>[% l('First Name') %]</th> + <th>[% l('Surname') %]</td> + <th>[% l('Full Name') %]</td> </tr> [% FOREACH entry IN entries %] <tr> @@ -22,7 +22,7 @@ <table border=0> <tr> - <td>Primary group</td> + <td>[% l('Primary group') %]</td> <td> <select name="gid"> [% FOREACH group IN groups %] diff --git a/root/admin/group.tt b/root/admin/group.tt index 50c6bde..d7f258a 100644 --- a/root/admin/group.tt +++ b/root/admin/group.tt @@ -2,20 +2,20 @@ <table> <tr> <td> -Search by +[% l('Search by') %] </td> <td> <select name="attribute"> -<option value="cn">Group name</option> -<option value="member">member</option> +<option value="cn">[% l('Group name') %]</option> +<option value="member">[% l('member') %]</option> </select> </td> <!-- td> <select name="matchtype"> -<option value="substring">contains</option> -<option value="exact">is exactly</option> -<option value="gte">greater than or equal to</option> -<option value="lt">less than</option> +<option value="substring">[% l('contains') %]</option> +<option value="exact">[% l('is exactly') %]</option> +<option value="gte">[% l('greater than or equal to') %]</option> +<option value="lt">[% l('less than') %]</option> </select> </td --> <td><input name='value'></td> @@ -24,7 +24,7 @@ Search by [% IF entries %] <table border=0> <tr> -<th>Group Name</th> +<th>[% l('Group Name') %]</th> </tr> [% FOREACH entry IN entries %] <tr> diff --git a/root/admin/group_modify.tt b/root/admin/group_modify.tt index 15357f6..13bc15f 100644 --- a/root/admin/group_modify.tt +++ b/root/admin/group_modify.tt @@ -2,8 +2,8 @@ <input type='hidden' name='dn' value='[% group.dn %]'> <table> <tr> - <th>Attribute</th> - <th>Value</th> + <th>[% l('Attribute') %]</th> + <th>[% l('Value') %]</th> </tr> [% FOREACH attr IN group.attributes %] <tr> @@ -11,7 +11,7 @@ <td> [% FOREACH value IN group.get_value(attr) %] [% value %] - <a href="[% c.uri_for('/admin/group_modify') %]/delete/[% group.dn %]/[% attr %]/[% value %]">delete</a> + <a href="[% c.uri_for('/admin/group_modify') %]/delete/[% group.dn %]/[% attr %]/[% value %]">[% l('delete') %]</a> <br/> [% END %] <input name="[% attr %]" value="" /> diff --git a/root/admin/index.tt b/root/admin/index.tt index 72dff05..8c50471 100644 --- a/root/admin/index.tt +++ b/root/admin/index.tt @@ -1 +1 @@ -<p>Please use the menus above.</p>
\ No newline at end of file +<p>[% l('Please use the menus above.') %]</p> |