You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/05/10 01:20:59 UTC

svn commit: r169378 - in /lenya/branches/BRANCH_1_2_X/src/webapp/lenya: resources/i18n/cmsui.xml xslt/admin/groups/profile.xsl xslt/admin/users/password.xsl xslt/admin/users/profile.xsl

Author: gregor
Date: Mon May  9 16:20:58 2005
New Revision: 169378

URL: http://svn.apache.org/viewcvs?rev=169378&view=rev
Log:
Translated a couple stragglers in the admin UI, thanks to solprovider.

Modified:
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/resources/i18n/cmsui.xml
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/groups/profile.xsl
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/users/password.xsl
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/users/profile.xsl

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/resources/i18n/cmsui.xml
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/resources/i18n/cmsui.xml?rev=169378&r1=169377&r2=169378&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/resources/i18n/cmsui.xml (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/resources/i18n/cmsui.xml Mon May  9 16:20:58 2005
@@ -172,6 +172,8 @@
   <message key="Group Administration">Group Administration</message>
   <message key="Add Group">Add Group</message>
   <message key="Group Data">Group Data</message>
+  <message key="This group already exists.">This group already exists.</message>
+  <message key="This is not a valid group ID.">This is not a valid group ID.</message>
 
     <!-- User Administration -->
   <message key="User Data">User&#160;Data</message>
@@ -187,7 +189,15 @@
   <message key="Group Affiliation">Group Affiliation</message>
   <message key="Change Password">Change Password</message>
   <message key="Edit Group Affiliation">Edit Group Affiliation</message>
-
+  <message key="This user already exists.">This user already exists.</message>
+  <message key="This is not a valid user ID.">This is not a valid user ID.</message>
+  <message key="Please enter an e-mail address.">Please enter an e-mail address.</message>
+  <message key="This LDAP user ID does not exist.">This LDAP user ID does not exist.</message>
+  <message key="Password and confirmed password are not equal.">Password and confirmed password are not equal.</message>
+  <message key="The password must be at least six characters long.">The password must be at least six characters long.</message>
+  <message key="The password must contain at least one number.">The password must contain at least one number.</message>
+  <message key="You cannot change the password of this user.">You cannot change the password of this user.</message>
+ 
     <!-- User Types -->
   <message key="LDAP User">LDAP User</message>
   <message key="Local User">CMS User</message>

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/groups/profile.xsl
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/groups/profile.xsl?rev=169378&r1=169377&r2=169378&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/groups/profile.xsl (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/groups/profile.xsl Mon May  9 16:20:58 2005
@@ -15,7 +15,7 @@
   limitations under the License.
 -->
 
-<!-- $Id: profile.xsl,v 1.5 2004/04/28 15:00:08 andreas Exp $ -->
+<!-- $Id$ -->
 
 <xsl:stylesheet
     version="1.0"
@@ -109,7 +109,7 @@
   <xsl:template match="message">
     <xsl:if test="text()">
       <tr>
-        <td colspan="2"><span class="lenya-form-message-{@type}"><xsl:apply-templates/></span></td>
+        <td colspan="2"><span class="lenya-form-message-{@type}"><i18n:text><xsl:apply-templates/></i18n:text></span></td>
       </tr>
     </xsl:if>
   </xsl:template>

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/users/password.xsl
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/users/password.xsl?rev=169378&r1=169377&r2=169378&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/users/password.xsl (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/users/password.xsl Mon May  9 16:20:58 2005
@@ -15,7 +15,7 @@
   limitations under the License.
 -->
 
-<!-- $Id: password.xsl,v 1.4 2004/04/30 15:26:30 andreas Exp $ -->
+<!-- $Id$ -->
 
 <xsl:stylesheet
     version="1.0"
@@ -134,7 +134,7 @@
   <xsl:template match="message">
     <xsl:if test="text()">
       <tr>
-        <td colspan="2"><span class="lenya-form-message-error"><xsl:apply-templates/></span></td>
+        <td colspan="2"><span class="lenya-form-message-error"><i18n:text><xsl:apply-templates/></i18n:text></span></td>
       </tr>
     </xsl:if>
   </xsl:template>

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/users/profile.xsl
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/users/profile.xsl?rev=169378&r1=169377&r2=169378&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/users/profile.xsl (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/admin/users/profile.xsl Mon May  9 16:20:58 2005
@@ -185,7 +185,7 @@
 	
   <xsl:template match="message">
     <xsl:if test="preceding-sibling::message"><br/></xsl:if>
-    <span class="lenya-form-message-{@type}"><xsl:value-of select="."/></span>
+    <span class="lenya-form-message-{@type}"><i18n:text><xsl:value-of select="."/></i18n:text></span>
   </xsl:template>
   
 </xsl:stylesheet>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org