jford       2003/08/26 17:56:46

  Modified:    webapp/WEB-INF/templates/vm/portlets/html client-form.vm
                        controller-form.vm control-form.vm skin-form.vm
                        security-form.vm media-form.vm
  Log:
  Internationalized the registry editors
  
  PR:  Bugzilla #22740
  
  Revision  Changes    Path
  1.3       +20 -20    
jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/client-form.vm
  
  Index: client-form.vm
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/client-form.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- client-form.vm    2 May 2003 19:24:37 -0000       1.2
  +++ client-form.vm    27 Aug 2003 00:56:46 -0000      1.3
  @@ -34,13 +34,13 @@
                 <td colspan="2">Are you sure you want do delete this client?</td>
             </tr>
           <tr>
  -            #formReadOnlyCell ("Name" "client_name" $!entry.Name)
  +            #formReadOnlyCell ($l10n.REGISTRY_EDITOR_CLIENT_NAME "client_name" 
$!entry.Name)
           </tr>
         </table>
         <table border="0"  cellspacing="0" cellpadding="5" width="30%">
         <tr>
           <td>
  -          <input type="submit" name="eventSubmit_doDelete" value="Delete Client"/>
  +          <input type="submit" name="eventSubmit_doDelete" 
value="$l10n.REGISTRY_EDITOR_CLIENT_DELETE"/>
           </td>
           ##<td>
           ##  <input type="submit" name="eventSubmit_doCancel" value="Cancel"/>
  @@ -54,7 +54,7 @@
                <input type="hidden" name="mode" value="update"/>
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">Name</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CLIENT_NAME</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -64,7 +64,7 @@
                </tr>
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">User Agent Pattern</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CLIENT_USER_AGENT_PATTERN</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -74,7 +74,7 @@
                </tr>
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">Manufacturer</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CLIENT_MANUFACTURER</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -84,7 +84,7 @@
                </tr>
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">Model</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CLIENT_MODEL</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -94,7 +94,7 @@
                </tr>
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">Version</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CLIENT_VERSION</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -118,7 +118,7 @@
        <table border="0"  cellspacing="0" cellpadding="5" width="30%">
          <tr>
            <td>
  -           <input type="submit" name="eventSubmit_doInsert" value="Insert Client"/>
  +           <input type="submit" name="eventSubmit_doInsert" 
value="$l10n.REGISTRY_EDITOR_CLIENT_INSERT"/>
            </td>
                ##<td>
                ##  <input type="submit" name="eventSubmit_doCancel" value="Cancel"/>
  @@ -130,10 +130,10 @@
         <form name="ClientForm method="post" 
action="$jslink.getPaneByName("ClientForm").setAction("portlets.ClientUpdateAction")">
                <table>
                <input type="hidden" name="mode" value="update"/>
  -             #formReadOnlyCell("Name" "client_name" $!entry.name)
  +             #formReadOnlyCell($l10n.REGISTRY_EDITOR_CLIENT_NAME "client_name" 
$!entry.name)
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">User Agent Pattern</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CLIENT_USER_AGENT_PATTERN</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -143,7 +143,7 @@
                </tr>
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">Manufacturer</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CLIENT_MANUFACTURER</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -153,7 +153,7 @@
                </tr>
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">Model</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CLIENT_MODEL</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -163,7 +163,7 @@
                </tr>
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">Version</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CLIENT_VERSION</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -184,7 +184,7 @@
                </tr>
                *#
                <tr>
  -               <td align="center"><input type="submit" name="eventSubmit_doUpdate" 
value="Update Client"/></td>
  +               <td align="center"><input type="submit" name="eventSubmit_doUpdate" 
value="$l10n.REGISTRY_EDITOR_CLIENT_UPDATE"/></td>
                </tr>
        </table>
         </form>
  @@ -202,7 +202,7 @@
                  #end
                  <tr>
                        <td>
  -                             <td colspan="2" align="center"><input type="submit" 
name="eventSubmit_doRemovemimetype" value="Remove Mimetypes"/></td>
  +                             <td colspan="2" align="center"><input type="submit" 
name="eventSubmit_doRemovemimetype" 
value="$l10n.REGISTRY_EDITOR_REMOVE_MIMETYPES"/></td>
                        </td>
                  </tr>
                </table>
  @@ -211,7 +211,7 @@
         #parse("include/mime-combo.vm")
         #parse("include/capability-combo.vm")
         
  -      <p>Please Note: The first mime type added will be the preferred mime type</p>
  +      <p>$l10n.REGISTRY_EDITOR_CLIENT_NOTE</p>
         <form name="AddMimeType" method="post" 
action="$jslink.getPaneByName("ClientForm").setAction("portlets.ClientUpdateAction")">
                <input type="hidden" name="client_name" value="$!entry.name"/>
                <input type="hidden" name="mode" value="update"/>
  @@ -238,7 +238,7 @@
                  </tr>
                  <tr>
                        <td colspan="2">
  -                             <input type="submit" name="eventSubmit_doAddmimetype" 
value="Add Mimetype"/>
  +                             <input type="submit" name="eventSubmit_doAddmimetype" 
value="$l10n.REGISTRY_EDITOR_ADD_MIMETYPE"/>
                        </td>
                  </tr>
                </table>
  @@ -257,7 +257,7 @@
                  #end
                  <tr>
                        <td>
  -                             <td colspan="2" align="center"><input type="submit" 
name="eventSubmit_doRemovecapability" value="Remove Capabilities"/></td>
  +                             <td colspan="2" align="center"><input type="submit" 
name="eventSubmit_doRemovecapability" 
value="$l10n.REGISTRY_EDITOR_DELETE_CAPABILITIES"/></td>
                        </td>
                  </tr>
                </table>
  @@ -277,7 +277,7 @@
                  </tr>
                  <tr>
                        <td>
  -                             <input type="submit" 
name="eventSubmit_doAddcapability" value="Add Capability"/>
  +                             <input type="submit" 
name="eventSubmit_doAddcapability" value="$l10n.REGISTRY_EDITOR_INSERT_CAPABILITY"/>
                        </td>
                  </tr>
                </table>
  @@ -287,7 +287,7 @@
     <tr>
       <td>
         <form name="PortletForm" method="post" 
action="$jslink.getPaneByName("ClientBrowser").setAction("portlets.ClientUpdateAction")">
  -        <input type="submit" name="eventSubmit_doCancel" value="Back to Browser"/>
  +        <input type="submit" name="eventSubmit_doCancel" 
value="$l10n.REGISTRY_EDITOR_CLIENT_CANCEL"/>
         </form>
       </td>
     </tr>
  
  
  
  1.2       +20 -20    
jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/controller-form.vm
  
  Index: controller-form.vm
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/controller-form.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- controller-form.vm        2 May 2003 20:36:02 -0000       1.1
  +++ controller-form.vm        27 Aug 2003 00:56:46 -0000      1.2
  @@ -31,16 +31,16 @@
                <form name="ControllerForm" method="post" 
action="$jslink.getPaneByName("ControllerBrowser").setAction("portlets.ControllerUpdateAction")">
         <table>
             <tr>
  -              <td colspan="2">Are you sure you want do delete this controller?</td>
  +              <td colspan="2">$l10n.REGISTRY_EDITOR_CONTROLLER_CONFIRM_DELETE</td>
             </tr>
           <tr>
  -            #formReadOnlyCell ("Name" "controller_name" $!entry.Name)
  +            #formReadOnlyCell ($l10n.REGISTRY_EDITOR_CONTROLLER_NAME 
"controller_name" $!entry.Name)
           </tr>
         </table>
         <table border="0"  cellspacing="0" cellpadding="5" width="30%">
         <tr>
           <td>
  -          <input type="submit" name="eventSubmit_doDelete" value="Delete 
Controller"/>
  +          <input type="submit" name="eventSubmit_doDelete" 
value="$l10n.REGISTRY_EDITOR_CONTROLLER_DELETE"/>
           </td>
         </tr>
         </table>
  @@ -51,7 +51,7 @@
                <input type="hidden" name="mode" value="update"/>
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">Name</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROLLER_NAME</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -61,7 +61,7 @@
                </tr>
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">Class Name</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROLLER_CLASS_NAME</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -71,7 +71,7 @@
                </tr>
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">Title</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROLLER_TITLE</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -95,7 +95,7 @@
        <table border="0"  cellspacing="0" cellpadding="5" width="30%">
          <tr>
            <td>
  -           <input type="submit" name="eventSubmit_doInsert" value="Insert 
Controller"/>
  +           <input type="submit" name="eventSubmit_doInsert" 
value="$l10n.REGISTRY_EDITOR_CONTROLLER_INSERT"/>
            </td>
          </tr>
        </table>
  @@ -104,10 +104,10 @@
         <form name="ControllerForm method="post" 
action="$jslink.getPaneByName("ControllerForm").setAction("portlets.ControllerUpdateAction")">
                <table>
                <input type="hidden" name="mode" value="update"/>
  -             #formReadOnlyCell("Name" "controller_name" $!entry.name)
  +             #formReadOnlyCell($l10n.REGISTRY_EDITOR_CONTROLLER_NAME 
"controller_name" $!entry.name)
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">Class Name</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROLLER_CLASS_NAME</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -117,7 +117,7 @@
                </tr>
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">Title</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROLLER_TITLE</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -138,7 +138,7 @@
                </tr>
                *#
                <tr>
  -               <td align="center"><input type="submit" name="eventSubmit_doUpdate" 
value="Update Controller"/></td>
  +               <td align="center"><input type="submit" name="eventSubmit_doUpdate" 
value="$l10n.REGISTRY_EDITOR_CONTROLLER_UPDATE"/></td>
                </tr>
        </table>
         </form>
  @@ -152,9 +152,9 @@
       <input type="hidden" name="controller_name" value="$!entry.Name"/>
       <input type="hidden" name="tab" value="parameters"/>
             <table bgcolor="#ffffff" cellpadding="5">
  -              <th>Select</th>
  -              <th>Name</th>
  -              <th>Value</th>
  +              <th>$l10n.REGISTRY_EDITOR_CONTROLLER_PARAMETER_SELECT</th>
  +              <th>$l10n.REGISTRY_EDITOR_CONTROLLER_PARAMETER_NAME</th>
  +              <th>$l10n.REGISTRY_EDITOR_CONTROLLER_PARAMETER_VALUE</th>
                 #foreach($paramName in $entry.getParameterNames())
                     #set($parameter = $entry.getParameter($paramName))
                     <tr>
  @@ -168,8 +168,8 @@
                 #end
             </table>
             
  -          <input type="submit" name="eventSubmit_doRemoveparameters" value="Remove 
Parameters"/>
  -          <input type="submit" name="eventSubmit_doUpdateparametervalues" 
value="Update Parameters"/>
  +          <input type="submit" name="eventSubmit_doRemoveparameters" 
value="$l10n.REGISTRY_EDITOR_CONTROLLER_DELETE_PARAMETERS"/>
  +          <input type="submit" name="eventSubmit_doUpdateparametervalues" 
value="$l10n.REGISTRY_EDITOR_CONTROLLER_UPDATE_PARAMETERS"/>
             </form>
   
             #end
  @@ -184,15 +184,15 @@
       <input type="hidden" name="tab" value="parameters"/>
             <table bgcolor="#ffffff" cellpadding="5">
                 <tr>
  -                  <td bgcolor="$!{skin.TitleBackgroundColor}"><b><font 
face="$ui.sansSerifFonts">Parameter Name</font></b></td>
  +                  <td bgcolor="$!{skin.TitleBackgroundColor}"><b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROLLER_PARAMETER_NAME</font></b></td>
                     <td bgcolor="$!{skin.TitleBackgroundColor}"><input type="text" 
name="parameter_name"/></td>
                 </tr>
                 <tr>
  -                  <td bgcolor="$!{skin.TitleBackgroundColor}"><b><font 
face="$ui.sansSerifFonts">Parameter Value</font></b></td>
  +                  <td bgcolor="$!{skin.TitleBackgroundColor}"><b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROLLER_PARAMETER_VALUE</font></b></td>
                     <td bgcolor="$!{skin.TitleBackgroundColor}"><input type="text" 
name="parameter_value"/></td>
                 </tr>
                 <tr>
  -                  <td align="center" colspan="2" 
bgcolor="$!{skin.TitleBackgroundColor}"><input type="submit" 
name="eventSubmit_doAddparameter" value="Add Parameter"/></td>
  +                  <td align="center" colspan="2" 
bgcolor="$!{skin.TitleBackgroundColor}"><input type="submit" 
name="eventSubmit_doAddparameter" 
value="$l10n.REGISTRY_EDITOR_CONTROLLER_INSERT_PARAMETER"/></td>
                 </tr>
                 </table>
             </form>
  @@ -206,7 +206,7 @@
     <tr>
       <td>
         <form name="CancelForm" method="post" 
action="$jslink.getPaneByName("ControllerBrowser").setAction("portlets.ControllerUpdateAction")">
  -        <input type="submit" name="eventSubmit_doCancel" value="Back to Browser"/>
  +        <input type="submit" name="eventSubmit_doCancel" 
value="$l10n.REGISTRY_EDITOR_CONTROLLER_CANCEL"/>
         </form>
       </td>
     </tr>
  
  
  
  1.2       +26 -30    
jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/control-form.vm
  
  Index: control-form.vm
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/control-form.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- control-form.vm   2 May 2003 20:36:02 -0000       1.1
  +++ control-form.vm   27 Aug 2003 00:56:46 -0000      1.2
  @@ -31,16 +31,16 @@
             <form name="ControlForm" method="post" 
action="$jslink.getPaneByName("ControlBrowser").setAction("portlets.ControlUpdateAction")">
         <table>
             <tr>
  -              <td colspan="2">Are you sure you want do delete this control?</td>
  +              <td colspan="2">$l10n.REGISTRY_EDITOR_CONTROL_CONFIRM_DELETE</td>
             </tr>
           <tr>
  -            #formReadOnlyCell ("Name" "control_name" $!entry.Name)
  +            #formReadOnlyCell ($l10n.REGISTRY_EDITOR_CONTROL_NAME "control_name" 
$!entry.Name)
           </tr>
         </table>
         <table border="0"  cellspacing="0" cellpadding="5" width="30%">
         <tr>
           <td>
  -          <input type="submit" name="eventSubmit_doDelete" value="Delete Control"/>
  +          <input type="submit" name="eventSubmit_doDelete" 
value="$l10n.REGISTRY_EDITOR_CONTROL_DELETE"/>
           </td>
         </tr>
         </table>
  @@ -51,7 +51,7 @@
           <input type="hidden" name="mode" value="update"/>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">Name</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROL_NAME</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -61,7 +61,7 @@
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">Class Name</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROL_CLASS_NAME</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -71,7 +71,7 @@
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">Title</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROL_TITLE</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -95,7 +95,7 @@
       <table border="0"  cellspacing="0" cellpadding="5" width="30%">
         <tr>
           <td>
  -          <input type="submit" name="eventSubmit_doInsert" value="Insert Control"/>
  +          <input type="submit" name="eventSubmit_doInsert" 
value="$l10n.REGISTRY_EDITOR_CONTROL_INSERT"/>
           </td>
         </tr>
       </table>
  @@ -104,10 +104,10 @@
         <form name="ControlForm method="post" 
action="$jslink.getPaneByName("ControlForm").setAction("portlets.ControlUpdateAction")">
             <table>
           <input type="hidden" name="mode" value="update"/>
  -        #formReadOnlyCell("Name" "control_name" $!entry.name)
  +        #formReadOnlyCell($l10n.REGISTRY_EDITOR_CONTROL_NAME "control_name" 
$!entry.name)
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">Class Name</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROL_CLASS_NAME</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -117,7 +117,7 @@
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">Title</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROL_TITLE</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -138,7 +138,7 @@
           </tr>
           *#
           <tr>
  -              <td align="center"><input type="submit" name="eventSubmit_doUpdate" 
value="Update Control"/></td>
  +              <td align="center"><input type="submit" name="eventSubmit_doUpdate" 
value="$l10n.REGISTRY_EDITOR_CONTROL_UPDATE"/></td>
               </tr>
       </table>
         </form>
  @@ -152,9 +152,9 @@
       <input type="hidden" name="control_name" value="$!entry.Name"/>
       <input type="hidden" name="tab" value="parameters"/>
             <table bgcolor="#ffffff" cellpadding="5">
  -              <th>Select</th>
  -              <th>Name</th>
  -              <th>Value</th>
  +              <th>$l10n.REGISTRY_EDITOR_CONTROL_SELECT</th>
  +              <th>$l10n.REGISTRY_EDITOR_CONTROL_PARAMETER_NAME</th>
  +              <th>$l10n.REGISTRY_EDITOR_CONTROL_PARAMETER_VALUE</th>
                 #foreach($paramName in $entry.getParameterNames())
                     #set($parameter = $entry.getParameter($paramName))
                     <tr>
  @@ -168,8 +168,8 @@
                 #end
             </table>
             
  -          <input type="submit" name="eventSubmit_doRemoveparameters" value="Remove 
Parameters"/>
  -          <input type="submit" name="eventSubmit_doUpdateparametervalues" 
value="Update Parameters"/>
  +          <input type="submit" name="eventSubmit_doRemoveparameters" 
value="$l10n.REGISTRY_EDITOR_CONTROL_DELETE_PARAMETERS"/>
  +          <input type="submit" name="eventSubmit_doUpdateparametervalues" 
value="$l10n.REGISTRY_EDITOR_CONTROL_UPDATE_PARAMETERS"/>
             </form>
   
             #end
  @@ -184,15 +184,15 @@
       <input type="hidden" name="tab" value="parameters"/>
             <table bgcolor="#ffffff" cellpadding="5">
                 <tr>
  -                  <td bgcolor="$!{skin.TitleBackgroundColor}"><b><font 
face="$ui.sansSerifFonts">Parameter Name</font></b></td>
  +                  <td bgcolor="$!{skin.TitleBackgroundColor}"><b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROL_PARAMETER_NAME</font></b></td>
                     <td bgcolor="$!{skin.TitleBackgroundColor}"><input type="text" 
name="parameter_name"/></td>
                 </tr>
                 <tr>
  -                  <td bgcolor="$!{skin.TitleBackgroundColor}"><b><font 
face="$ui.sansSerifFonts">Parameter Value</font></b></td>
  +                  <td bgcolor="$!{skin.TitleBackgroundColor}"><b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROL_PARAMETER_VALUE</font></b></td>
                     <td bgcolor="$!{skin.TitleBackgroundColor}"><input type="text" 
name="parameter_value"/></td>
                 </tr>
                 <tr>
  -                  <td align="center" colspan="2" 
bgcolor="$!{skin.TitleBackgroundColor}"><input type="submit" 
name="eventSubmit_doAddparameter" value="Add Parameter"/></td>
  +                  <td align="center" colspan="2" 
bgcolor="$!{skin.TitleBackgroundColor}"><input type="submit" 
name="eventSubmit_doAddparameter" 
value="$l10n.REGISTRY_EDITOR_CONTROL_INSERT_PARAMETER"/></td>
                 </tr>
                 </table>
             </form>
  @@ -204,11 +204,7 @@
   
   <table bgcolor="#ffffff" cellpadding="5">
   <tr>
  -<!--
  -  <td width="20%" bgcolor="$!{skin.TitleBackgroundColor}">
  -    <b><font face="$ui.sansSerifFonts">Media Types</font></b>
  -  </td>
  --->
  +
     <td align="center" bgcolor="$!{skin.TitleBackgroundColor}">
           #if($entry.listMediaTypes().hasNext())
           <form name="RemoveMediaTypesForm" method="post" 
action="$jslink.getPaneByName("ControlForm").setAction("portlets.ControlUpdateAction")">
  @@ -216,8 +212,8 @@
           <input type="hidden" name="control_name" value="$!entry.Name"/>
           <input type="hidden" name="tab" value="media_types"/>
             <table bgcolor="#ffffff" cellpadding="5">
  -              <th>Select</th>
  -              <th>Media Type</th>
  +              <th>$l10n.REGISTRY_EDITOR_CONTROL_SELECT</th>
  +              <th>$l10n.REGISTRY_EDITOR_CONTROL_MEDIA_TYPE</th>
                 
                 
                 #foreach($mediaType in $entry.listMediaTypes())
  @@ -229,7 +225,7 @@
                     </tr>
                 #end
             </table>
  -              <input type="submit" name="eventSubmit_doRemovemediatypes" 
value="Remove Media Types"/>
  +              <input type="submit" name="eventSubmit_doRemovemediatypes" 
value="$l10n.REGISTRY_EDITOR_CONTROL_DELETE_MEDIA_TYPES"/>
             </form>
             #end
      </td>
  @@ -257,7 +253,7 @@
                 *#
                 <tr>
                     <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                      <b><font face="$ui.sansSerifFonts">Media Type</font></b>
  +                      <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_CONTROL_MEDIA_TYPE</font></b>
                     </td>
                     <td bgcolor="$!{skin.TitleBackgroundColor}">
                 <select name="media_type">
  @@ -268,7 +264,7 @@
                 </td>
                 </tr>
                 <tr>
  -                  <td align="center" colspan="2" 
bgcolor="$!{skin.TitleBackgroundColor}"><input type="submit" 
name="eventSubmit_doAddmediatype" value="Add Media Type"/></td>
  +                  <td align="center" colspan="2" 
bgcolor="$!{skin.TitleBackgroundColor}"><input type="submit" 
name="eventSubmit_doAddmediatype" 
value="$l10n.REGISTRY_EDITOR_CONTROL_INSERT_MEDIA_TYPE"/></td>
                 </tr>
             </table>
             </form>
  @@ -283,7 +279,7 @@
     <tr>
       <td>
         <form name="CancelForm" method="post" 
action="$jslink.getPaneByName("ControlBrowser").setAction("portlets.ControlUpdateAction")">
  -        <input type="submit" name="eventSubmit_doCancel" value="Back to Browser"/>
  +        <input type="submit" name="eventSubmit_doCancel" 
value="$l10n.REGISTRY_EDITOR_CONTROL_CANCEL"/>
         </form>
       </td>
     </tr>
  
  
  
  1.5       +73 -63    
jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/skin-form.vm
  
  Index: skin-form.vm
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/skin-form.vm,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- skin-form.vm      9 May 2003 17:28:30 -0000       1.4
  +++ skin-form.vm      27 Aug 2003 00:56:46 -0000      1.5
  @@ -30,302 +30,312 @@
   
         #if (($mode == "delete"))
                <tr>
  -                     <td colspan="2">Are you sure you want do delete this skin?</td>
  +                     <td colspan="2">$l10n.REGISTRY_EDITOR_SKIN_CONFIRM_DELETE</td>
                </tr>
           <tr>
  -            #formReadOnlyCell ("Name" "Name" $!entry.Name)
  +            #formReadOnlyCell ($l10n.REGISTRY_EDITOR_SKIN_NAME "Name" $!entry.Name)
               <input type="hidden" name="skinname" value="$!entry.Name"/>
           </tr>
         #elseif ($mode == "insert")
         
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">Name</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_NAME</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" size="30" name="skinname" 
value="$!data.user.getTemp("skinname")">
  +              <input type="text" size="30" name="skinname" 
value="$!data.user.getTemp("skinname")"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">text-color</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_TEXT_COLOR</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.text-color" size="20" 
value="$!data.user.getTemp("parameter.text-color")">
  +              <input type="text" name="parameter.text-color" size="20" 
value="$!data.user.getTemp("parameter.text-color")"/>
               </font>
             </td>
           </tr>
           
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">background-color</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_BACKGROUND_COLOR</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.background-color" size="20" 
value="$!data.user.getTemp("parameter.background-color")">
  +              <input type="text" name="parameter.background-color" size="20" 
value="$!data.user.getTemp("parameter.background-color")"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">title-text-color</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_TITLE_TEXT_COLOR</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.title-text-color" size="20" 
value="$!data.user.getTemp("parameter.title-text-color")">
  +              <input type="text" name="parameter.title-text-color" size="20" 
value="$!data.user.getTemp("parameter.title-text-color")"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">title-background-color</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_TITLE_BACKGROUND_COLOR</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.title-background-color" size="20" 
value="$!data.user.getTemp("parameter.title-background-color")">
  +              <input type="text" name="parameter.title-background-color" size="20" 
value="$!data.user.getTemp("parameter.title-background-color")"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">highlight-text-color</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_HIGHLIGHT_TEXT_COLOR</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.highlight-text-color" size="20" 
value="$!data.user.getTemp("parameter.highlight-text-color")">
  +              <input type="text" name="parameter.highlight-text-color" size="20" 
value="$!data.user.getTemp("parameter.highlight-text-color")"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">highlight-background-color</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_HIGHLIGHT_BACKGROUND_COLOR</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.highlight-background-color" 
size="20" value="$!data.user.getTemp("parameter.highlight-background-color")">
  +              <input type="text" name="parameter.highlight-background-color" 
size="20" value="$!data.user.getTemp("parameter.highlight-background-color")"/>
               </font>
             </td>
           </tr>
           
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">portlet-style-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_PORTLET_STYLE_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.portlet-style-class" size="20" 
value="$!data.user.getTemp("parameter.portlet-style-class")">
  +              <input type="text" name="parameter.portlet-style-class" size="20" 
value="$!data.user.getTemp("parameter.portlet-style-class")"/>
               </font>
             </td>
           </tr>  
           
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">title-style-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_TITLE_STYLE_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.title-style-class" size="20" 
value="$!data.user.getTemp("parameter.title-style-class")">
  +              <input type="text" name="parameter.title-style-class" size="20" 
value="$!data.user.getTemp("parameter.title-style-class")"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">content-style-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_CONTENT_STYLE_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.content-style-class" size="20" 
value="$!data.user.getTemp("parameter.content-style-class")">
  +              <input type="text" name="parameter.content-style-class" size="20" 
value="$!data.user.getTemp("parameter.content-style-class")"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font 
face="$ui.sansSerifFonts">highlight-title-style-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_HIGHLIGHT_TITLE_STYLE_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.highlight-title-style-class" 
size="20" value="$!data.user.getTemp("parameter.highlight-title-style-class")">
  +              <input type="text" name="parameter.highlight-title-style-class" 
size="20" value="$!data.user.getTemp("parameter.highlight-title-style-class")"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">tab-style-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_TAB_STYLE_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.tab-style-class" size="20" 
value="$!data.user.getTemp("parameter.tab-style-class")">
  +              <input type="text" name="parameter.tab-style-class" size="20" 
value="$!data.user.getTemp("parameter.tab-style-class")"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">tab-title-style-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_TAB_TITLE_STYLE_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.tab-title-style-class" size="20" 
value="$!data.user.getTemp("parameter.tab-title-style-class")">
  +              <input type="text" name="parameter.tab-title-style-class" size="20" 
value="$!data.user.getTemp("parameter.tab-title-style-class")"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">tab-content-style-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_TAB_CONTENT_STYLE_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.tab-content-style-class" size="20" 
value="$!data.user.getTemp("parameter.tab-content-style-class")">
  +              <input type="text" name="parameter.tab-content-style-class" size="20" 
value="$!data.user.getTemp("parameter.tab-content-style-class")"/>
  +            </font>
  +          </td>
  +        </tr>
  +        <tr>
  +          <td bgcolor="$!{skin.TitleBackgroundColor}">
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_PORTLET_SKIN_CLASS</font></b>
  +          </td>
  +          <td bgcolor="$!{skin.TitleBackgroundColor}">
  +            <font face="$ui.sansSerifFonts">
  +              <input type="text" name="parameter.portlet-skin-class" size="20" 
value="$!data.user.getTemp("parameter.portlet-skin-class")"/>
               </font>
             </td>
           </tr>
        #elseif($mode == "update")
                <tr>
  -            #formReadOnlyCell ("Name" "Name" $!entry.Name)
  +            #formReadOnlyCell ($l10n.REGISTRY_EDITOR_SKIN_NAME "Name" $!entry.Name)
               <input type="hidden" name="skinname" value="$!entry.Name"/>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">text-color</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_TEXT_COLOR</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.text-color" size="20" 
value="$!entry.getParameter("text-color").value">
  +              <input type="text" name="parameter.text-color" size="20" 
value="$!entry.getParameter("text-color").value"/>
               </font>
             </td>
           </tr>
           
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">background-color</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_BACKGROUND_COLOR</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.background-color" size="20" 
value="$!entry.getParameter("background-color").value">
  +              <input type="text" name="parameter.background-color" size="20" 
value="$!entry.getParameter("background-color").value"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">title-text-color</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_TITLE_TEXT_COLOR</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.title-text-color" size="20" 
value="$!entry.getParameter("title-text-color").value">
  +              <input type="text" name="parameter.title-text-color" size="20" 
value="$!entry.getParameter("title-text-color").value"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">title-background-color</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_TITLE_BACKGROUND_COLOR</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.title-background-color" size="20" 
value="$!entry.getParameter("title-background-color").value">
  +              <input type="text" name="parameter.title-background-color" size="20" 
value="$!entry.getParameter("title-background-color").value"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">highlight-text-color</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_HIGHLIGHT_TEXT_COLOR</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.highlight-text-color" size="20" 
value="$!entry.getParameter("highlight-text-color").value">
  +              <input type="text" name="parameter.highlight-text-color" size="20" 
value="$!entry.getParameter("highlight-text-color").value"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">highlight-background-color</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_HIGHLIGHT_BACKGROUND_COLOR</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.highlight-background-color" 
size="20" value="$!entry.getParameter("highlight-background-color").value">
  +              <input type="text" name="parameter.highlight-background-color" 
size="20" value="$!entry.getParameter("highlight-background-color").value"/>
               </font>
             </td>
           </tr>
           
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">portlet-style-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_PORTLET_STYLE_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.portlet-style-class" size="20" 
value="$!entry.getParameter("portlet-style-class").value">
  +              <input type="text" name="parameter.portlet-style-class" size="20" 
value="$!entry.getParameter("portlet-style-class").value"/>
               </font>
             </td>
           </tr>  
           
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">title-style-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_TITLE_STYLE_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.title-style-class" size="20" 
value="$!entry.getParameter("title-style-class").value">
  +              <input type="text" name="parameter.title-style-class" size="20" 
value="$!entry.getParameter("title-style-class").value"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">content-style-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_CONTENT_STYLE_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.content-style-class" size="20" 
value="$!entry.getParameter("content-style-class").value">
  +              <input type="text" name="parameter.content-style-class" size="20" 
value="$!entry.getParameter("content-style-class").value"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font 
face="$ui.sansSerifFonts">highlight-title-style-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_HIGHLIGHT_TITLE_STYLE_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.highlight-title-style-class" 
size="20" value="$!entry.getParameter("highlight-title-style-class").value">
  +              <input type="text" name="parameter.highlight-title-style-class" 
size="20" value="$!entry.getParameter("highlight-title-style-class").value"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">tab-style-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_TAB_STYLE_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.tab-style-class" size="20" 
value="$!entry.getParameter("tab-style-class").value">
  +              <input type="text" name="parameter.tab-style-class" size="20" 
value="$!entry.getParameter("tab-style-class").value"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">tab-title-style-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_TAB_TITLE_STYLE_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.tab-title-style-class" size="20" 
value="$!entry.getParameter("tab-title-style-class").value">
  +              <input type="text" name="parameter.tab-title-style-class" size="20" 
value="$!entry.getParameter("tab-title-style-class").value"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">tab-content-style-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_TAB_CONTENT_STYLE_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.tab-content-style-class" size="20" 
value="$!entry.getParameter("tab-content-style-class").value">
  +              <input type="text" name="parameter.tab-content-style-class" size="20" 
value="$!entry.getParameter("tab-content-style-class").value"/>
               </font>
             </td>
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">portlet-skin-class</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SKIN_PORTLET_SKIN_CLASS</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  -              <input type="text" name="parameter.portlet-skin-class" size="20" 
value="$!entry.getParameter("portlet-skin-class").value">
  +              <input type="text" name="parameter.portlet-skin-class" size="20" 
value="$!entry.getParameter("portlet-skin-class").value"/>
               </font>
             </td>
           </tr>
  @@ -337,15 +347,15 @@
         <tr>
           <td>
             #if ($mode == "insert")
  -          <input type="submit" name="eventSubmit_doInsert" value="Add Skin"/>
  +          <input type="submit" name="eventSubmit_doInsert" 
value="$l10n.REGISTRY_EDITOR_SKIN_INSERT"/>
             #elseif ($mode == "delete")
  -          <input type="submit" name="eventSubmit_doDelete" value="Delete Skin"/>
  +          <input type="submit" name="eventSubmit_doDelete" 
value="$l10n.REGISTRY_EDITOR_SKIN_DELETE"/>
             #elseif ($mode == "update")
  -          <input type="submit" name="eventSubmit_doUpdate" value="Update Skin"/>
  +          <input type="submit" name="eventSubmit_doUpdate" 
value="$l10n.REGISTRY_EDITOR_SKIN_UPDATE"/>
             #end
           </td>
           <td>
  -          <input type="submit" name="eventSubmit_doCancel" value="Cancel"/>
  +          <input type="submit" name="eventSubmit_doCancel" 
value="$l10n.REGISTRY_EDITOR_SKIN_CANCEL"/>
           </td>
         </tr>
   </table>
  
  
  
  1.3       +26 -26    
jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/security-form.vm
  
  Index: security-form.vm
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/security-form.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- security-form.vm  2 May 2003 19:24:37 -0000       1.2
  +++ security-form.vm  27 Aug 2003 00:56:46 -0000      1.3
  @@ -27,32 +27,32 @@
         #end
   </table>
   
  -      #if ($mode == "delete")
  -      <form name="SecurityForm" method="post" 
action="$jslink.getPaneByName("SecurityBrowser").setAction("portlets.SecurityUpdateAction")">
  +#if ($mode == "delete")
  +     <form name="SecurityForm" method="post" 
action="$jslink.getPaneByName("SecurityBrowser").setAction("portlets.SecurityUpdateAction")">
         <table>
                <tr>
  -                     <td colspan="2">Are you sure you want do delete this security 
entry?</td>
  +                     <td 
colspan="2">$l10n.REGISTRY_EDITOR_SECURITY_CONFIRM_DELETE</td>
                </tr>
           <tr>
  -            #formReadOnlyCell ("Name" "security_name" $!entry.Name)
  +            #formReadOnlyCell ($l10n.REGISTRY_EDITOR_SECURITY_NAME "security_name" 
$!entry.Name)
           </tr>
         </table>
         <table border="0"  cellspacing="0" cellpadding="5" width="30%">
         <tr>
           <td>
  -          <input type="submit" name="eventSubmit_doDelete" value="Delete Security 
Entry"/>
  +          <input type="submit" name="eventSubmit_doDelete" 
value="$l10n.REGISTRY_EDITOR_SECURITY_DELETE"/>
           </td>
         </tr>
         </table>
         </form>
  -      #elseif($mode == "insert")
  -      <form name="SecurityForm" method="post" 
action="$jslink.getPaneByName("SecurityForm").setAction("portlets.SecurityUpdateAction")">
  +#elseif($mode == "insert")
  +     <form name="SecurityForm" method="post" 
action="$jslink.getPaneByName("SecurityForm").setAction("portlets.SecurityUpdateAction")">
         
         <table>
  -     <input type="hidden" name="mode" value="update"/>
  +             <input type="hidden" name="mode" value="update"/>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">Name</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SECURITY_NAME</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -62,7 +62,7 @@
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">Title</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SECURITY_TITLE</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -72,7 +72,7 @@
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">Description</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SECURITY_DESCRIPTION</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -84,7 +84,7 @@
         <table border="0"  cellspacing="0" cellpadding="5" width="30%">
         <tr>
           <td>
  -          <input type="submit" name="eventSubmit_doInsert" value="Insert Security"/>
  +          <input type="submit" name="eventSubmit_doInsert" 
value="$l10n.REGISTRY_EDITOR_SECURITY_INSERT"/>
           </td>
         </tr>
         </table>
  @@ -95,11 +95,11 @@
              <table>
                <input type="hidden" name="mode" value="update"/>
                <tr>
  -               #formReadOnlyCell ("Name" "security_name" $!entry.Name)
  +               #formReadOnlyCell ($l10n.REGISTRY_EDITOR_SECURITY_NAME 
"security_name" $!entry.Name)
                </tr>
                <tr>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                 <b><font face="$ui.sansSerifFonts">Title</font></b>
  +                 <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SECURITY_TITLE</font></b>
                  </td>
                  <td bgcolor="$!{skin.TitleBackgroundColor}">
                    <font face="$ui.sansSerifFonts">
  @@ -109,7 +109,7 @@
                </tr>
                <tr>
                 <td bgcolor="$!{skin.TitleBackgroundColor}">
  -                <b><font face="$ui.sansSerifFonts">Description</font></b>
  +                <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_SECURITY_DESCRIPTION</font></b>
                 </td>
                 <td bgcolor="$!{skin.TitleBackgroundColor}">
                   <font face="$ui.sansSerifFonts">
  @@ -121,7 +121,7 @@
              <table border="0"  cellspacing="0" cellpadding="5" width="30%">
              <tr>
                <td>
  -               <input type="submit" name="eventSubmit_doUpdate" value="Update 
Security"/>
  +               <input type="submit" name="eventSubmit_doUpdate" 
value="$l10n.REGISTRY_EDITOR_SECURITY_UPDATE"/>
                </td>
              </tr>
              </table>
  @@ -153,7 +153,7 @@
                        #if($allow)
                        <table>
                                <tr>
  -                                     <td>#if($allow.user)User 
#elseif($allow.role)Role #else Owner #end</td>
  +                                     
<td>#if($allow.user)$l10n.REGISTRY_EDITOR_SECURITY_ACCESS_USER 
#elseif($allow.role)$l10n.REGISTRY_EDITOR_SECURITY_ACCESS_ROLE #else 
$l10n.REGISTRY_EDITOR_SECURITY_ACCESS_OWNER #end</td>
                                        <td>#if($allow.user)$allow.user 
#elseif($allow.role)$allow.role #else &nbsp; #end</td>
                                <tr>
                        </table>
  @@ -165,7 +165,7 @@
              #end
              #if($entry.getAccesses().size() > 0)
              <tr>
  -             <td colspan="3"><input type="submit" name="eventSubmit_doRemoveaccess" 
value="Remove Access"/>
  +             <td colspan="3"><input type="submit" name="eventSubmit_doRemoveaccess" 
value="$l10n.REGISTRY_EDITOR_SECURITY_DELETE_ACCESS"/>
              </tr>
              #end
              </table>
  @@ -241,7 +241,7 @@
              <input type="hidden" name="security_name" value="$!entry.name"/>
              <table>
                <tr>
  -               <td>Action</td>
  +               <td>$l10n.REGISTRY_EDITOR_SECURITY_ACCESS_ACTION</td>
                  <td>
                        <select name="access_action" >
                                <option value="*">*</option>
  @@ -252,24 +252,24 @@
                  </td>
                </tr>
                <tr>
  -               <td>Type</td>
  +               <td>$l10n.REGISTRY_EDITOR_SECURITY_ACCESS_TYPE</td>
                  <td>
                        <select name="allow_type" onChange="changeList(this); return 
true;">
  -                             <option value="owner">Owner</option>
  -                             <option value="user">User</option>
  -                             <option value="role">Role</option>
  +                             <option 
value="owner">$l10n.REGISTRY_EDITOR_SECURITY_ACCESS_OWNER</option>
  +                             <option 
value="user">$l10n.REGISTRY_EDITOR_SECURITY_ACCESS_USER</option>
  +                             <option 
value="role">$l10n.REGISTRY_EDITOR_SECURITY_ACCESS_ROLE</option>
                        </select>
                  </td>
                </tr>
                <tr>
  -               <td>Value</td>
  +               <td>$l10n.REGISTRY_EDITOR_SECURITY_ACCESS_VALUE</td>
                  <td>
                        <select name="allow_value">
                        </select>
                  </td>
                </tr>
                <tr>
  -               <td><input type="submit" name="eventSubmit_doAddaccess" value="Add 
Security Access"/>
  +               <td><input type="submit" name="eventSubmit_doAddaccess" 
value="$l10n.REGISTRY_EDITOR_SECURITY_INSERT_ACCESS"/>
                </tr>
              </table>
             </form>      
  @@ -279,7 +279,7 @@
     <tr>
       <td>
        <form name="BackToBrowserForm" method="post" 
action="$jslink.getPaneByName("SecurityBrowser").setAction("portlets.SecurityUpdateAction")">
  -             <input type="submit" name="eventSubmit_doCancel" value="Back to 
Browser"/>
  +             <input type="submit" name="eventSubmit_doCancel" 
value="$l10n.REGISTRY_EDITOR_SECURITY_CANCEL"/>
        </form>
       </td>
     </tr>
  
  
  
  1.2       +16 -16    
jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/media-form.vm
  
  Index: media-form.vm
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/media-form.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- media-form.vm     2 May 2003 19:24:37 -0000       1.1
  +++ media-form.vm     27 Aug 2003 00:56:46 -0000      1.2
  @@ -31,16 +31,16 @@
             <form name="MediaForm" method="post" 
action="$jslink.getPaneByName("MediaBrowser").setAction("portlets.MediaUpdateAction")">
         <table>
             <tr>
  -              <td colspan="2">Are you sure you want do delete this media entry?</td>
  +              <td colspan="2">$l10n.REGISTRY_EDITOR_MEDIA_CONFIRM_DELETE</td>
             </tr>
           <tr>
  -            #formReadOnlyCell ("Name" "media_type_name" $!entry.Name)
  +            #formReadOnlyCell ($l10n.REGISTRY_EDITOR_MEDIA_NAME "media_type_name" 
$!entry.Name)
           </tr>
         </table>
         <table border="0"  cellspacing="0" cellpadding="5" width="30%">
         <tr>
           <td>
  -          <input type="submit" name="eventSubmit_doDelete" value="Delete Media"/>
  +          <input type="submit" name="eventSubmit_doDelete" 
value="$l10n.REGISTRY_EDITOR_MEDIA_DELETE"/>
           </td>
         </tr>
         </table>
  @@ -54,7 +54,7 @@
           <input type="hidden" name="mode" value="update"/>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">Name</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_MEDIA_NAME</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -64,7 +64,7 @@
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">CharSet</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_MEDIA_CHARSET</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -74,7 +74,7 @@
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">Title</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_MEDIA_TITLE</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -84,7 +84,7 @@
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">Mime Type</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_MIMETYPE</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -113,7 +113,7 @@
       <table border="0"  cellspacing="0" cellpadding="5" width="30%">
         <tr>
           <td>
  -          <input type="submit" name="eventSubmit_doInsert" value="Insert Media"/>
  +          <input type="submit" name="eventSubmit_doInsert" 
value="$l10n.REGISTRY_EDITOR_MEDIA_INSERT"/>
           </td>
               ##<td>
               ##  <input type="submit" name="eventSubmit_doCancel" value="Cancel"/>
  @@ -129,10 +129,10 @@
         <form name="MediaForm" method="post" 
action="$jslink.getPaneByName("MediaForm").setAction("portlets.MediaUpdateAction")">
       <table>
           <input type="hidden" name="mode" value="update"/>
  -        #formReadOnlyCell("Name" "media_type_name" $!entry.name)
  +        #formReadOnlyCell($l10n.REGISTRY_EDITOR_MEDIA_NAME "media_type_name" 
$!entry.name)
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">CharSet</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_MEDIA_CHARSET</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -142,7 +142,7 @@
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">Title</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_MEDIA_TITLE</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -152,7 +152,7 @@
           </tr>
           <tr>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
  -            <b><font face="$ui.sansSerifFonts">Mime Type</font></b>
  +            <b><font 
face="$ui.sansSerifFonts">$l10n.REGISTRY_EDITOR_MIMETYPE</font></b>
             </td>
             <td bgcolor="$!{skin.TitleBackgroundColor}">
               <font face="$ui.sansSerifFonts">
  @@ -181,7 +181,7 @@
       <table border="0"  cellspacing="0" cellpadding="5" width="30%">
         <tr>
           <td>
  -          <input type="submit" name="eventSubmit_doUpdate" value="Update Media"/>
  +          <input type="submit" name="eventSubmit_doUpdate" 
value="$l10n.REGISTRY_EDITOR_MEDIA_UPDATE"/>
           </td>
         </tr>
       </table>
  @@ -201,7 +201,7 @@
               #end
               <tr>
                   <td>
  -                    <td colspan="2" align="center"><input type="submit" 
name="eventSubmit_doRemovecapability" value="Remove Capabilities"/></td>
  +                    <td colspan="2" align="center"><input type="submit" 
name="eventSubmit_doRemovecapability" 
value="$l10n.REGISTRY_EDITOR_DELETE_CAPABILITIES"/></td>
                   </td>
               </tr>
             </table>
  @@ -222,7 +222,7 @@
               </tr>
               <tr>
                   <td>
  -                    <input type="submit" name="eventSubmit_doAddcapability" 
value="Add Capability"/>
  +                    <input type="submit" name="eventSubmit_doAddcapability" 
value="$l10n.REGISTRY_EDITOR_INSERT_CAPABILITY"/>
                   </td>
               </tr>
             </table>
  @@ -232,7 +232,7 @@
     <tr>
       <td>
         <form name="CancelMediaForm" method="post" 
action="$jslink.getPaneByName("MediaBrowser").setAction("portlets.MediaUpdateAction")">
  -        <input type="submit" name="eventSubmit_doCancel" value="Back to Browser"/>
  +        <input type="submit" name="eventSubmit_doCancel" 
value="$l10n.REGISTRY_EDITOR_MEDIA_CANCEL"/>
         </form>
       </td>
     </tr>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to