roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r452646 - in /incubator/roller/trunk/web/WEB-INF: classes/ApplicationResources.properties jsps/admin/UserAdmin.jsp jsps/authoring/Invitations.jsp
Date Tue, 03 Oct 2006 21:57:02 GMT
Author: snoopdave
Date: Tue Oct  3 14:57:02 2006
New Revision: 452646

URL: http://svn.apache.org/viewvc?view=rev&rev=452646
Log:
Adding missing I18N strings and fixing an image path

Modified:
    incubator/roller/trunk/web/WEB-INF/classes/ApplicationResources.properties
    incubator/roller/trunk/web/WEB-INF/jsps/admin/UserAdmin.jsp
    incubator/roller/trunk/web/WEB-INF/jsps/authoring/Invitations.jsp

Modified: incubator/roller/trunk/web/WEB-INF/classes/ApplicationResources.properties
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/WEB-INF/classes/ApplicationResources.properties?view=diff&rev=452646&r1=452645&r2=452646
==============================================================================
--- incubator/roller/trunk/web/WEB-INF/classes/ApplicationResources.properties (original)
+++ incubator/roller/trunk/web/WEB-INF/classes/ApplicationResources.properties Tue Oct  3
14:57:02 2006
@@ -591,6 +591,9 @@
 invitations.prompt=This page lists the outstanding invitations in this weblog. \
 You may choose to cancel invitations and if email notification is enabled the \
 uninvited party will receive a invitation revoked message.
+invitations.revoke=Cancel
+invitations.noInvitations=No invitations
+invitations.confirm.revoke=Revoke selected invitations? 
 
 invitations.revokationSubject=Roller: invitation to join weblog "{0}" ({1}) \
 REVOKED
@@ -872,6 +875,7 @@
 pageForm.description=Description
 pageForm.template=Template
 pageForm.save=Save
+pageForm.newTemplateContent=<html><body></body></html>
 pageForm.save.success=Template updated successfully.
 pagesForm.column.navbar=Navbar
 pagesForm.column.hidden=Hidden

Modified: incubator/roller/trunk/web/WEB-INF/jsps/admin/UserAdmin.jsp
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/WEB-INF/jsps/admin/UserAdmin.jsp?view=diff&rev=452646&r1=452645&r2=452646
==============================================================================
--- incubator/roller/trunk/web/WEB-INF/jsps/admin/UserAdmin.jsp (original)
+++ incubator/roller/trunk/web/WEB-INF/jsps/admin/UserAdmin.jsp Tue Oct  3 14:57:02 2006
@@ -183,7 +183,7 @@
                                <c:param name="method" value="create" />
                                <c:param name="weblog" value="${perms.website.handle}"
/>
                            </c:url>
-                           <img src='<c:url value="/images/page_white_edit.gif"/>'
/>
+                           <img src='<c:url value="/images/page_white_edit.png"/>'
/>
                            <a href='<c:out value="${newEntry}" />'>
                                <fmt:message key="userAdmin.newEntry" /></a>
                        </td>

Modified: incubator/roller/trunk/web/WEB-INF/jsps/authoring/Invitations.jsp
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/WEB-INF/jsps/authoring/Invitations.jsp?view=diff&rev=452646&r1=452645&r2=452646
==============================================================================
--- incubator/roller/trunk/web/WEB-INF/jsps/authoring/Invitations.jsp (original)
+++ incubator/roller/trunk/web/WEB-INF/jsps/authoring/Invitations.jsp Tue Oct  3 14:57:02
2006
@@ -20,7 +20,7 @@
 <script type="text/javascript">
 // <!--
 function revokeInvite(id) {
-    if (confirm("Revoke selected invitation?")) {
+    if (confirm('<fmt:message key="invitations.confirm.revoke" />')) {
         document.invitationsForm.method.value="revoke"; 
         document.invitationsForm.permissionId.value=id; 
         document.invitationsForm.submit();
@@ -40,14 +40,14 @@
 </p>
 <p><fmt:message key="invitations.prompt" /></p>
 
-<html:form action="/roller-ui/authoring/invitations" method="post" focus="userName">
+<html:form action="/roller-ui/authoring/invitations" method="post">
     <html:hidden property="weblog" />
     <html:hidden property="permissionId" />
     <input type="hidden" name="method" value="view" />
         
     <c:choose>
         <c:when test="${empty model.pendings}"> 
-            No invitations
+            <fmt:message key="invitations.noInvitations" />
         </c:when>  
         <c:when test="${!empty model.pendings}">  
             <table class="rollertable">
@@ -79,7 +79,9 @@
                             <c:if test="${invite.permissionMask == 3}" >ADMIN</c:if>
                         </td> 
                         <td class="rollertable">
-                            <a hrerf="#" onclick="revokeInvite('<c:out value="${invite.id}"
/>')">Revoke</a>
+                            <a hrerf="#" onclick="revokeInvite('<c:out value="${invite.id}"
/>')">
+                                <fmt:message key="invitations.revoke" />
+                            </a>
                         </td> 
                     </roller:row>
                 </c:forEach>



Mime
View raw message