[rt-devel] [PATCH] More descriptive submit button labels

Tammy Dugan tdugan at progeny.com
Fri Feb 27 15:10:38 EST 2004


Skipped content of type multipart/alternative-------------- next part --------------
Index: html/Ticket/Update.html
===================================================================
--- html/Ticket/Update.html	(revision 14812)
+++ html/Ticket/Update.html	(revision 14813)
@@ -112,7 +112,7 @@
 
 
 
-<& /Elements/Submit, Name => 'SubmitTicket' &>
+<& /Elements/Submit, Label => loc('Update Ticket'), Name => 'SubmitTicket' &>
   </FORM>
 
 
Index: html/Ticket/ModifyLinks.html
===================================================================
--- html/Ticket/ModifyLinks.html	(revision 14812)
+++ html/Ticket/ModifyLinks.html	(revision 14813)
@@ -35,7 +35,7 @@
 <& /Elements/TitleBoxStart, title => loc('Edit Relationships'), color => "#336633"&>
 <& Elements/EditLinks, Ticket => $Ticket &>
 <& /Elements/TitleBoxEnd &>
-<& /Elements/Submit, color => "#336633", Caption=> loc('Save Changes') &>
+<& /Elements/Submit, color => "#336633", Label=> loc('Save Changes') &>
 </form>
 
 
Index: html/Ticket/ModifyDates.html
===================================================================
--- html/Ticket/ModifyDates.html	(revision 14812)
+++ html/Ticket/ModifyDates.html	(revision 14813)
@@ -35,7 +35,7 @@
 
 <& Elements/EditDates, TicketObj => $TicketObj &>
 <& /Elements/TitleBoxEnd &>
-<& /Elements/Submit, color => "#663366" &>
+<& /Elements/Submit, Label => loc('Save Changes'), color => "#663366" &>
 </form>
 
 
Index: html/Search/Bulk.html
===================================================================
--- html/Search/Bulk.html	(revision 14812)
+++ html/Search/Bulk.html	(revision 14813)
@@ -145,7 +145,7 @@
 <& /Ticket/Elements/BulkLinks &>
 <& /Elements/TitleBoxEnd &>
 
-<& /Elements/Submit &>
+<& /Elements/Submit, Label => loc('Update All') &>
 
 
 </FORM>
Index: html/Approvals/index.html
===================================================================
--- html/Approvals/index.html	(revision 14812)
+++ html/Approvals/index.html	(revision 14813)
@@ -27,7 +27,7 @@
 <& /Elements/ListActions, actions => \@actions &>
 <form method="post">
 <& Elements/PendingMyApproval, %ARGS &>
-<& /Elements/Submit &>
+<& /Elements/Submit, Label => loc('Show Approvals') &>
 </form>
 <%init>
 
Index: html/Admin/Groups/GroupRights.html
===================================================================
--- html/Admin/Groups/GroupRights.html	(revision 14812)
+++ html/Admin/Groups/GroupRights.html	(revision 14813)
@@ -69,7 +69,7 @@
 </TABLE>
             
       <& /Elements/TitleBoxEnd &>
-      <& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
+      <& /Elements/Submit, Label => loc('Add/Remove Group Rights'), Reset => 1 &>
       
   </FORM>
   
Index: html/Admin/Groups/UserRights.html
===================================================================
--- html/Admin/Groups/UserRights.html	(revision 14812)
+++ html/Admin/Groups/UserRights.html	(revision 14813)
@@ -51,7 +51,7 @@
       </TABLE>
             
       <& /Elements/TitleBoxEnd &>
-      <& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
+      <& /Elements/Submit, Label => loc('Add/Remove User Rights'), Reset => 1 &>
       
   </FORM>
   
Index: html/Admin/Groups/Modify.html
===================================================================
--- html/Admin/Groups/Modify.html	(revision 14812)
+++ html/Admin/Groups/Modify.html	(revision 14813)
@@ -52,7 +52,7 @@
 <INPUT TYPE=CHECKBOX NAME="Enabled" VALUE="1" <%$EnabledChecked%>> <&|/l&>Enabled (Unchecking this box disables this group)</&><BR>
 </TR>
 </TABLE>
-<& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
+<& /Elements/Submit, Label => loc('Create'), Reset => 1 &>
 </form>
 <%INIT>
 
Index: html/Admin/Groups/Members.html
===================================================================
--- html/Admin/Groups/Members.html	(revision 14812)
+++ html/Admin/Groups/Members.html	(revision 14813)
@@ -77,7 +77,7 @@
 </TR>
 </TABLE>
 <& /Elements/TitleBoxEnd &>
-<& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
+<& /Elements/Submit, Label => 'Add/Remove Members', Reset => 1 &>
 </form>
 
 
Index: html/Admin/Global/GroupRights.html
===================================================================
--- html/Admin/Global/GroupRights.html	(revision 14812)
+++ html/Admin/Global/GroupRights.html	(revision 14813)
@@ -81,7 +81,7 @@
 </TABLE>
             
       <& /Elements/TitleBoxEnd &>
-      <& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
+      <& /Elements/Submit, Label => loc('Add/Remove Global Rights'), Reset => 1 &>
       
   </FORM>
   
Index: html/Admin/Global/UserRights.html
===================================================================
--- html/Admin/Global/UserRights.html	(revision 14812)
+++ html/Admin/Global/UserRights.html	(revision 14813)
@@ -50,7 +50,7 @@
 </TABLE>
             
       <& /Elements/TitleBoxEnd &>
-      <& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
+      <& /Elements/Submit, Label => loc('Add/Remove User Rights'), Reset => 1 &>
       
   </FORM>
   
Index: html/Admin/Global/Template.html
===================================================================
--- html/Admin/Global/Template.html	(revision 14812)
+++ html/Admin/Global/Template.html	(revision 14813)
@@ -42,7 +42,7 @@
 
 <& /Admin/Elements/ModifyTemplate, Name => $TemplateObj->Name, Description => $TemplateObj->Description, Content => $TemplateObj->Content &>
 
-<& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
+<& /Elements/Submit, Label => loc('Save Changes'), Reset => 1 &>
 </FORM>
 
 
Index: html/Admin/Users/Modify.html
===================================================================
--- html/Admin/Users/Modify.html	(revision 14812)
+++ html/Admin/Users/Modify.html	(revision 14813)
@@ -197,7 +197,7 @@
 </TR>
 </TABLE>
 
-<& /Elements/Submit &>
+<& /Elements/Submit, Label => loc('Save Changes') &>
 </form>
 
 <%INIT>
Index: html/Admin/Queues/GroupRights.html
===================================================================
--- html/Admin/Queues/GroupRights.html	(revision 14812)
+++ html/Admin/Queues/GroupRights.html	(revision 14813)
@@ -82,7 +82,7 @@
 % }
 </TABLE>
             
-      <& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
+      <& /Elements/Submit, Label => loc('Add/Remove Group Rights'), Reset => 1 &>
       
   </FORM>
   
Index: html/Admin/Queues/UserRights.html
===================================================================
--- html/Admin/Queues/UserRights.html	(revision 14812)
+++ html/Admin/Queues/UserRights.html	(revision 14813)
@@ -50,7 +50,7 @@
 % }
       </TABLE>
             
-      <& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
+      <& /Elements/Submit, Label => loc('Add/Remove User Rights'), Reset => 1 &>
       
   </FORM>
   
Index: html/Admin/Queues/Modify.html
===================================================================
--- html/Admin/Queues/Modify.html	(revision 14812)
+++ html/Admin/Queues/Modify.html	(revision 14813)
@@ -86,7 +86,7 @@
 </TR>
 
 </TABLE>
-<& /Elements/Submit &>
+<& /Elements/Submit, Label => loc('Save Changes') &>
 </form>
 
 
Index: html/Admin/Queues/Template.html
===================================================================
--- html/Admin/Queues/Template.html	(revision 14812)
+++ html/Admin/Queues/Template.html	(revision 14813)
@@ -41,7 +41,7 @@
 <INPUT TYPE=HIDDEN name="Queue" value="<%$Queue%>">
 <& /Admin/Elements/ModifyTemplate, Name => $TemplateObj->Name, Description =>
 $TemplateObj->Description, Content => $TemplateObj->Content &> 
-<& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
+<& /Elements/Submit, Label => loc('Create'), Reset => 1 &>
 </FORM>
 
 
Index: html/Admin/Elements/EditCustomField
===================================================================
--- html/Admin/Elements/EditCustomField	(revision 14812)
+++ html/Admin/Elements/EditCustomField	(revision 14813)
@@ -59,7 +59,7 @@
 <& /Admin/Elements/AddCustomFieldValue, CustomField => $CustomFieldObj &>
 </font>
 % }
-<&/Elements/Submit&>
+<&/Elements/Submit, Label => loc('Create')&>
 </FORM>
 
 
Index: html/Admin/Elements/EditScrip
===================================================================
--- html/Admin/Elements/EditScrip	(revision 14812)
+++ html/Admin/Elements/EditScrip	(revision 14813)
@@ -92,7 +92,7 @@
 </TD>
 </TR>
 
-<& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
+<& /Elements/Submit, Label => loc('Create'), Reset => 1 &>
 </FORM>
 <%init>
 my (@actions);
Index: html/Admin/Elements/ModifyQueue
===================================================================
--- html/Admin/Elements/ModifyQueue	(revision 14812)
+++ html/Admin/Elements/ModifyQueue	(revision 14813)
@@ -63,7 +63,7 @@
 </TD>
 </TR>
 </TABLE>
-<& /Elements/Submit &>
+<& /Elements/Submit, Label => loc('Save Changes') &>
 </form>
 <& /Elements/TitleBoxEnd &>
 
Index: html/Admin/Elements/EditTemplates
===================================================================
--- html/Admin/Elements/EditTemplates	(revision 14812)
+++ html/Admin/Elements/EditTemplates	(revision 14813)
@@ -54,7 +54,7 @@
 </TABLE>
 % }
 
-<& /Elements/Submit &>
+<& /Elements/Submit, Label => loc('Delete Template') &>
 </FORM>
 
 <%INIT>
Index: html/Admin/Elements/ModifyUser
===================================================================
--- html/Admin/Elements/ModifyUser	(revision 14812)
+++ html/Admin/Elements/ModifyUser	(revision 14813)
@@ -84,7 +84,7 @@
 <BR>
 <&|/l&>Country</&>: <input name="Country" value="<%$UserObj->Country%>">
 <BR>
-<& /Elements/Submit &>
+<& /Elements/Submit, Label => loc('Save Changes') &>
 </form>
 <& /Elements/TitleBoxEnd &>
 
Index: html/SelfService/Prefs.html
===================================================================
--- html/SelfService/Prefs.html	(revision 14812)
+++ html/SelfService/Prefs.html	(revision 14813)
@@ -33,7 +33,7 @@
 <& /Elements/TitleBoxEnd &>
 <BR>
 % }
-<& /Elements/Submit &>
+<& /Elements/Submit, Label => loc('Save Changes') &>
 	  </form>
 
 
Index: html/User/Groups/Modify.html
===================================================================
--- html/User/Groups/Modify.html	(revision 14812)
+++ html/User/Groups/Modify.html	(revision 14813)
@@ -52,7 +52,7 @@
 <INPUT TYPE=CHECKBOX NAME="Enabled" VALUE="1" <%$EnabledChecked%>> <&|/l&>Enabled (Unchecking this box disables this group)</&><BR>
 </TR>
 </TABLE>
-<& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
+<& /Elements/Submit, Label => loc('Create'), Reset => 1 &>
 </form>
 <%INIT>
 
Index: html/User/Groups/Members.html
===================================================================
--- html/User/Groups/Members.html	(revision 14812)
+++ html/User/Groups/Members.html	(revision 14813)
@@ -76,7 +76,7 @@
 </TD>
 </TR>
 </TABLE>
-<& /Elements/Submit &>
+<& /Elements/Submit, Label => loc('Add/Remove Members') &>
 </form>
 
 
Index: html/User/Prefs.html
===================================================================
--- html/User/Prefs.html	(revision 14812)
+++ html/User/Prefs.html	(revision 14813)
@@ -157,7 +157,7 @@
 </TABLE>
 
 
-<& /Elements/Submit &>
+<& /Elements/Submit, Label => loc('Save Preferences') &>
 </form>
 
 
Index: html/User/Delegation.html
===================================================================
--- html/User/Delegation.html	(revision 14812)
+++ html/User/Delegation.html	(revision 14813)
@@ -33,7 +33,7 @@
 <& Elements/DelegateRights, personalgroups => $personalgroups, objects => $objects, ObjectType => 'RT::Queue' &>
 <& Elements/DelegateRights, personalgroups => $personalgroups, objects => $objects, ObjectType => 'RT::Group' &>
 
-<& /Elements/Submit &>
+<& /Elements/Submit, Label => loc('Delegate/Revoke Rights') &>
 </form>
 <%INIT>
 


More information about the Rt-devel mailing list