aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--root/admin/account_addoc.tt4
-rw-r--r--root/admin/account_modify.tt6
-rw-r--r--root/admin/group_modify.tt2
-rw-r--r--root/register/check.tt2
-rw-r--r--root/register/index.tt8
-rw-r--r--root/user/index.tt2
6 files changed, 12 insertions, 12 deletions
diff --git a/root/admin/account_addoc.tt b/root/admin/account_addoc.tt
index c877b4b..f583672 100644
--- a/root/admin/account_addoc.tt
+++ b/root/admin/account_addoc.tt
@@ -1,4 +1,4 @@
-Adding objectclass [% oc %] to dn [% dn %]
+[% l('Adding objectclass [_1] to dn [_2]', oc, dn) %]
<form method="post" action="">
<input type="hidden" name="dn" value="[% dn %]" />
@@ -25,6 +25,6 @@ Adding objectclass [% oc %] to dn [% dn %]
</tr>
[% END %]
</table>
- <p><input type="submit" value="Add" /></p>
+ <p><input type="submit" value="[% l('Add') %]" /></p>
</form> \ No newline at end of file
diff --git a/root/admin/account_modify.tt b/root/admin/account_modify.tt
index 3f941a8..0dc3678 100644
--- a/root/admin/account_modify.tt
+++ b/root/admin/account_modify.tt
@@ -32,7 +32,7 @@
[% END %]
<tr>
<td colspan=2 align=center>
- <input type='Submit' value='Update'>
+ <input type='Submit' value='[% l('Update') %]'>
</td>
</tr>
</table>
@@ -68,7 +68,7 @@
<option value="[% group.gidNumber %]">[% group.name %]</option>
[% END %]
</select>
- <input type="submit" value="Promote" />
+ <input type="submit" value="[% l('Promote') %]" />
</form>
[% END %]
@@ -82,7 +82,7 @@
<option value='[% oc %]'>[% oc %]</option>
[% END %]
</select>
- <input type="submit" value="Add ObjectClass" />
+ <input type="submit" value="[% l('Add ObjectClass') %]" />
</form>
<hr /> \ No newline at end of file
diff --git a/root/admin/group_modify.tt b/root/admin/group_modify.tt
index 13bc15f..99ebff7 100644
--- a/root/admin/group_modify.tt
+++ b/root/admin/group_modify.tt
@@ -15,7 +15,7 @@
<br/>
[% END %]
<input name="[% attr %]" value="" />
- <input type="submit" value="Add" />
+ <input type="submit" value="[% l('Add') %]" />
</td>
</tr>
[% END %]
diff --git a/root/register/check.tt b/root/register/check.tt
index b8ec933..43334b7 100644
--- a/root/register/check.tt
+++ b/root/register/check.tt
@@ -1,4 +1,4 @@
-<h2>Success</h2>
+<h2>[% l('Success') %]</h2>
<p>
[% message %]
</p> \ No newline at end of file
diff --git a/root/register/index.tt b/root/register/index.tt
index 217a91e..f34da7a 100644
--- a/root/register/index.tt
+++ b/root/register/index.tt
@@ -4,12 +4,12 @@
<div id="input_form">
<form method="post" action="/register/check">
- <h3>Username</h3>
+ <h3>[% l('Username') %]</h3>
<label for="uid_">[% l('Username') %]</label><br />
<input id="uid_" type="text" name="uid" value="[% c.request.params.uid %]" /><br />
<p>
- <h3>Personal Information</h3>
+ <h3>[% l('Personal Information') %]</h3>
<label for="gn_">[% l('First name') %]</label><br/>
<input id="gn_" type="text" name="gn" value="[% c.request.params.gn %]" /><br />
@@ -17,7 +17,7 @@
<input id="sn_" type="text" name="sn" value="[% c.request.params.sn %]" /><br />
</p>
<p>
- <h3>Email</h3>
+ <h3>[% l('Email') %]</h3>
<label for="mail1_">[% l('Email address') %]</label><br/>
<input id="mail1_" type="text" name="mail1" value="[% c.request.params.mail1 %]" /><br />
@@ -29,7 +29,7 @@
<h3>[% l('Captcha') %]</h3>
<img src="/register/captcha" /><br />
- <label for="test">Enter text</label><br/>
+ <label for="test">[% l('Enter text') %]</label><br/>
<input type="text" name="validate" /><br/>
</p>
<button type="submit" value="[% l('Register') %]">[% l('Register') %]</button>
diff --git a/root/user/index.tt b/root/user/index.tt
index 258ef32..24caabd 100644
--- a/root/user/index.tt
+++ b/root/user/index.tt
@@ -1,7 +1,7 @@
<div id="input_form">
<form method="post" action="">
<table border=0>
- <tr><th>Attribute</th><th>Value</th><th></th></tr>
+ <tr><th>[% l('Attribute') %]</th><th>[% l('Value') %]</th><th></th></tr>
[% FOREACH attr IN values %]
<tr>
<td>[% attr.name %]</td>