[Mageia-sysadm] [187] mark various string as translatable, patch from Marianne Lombard

root at mageia.org root at mageia.org
Tue Dec 21 03:05:03 CET 2010


Revision: 187
Author:   misc
Date:     2010-12-21 03:05:03 +0100 (Tue, 21 Dec 2010)
Log Message:
-----------
mark various string as translatable, patch from Marianne Lombard

Modified Paths:
--------------
    identity/CatDap/trunk/root/admin/account.tt
    identity/CatDap/trunk/root/admin/account_addoc.tt
    identity/CatDap/trunk/root/admin/account_modify.tt
    identity/CatDap/trunk/root/admin/account_promote.tt
    identity/CatDap/trunk/root/admin/group.tt
    identity/CatDap/trunk/root/admin/group_modify.tt
    identity/CatDap/trunk/root/admin/index.tt

Modified: identity/CatDap/trunk/root/admin/account.tt
===================================================================
--- identity/CatDap/trunk/root/admin/account.tt	2010-12-21 02:04:59 UTC (rev 186)
+++ identity/CatDap/trunk/root/admin/account.tt	2010-12-21 02:05:03 UTC (rev 187)
@@ -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>

Modified: identity/CatDap/trunk/root/admin/account_addoc.tt
===================================================================
--- identity/CatDap/trunk/root/admin/account_addoc.tt	2010-12-21 02:04:59 UTC (rev 186)
+++ identity/CatDap/trunk/root/admin/account_addoc.tt	2010-12-21 02:05:03 UTC (rev 187)
@@ -6,8 +6,8 @@
     <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" %]

Modified: identity/CatDap/trunk/root/admin/account_modify.tt
===================================================================
--- identity/CatDap/trunk/root/admin/account_modify.tt	2010-12-21 02:04:59 UTC (rev 186)
+++ identity/CatDap/trunk/root/admin/account_modify.tt	2010-12-21 02:05:03 UTC (rev 187)
@@ -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 %]" />

Modified: identity/CatDap/trunk/root/admin/account_promote.tt
===================================================================
--- identity/CatDap/trunk/root/admin/account_promote.tt	2010-12-21 02:04:59 UTC (rev 186)
+++ identity/CatDap/trunk/root/admin/account_promote.tt	2010-12-21 02:05:03 UTC (rev 187)
@@ -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 %]

Modified: identity/CatDap/trunk/root/admin/group.tt
===================================================================
--- identity/CatDap/trunk/root/admin/group.tt	2010-12-21 02:04:59 UTC (rev 186)
+++ identity/CatDap/trunk/root/admin/group.tt	2010-12-21 02:05:03 UTC (rev 187)
@@ -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 @@
 [% IF entries %]
 <table border=0>
 <tr>
-<th>Group Name</th>
+<th>[% l('Group Name') %]</th>
 </tr>
 [% FOREACH entry IN entries %]
 <tr>

Modified: identity/CatDap/trunk/root/admin/group_modify.tt
===================================================================
--- identity/CatDap/trunk/root/admin/group_modify.tt	2010-12-21 02:04:59 UTC (rev 186)
+++ identity/CatDap/trunk/root/admin/group_modify.tt	2010-12-21 02:05:03 UTC (rev 187)
@@ -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="" />

Modified: identity/CatDap/trunk/root/admin/index.tt
===================================================================
--- identity/CatDap/trunk/root/admin/index.tt	2010-12-21 02:04:59 UTC (rev 186)
+++ identity/CatDap/trunk/root/admin/index.tt	2010-12-21 02:05:03 UTC (rev 187)
@@ -1 +1 @@
-<p>Please use the menus above.</p>
\ No newline at end of file
+<p>[% l('Please use the menus above.') %]</p>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101221/8f9e22b9/attachment.html>


More information about the Mageia-sysadm mailing list