[OFBiz] Dev - Localization Patch for Ecommerce

Can Castell cancastell at yahoo.com
Fri Sep 24 02:53:45 EDT 2004


Hi David,

Attached is a patch to fix some localization issues
(ecommerce).

Can

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
Index: ofbiz/components/ecommerce/config/EcommerceUiLabels.properties
===================================================================
--- ofbiz/components/ecommerce/config/EcommerceUiLabels.properties	(revision 3485)
+++ ofbiz/components/ecommerce/config/EcommerceUiLabels.properties	(working copy)
@@ -81,6 +81,7 @@
 CommonClickHere=Click Here
 CommonComment=Comment
 CommonComments=Comments
+CommonContactUs=Contact Us
 CommonContinue=Continue
 CommonCouldBeUsedAs=Could be Used as
 CommonCreate=Create
@@ -92,6 +93,7 @@
 CommonDetails=Details
 CommonEdit=Edit
 CommonEmailPassword=Email Password
+CommonEmailFrom=From
 CommonExpire=Expire
 CommonExpires=Expires
 CommonFieldsMarkedAreRequired=Fields marked with (*) are required.
@@ -100,6 +102,7 @@
 CommonFrom=From
 CommonGetPasswordHint=Get Password Hint
 CommonGoBack=Go Back
+CommonGoToPage=Go to Page ${curViewNum}
 CommonInformation=Information
 CommonInThe=In The
 CommonLanguageTitle=Language
@@ -107,6 +110,7 @@
 CommonLoginHere=log in here
 CommonLogin=Login
 CommonLogout=Logout
+CommonLowIndexHighIndexOfListSize=${lowIndex} - ${highIndex} of ${listSize}
 CommonMain=Main
 CommonMatched=Matched
 CommonMayCreate=Create
@@ -119,6 +123,7 @@
 CommonNotYou=Not You
 CommonOn=On
 CommonOpenNewWindow=Open in New Window
+CommonPageIndexOfIndexMax=Page ${viewIndex?int + 1} of ${viewIndexMax}
 CommonPassword=Password
 CommonPrevious=Previous
 CommonProfile=Profile
@@ -134,6 +139,7 @@
 CommonSearchResultfor=Search Results for
 CommonSelectAll=Select All
 CommonStatus=Status
+CommonSubject=Subject
 CommonSubtotal=Subtotal
 CommonSubTotal=Sub Total
 CommonTellAFriend=Tell-A-Friend
@@ -145,6 +151,7 @@
 CommonUsedAs=Used as
 CommonUsername=Username
 CommonView=View
+CommonViewList=View List
 CommonWelcome=Welcome
 CommonWhere=Where
 CommonYes=Yes
@@ -161,7 +168,7 @@
 EcommerceAlwaysViewCartAfterAddingAnItem=Always view cart after adding an item
 EcommerceAnonymous=Anonymous
 EcommerceAverageRating=Average Rating
-EcommerceCartHas=Cart has
+EcommerceCartHasItem=Cart has <b>${shoppingCart.getTotalQuantity()}</b> Item
 EcommerceCartSummary=Cart Summary
 EcommerceCartTotal=Cart Total
 EcommerceCheckout=Checkout
@@ -171,6 +178,7 @@
 EcommerceContinueShopping=Continue Shopping
 EcommerceCustomerReviews=Customer Reviews
 EcommerceEmptyCart=Empty Cart
+EcommerceFromNumRatings=from ${numRatings} Ratings
 EcommerceGoToList=Go To List
 EcommerceIncludes=Includes
 EcommerceItem=Item
@@ -196,6 +204,7 @@
 EcommercePostAnonymous=Post Anonymous
 EcommercePrice=Price
 EcommerceProduct=Product
+EcommerceProductAmount=Amount
 EcommercePromotion=Promotion
 EcommercePromotionalItems=Promotional items; quantities cannot be modified
 EcommercePromotionInformation=Promotion Information
@@ -215,6 +224,7 @@
 EcommerceShoppingListEmpty=Your shopping list is empty
 EcommerceShoppingListError=ERROR: The specified shopping list (with
 EcommerceShoppingListPriceTotals=Shopping List Price Totals
+EcommerceSizesAvailable=Sizes Available
 EcommerceSpecialOffers=Special Offers
 EcommerceToAddSelectedItemsToShoppingList=to add selected items to a shopping list
 EcommerceToCart=to Cart
@@ -462,6 +472,7 @@
 ProductCompareAtPrice=Compare At
 ProductEntireCatalog=Entire Catalog
 ProductErrorProductNotFound=ERROR: Product not found
+ProductFromPrice=from
 ProductItemOutofStock=This item is out of stock
 ProductKeywords=Keywords
 ProductListPrice=List Price
Index: ofbiz/components/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
===================================================================
--- ofbiz/components/ecommerce/webapp/ecommerce/cart/minipromotext.ftl	(revision 3485)
+++ ofbiz/components/ecommerce/webapp/ecommerce/cart/minipromotext.ftl	(working copy)
@@ -20,7 +20,7 @@
  *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  *
  *@author     David E. Jones (jonesde at ofbiz.org)
- *@version    $Rev:$
+ *@version    $Rev$
  *@since      2.1
 -->
 
@@ -49,7 +49,7 @@
                   <#list productPromos as productPromo>
                     <tr>
                       <td>
-                        <div class="tabletext"><a href="<@ofbizUrl>/showPromotionDetails?productPromoId=${productPromo.productPromoId}</@ofbizUrl>" class="buttontext">[Details]</a> ${productPromo.promoText}</div>
+                        <div class="tabletext"><a href="<@ofbizUrl>/showPromotionDetails?productPromoId=${productPromo.productPromoId}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonDetails}]</a> ${productPromo.promoText}</div>
                       </td>
                     </tr>
                     <#if productPromo_has_next>
Index: ofbiz/components/ecommerce/webapp/ecommerce/cart/microcart.ftl
===================================================================
--- ofbiz/components/ecommerce/webapp/ecommerce/cart/microcart.ftl	(revision 3485)
+++ ofbiz/components/ecommerce/webapp/ecommerce/cart/microcart.ftl	(working copy)
@@ -20,7 +20,7 @@
  *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  *
  *@author     David E. Jones (jonesde at ofbiz.org)
- *@version    $Rev:$
+ *@version    $Rev$
  *@since      2.1
 -->
 <#assign uiLabelMap = requestAttributes.uiLabelMap>
@@ -33,7 +33,8 @@
 
 <div class='insideHeaderText'>
 <#if (shoppingCartSize > 0)>
-  ${uiLabelMap.EcommerceCartHas} <b>${shoppingCart.getTotalQuantity()}</b> ${uiLabelMap.EcommerceItem}, <b><@ofbizCurrency amount=shoppingCart.getGrandTotal() isoCode=shoppingCart.getCurrency()/></b>
+  <!--${uiLabelMap.EcommerceCartHas} <b>${shoppingCart.getTotalQuantity()}</b> ${uiLabelMap.EcommerceItem}, <b><@ofbizCurrency amount=shoppingCart.getGrandTotal() isoCode=shoppingCart.getCurrency()/></b>-->
+  <#assign uiLabelWithVar=uiLabelMap.EcommerceCartHasItem?interpret><@uiLabelWithVar/>, <b><@ofbizCurrency amount=shoppingCart.getGrandTotal() isoCode=shoppingCart.getCurrency()/></b>
 <#else>
   ${uiLabelMap.EcommerceShoppingCartEmpty}</b>
 </#if>
Index: ofbiz/components/ecommerce/webapp/ecommerce/includes/newmsg.ftl
===================================================================
--- ofbiz/components/ecommerce/webapp/ecommerce/includes/newmsg.ftl	(revision 3485)
+++ ofbiz/components/ecommerce/webapp/ecommerce/includes/newmsg.ftl	(working copy)
@@ -20,7 +20,7 @@
  *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  *
  *@author     Andy Zeneski
- *@version    $Rev:$
+ *@version    $Rev$
  *@since      3.1
 -->
 
@@ -35,7 +35,7 @@
           </td>
           <#if page.showMessageLinks?default("false")?upper_case == "TRUE">
             <td valign="middle" align="right">
-              <a href="<@ofbizUrl>/messagelist</@ofbizUrl>" class="submenutextright">View List</a>
+              <a href="<@ofbizUrl>/messagelist</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonViewList}</a>
             </td>
           </#if>
         </tr>
@@ -64,7 +64,7 @@
           </tr>
           <tr>
             <td width="5">&nbsp;</td>
-            <td align="right"><div class="tableheadtext">From:</div></td>
+            <td align="right"><div class="tableheadtext">${uiLabelMap.CommonEmailFrom}:</div></td>
             <td><div class="tabletext">&nbsp;${sessionAttributes.autoName} [${userLogin.partyId}] (${uiLabelMap.CommonNotYou}?&nbsp;<a href="<@ofbizUrl>/autoLogout</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonClickHere}</a>)</div></td>
           </tr>
           <#if partyIdTo?has_content>
@@ -75,7 +75,7 @@
             </tr>
             <tr>
               <td width="5">&nbsp;</td>
-              <td align="right"><div class="tableheadtext">To:</div></td>
+              <td align="right"><div class="tableheadtext">${uiLabelMap.CommonEmailTo}:</div></td>
               <td><div class="tabletext">&nbsp;${partyToName}</div></td>
             </tr>
           </#if>
@@ -94,7 +94,7 @@
           </#if>
           <tr>
             <td width="5">&nbsp;</td>
-            <td align="right"><div class="tableheadtext">Subject:</div></td>
+            <td align="right"><div class="tableheadtext">${uiLabelMap.CommonSubject}:</div></td>
             <td><input type="input" class="inputBox" name="subject" size="20" value="${defaultSubject}">
           </tr>
           <tr>
@@ -102,7 +102,7 @@
           </tr>
           <tr>
             <td width="5">&nbsp;</td>
-            <td align="right"><div class="tableheadtext">Message:</div></td>
+            <td align="right"><div class="tableheadtext">${uiLabelMap.CommonMessage}:</div></td>
             <td>&nbsp;</td>
           </tr>
           <tr>
@@ -116,7 +116,7 @@
           </tr>
           <tr>
             <td colspan="2">&nbsp;</td>
-            <td><input type="submit" class="smallSubmit" value="Send"></td>
+            <td><input type="submit" class="smallSubmit" value="${uiLabelMap.CommonSend}"></td>
           </tr>
         </table>
       </form>
Index: ofbiz/components/ecommerce/webapp/ecommerce/includes/header_htmlarea.ftl
===================================================================
--- ofbiz/components/ecommerce/webapp/ecommerce/includes/header_htmlarea.ftl	(revision 3485)
+++ ofbiz/components/ecommerce/webapp/ecommerce/includes/header_htmlarea.ftl	(working copy)
@@ -21,7 +21,7 @@
  *
  *@author     David E. Jones (jonesde at ofbiz.org)
  *@author     Andy Zeneski (jaz at ofbiz.org)
- *@version    $Rev:$
+ *@version    $Rev$
  *@since      2.1
 -->
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
@@ -88,7 +88,7 @@
           <#else>
               <td class="headerButtonLeft" nowrap><a href="<@ofbizUrl>${checkLoginUrl}</@ofbizUrl>" class="headerbuttontext">${uiLabelMap.CommonLogin}</a></td>
           </#if>
-          <td class="headerButtonLeft" nowrap><a href="<@ofbizUrl>/contactus</@ofbizUrl>" class="headerbuttontext">Contact Us</a></td>
+          <td class="headerButtonLeft" nowrap><a href="<@ofbizUrl>/contactus</@ofbizUrl>" class="headerbuttontext">${uiLabelMap.CommonContactUs}</a></td>
           <td class="headerButtonLeft" nowrap><a href="<@ofbizUrl>/main</@ofbizUrl>" class="headerbuttontext">${uiLabelMap.CommonMain}</a></td>
 
           <#if sessionAttributes.autoName?has_content>
Index: ofbiz/components/ecommerce/webapp/ecommerce/includes/header.ftl
===================================================================
--- ofbiz/components/ecommerce/webapp/ecommerce/includes/header.ftl	(revision 3485)
+++ ofbiz/components/ecommerce/webapp/ecommerce/includes/header.ftl	(working copy)
@@ -21,7 +21,7 @@
  *
  *@author     David E. Jones (jonesde at ofbiz.org)
  *@author     Andy Zeneski (jaz at ofbiz.org)
- *@version    $Rev:$
+ *@version    $Rev$
  *@since      2.1
 -->
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
@@ -88,7 +88,7 @@
           <#else>
               <td class="headerButtonLeft" nowrap><a href="<@ofbizUrl>${checkLoginUrl}</@ofbizUrl>" class="headerbuttontext">${uiLabelMap.CommonLogin}</a></td>
           </#if>
-          <td class="headerButtonLeft" nowrap><a href="<@ofbizUrl>/contactus</@ofbizUrl>" class="headerbuttontext">Contact Us</a></td>
+          <td class="headerButtonLeft" nowrap><a href="<@ofbizUrl>/contactus</@ofbizUrl>" class="headerbuttontext">${uiLabelMap.CommonContactUs}</a></td>
           <td class="headerButtonLeft" nowrap><a href="<@ofbizUrl>/main</@ofbizUrl>" class="headerbuttontext">${uiLabelMap.CommonMain}</a></td>
 
           <#if sessionAttributes.autoName?has_content>
Index: ofbiz/components/ecommerce/webapp/ecommerce/catalog/productsummary.ftl
===================================================================
--- ofbiz/components/ecommerce/webapp/ecommerce/catalog/productsummary.ftl	(revision 3485)
+++ ofbiz/components/ecommerce/webapp/ecommerce/catalog/productsummary.ftl	(working copy)
@@ -21,7 +21,7 @@
  *
  *@author     Andy Zeneski (jaz at ofbiz.org)
  *@author     David E. Jones (jonesde at ofbiz.org)
- *@version    $Rev:$
+ *@version    $Rev$
  *@since      2.1
 -->
 <#assign uiLabelMap = requestAttributes.uiLabelMap>
@@ -76,7 +76,8 @@
                     <span class="salePrice">${uiLabelMap.EcommerceOnSale}!</span>
                   </#if>
                   <#if (price.price?default(0) > 0 && product.requireAmount?default("N") == "N")>
-                    ${uiLabelMap.EcommerceYourPrice}: <#if "Y" = product.isVirtual?if_exists> from </#if><span class="<#if price.isSale>salePrice<#else>normalPrice</#if>"><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/></span>
+                    ${uiLabelMap.EcommerceYourPrice}: <#if "Y" = product.isVirtual?if_exists> ${uiLabelMap.ProductFromPrice} </#if><span class="<#if price.isSale>salePrice<#else>normalPrice</#if>"><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/></span>
+                    <!--${uiLabelMap.EcommerceYourPrice}: <#assign uiLabelWithVar=uiLabelMap.ProductFromPrice?interpret><@uiLabelWithVar/>-->
                   </#if>
                 </b></nobr>
                 <#if price.listPrice?exists && price.price?exists && price.price?double < price.listPrice?double>
@@ -86,7 +87,7 @@
                 </#if>
           </div>
           <#if averageRating?exists && (averageRating?double > 0) && numRatings?exists && (numRatings?long > 2)>
-              <div class="tabletext">${uiLabelMap.EcommerceAverageRating}: ${averageRating} (${uiLabelMap.CommonFrom} ${numRatings} ${uiLabelMap.EcommerceRatings})</div>
+              <div class="tabletext">${uiLabelMap.EcommerceAverageRating}: ${averageRating} (<#assign uiLabelWithVar=uiLabelMap.EcommerceFromNumRatings?interpret><@uiLabelWithVar/>)</div>
           </#if>
       </td>
       <td valign=center align=right>
Index: ofbiz/components/ecommerce/webapp/ecommerce/catalog/categorydetail.ftl
===================================================================
--- ofbiz/components/ecommerce/webapp/ecommerce/catalog/categorydetail.ftl	(revision 3485)
+++ ofbiz/components/ecommerce/webapp/ecommerce/catalog/categorydetail.ftl	(working copy)
@@ -20,7 +20,7 @@
  *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  *
  *@author     Andy Zeneski (jaz at ofbiz.org)
- *@version    $Rev:$
+ *@version    $Rev$
  *@since      2.1
 -->
 
@@ -73,9 +73,9 @@
       <#-- Start Page Select Drop-Down -->
       <#assign viewIndexMax = Static["java.lang.Math"].ceil(listSize?double / viewSize?double)>
       <select name="pageSelect" class="selectBox" onChange="window.location=this[this.selectedIndex].value;">
-        <option value="#">Page ${viewIndex?int + 1} of ${viewIndexMax}</option>
+        <option value="#"><#assign uiLabelWithVar=uiLabelMap.CommonPageIndexOfIndexMax?interpret><@uiLabelWithVar/></option>
         <#list 1..viewIndexMax as curViewNum>
-          <option value="<@ofbizUrl>/category/~category_id=${productCategoryId}/~VIEW_SIZE=${viewSize}/~VIEW_INDEX=${curViewNum?int - 1}</@ofbizUrl>">Go to Page ${curViewNum}</option>
+          <option value="<@ofbizUrl>/category/~category_id=${productCategoryId}/~VIEW_SIZE=${viewSize}/~VIEW_INDEX=${curViewNum?int - 1}</@ofbizUrl>"><#assign uiLabelWithVar=uiLabelMap.CommonGoToPage?interpret><@uiLabelWithVar/></option>
         </#list>
       </select>
       <#-- End Page Select Drop-Down -->
@@ -84,7 +84,7 @@
           <a href="<@ofbizUrl>/category/~category_id=${productCategoryId}/~VIEW_SIZE=${viewSize}/~VIEW_INDEX=${viewIndex?int - 1}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonPrevious}]</a> |
         </#if>
         <#if 0 < listSize?int>
-          <span class="tabletext">${lowIndex} - ${highIndex} of ${listSize}</span>
+          <span class="tabletext"><#assign uiLabelWithVar=uiLabelMap.CommonLowIndexHighIndexOfListSize?interpret><@uiLabelWithVar/></span>
         </#if>
         <#if highIndex?int < listSize?int>
           | <a href="<@ofbizUrl>/category/~category_id=${productCategoryId}/~VIEW_SIZE=${viewSize}/~VIEW_INDEX=${viewIndex?int + 1}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonNext}]</a>
@@ -124,9 +124,9 @@
       <#-- Start Page Select Drop-Down -->
       <#assign viewIndexMax = Static["java.lang.Math"].ceil(listSize?double / viewSize?double)>
       <select name="pageSelect" class="selectBox" onChange="window.location=this[this.selectedIndex].value;">
-        <option value="#">Page ${viewIndex?int + 1} of ${viewIndexMax}</option>
+        <option value="#"><#assign uiLabelWithVar=uiLabelMap.CommonPageIndexOfIndexMax?interpret><@uiLabelWithVar/></option>
         <#list 1..viewIndexMax as curViewNum>
-          <option value="<@ofbizUrl>/category/~category_id=${productCategoryId}/~VIEW_SIZE=${viewSize}/~VIEW_INDEX=${curViewNum?int - 1}</@ofbizUrl>">Go to Page ${curViewNum}</option>
+          <option value="<@ofbizUrl>/category/~category_id=${productCategoryId}/~VIEW_SIZE=${viewSize}/~VIEW_INDEX=${curViewNum?int - 1}</@ofbizUrl>"><#assign uiLabelWithVar=uiLabelMap.CommonGoToPage?interpret><@uiLabelWithVar/></option>
         </#list>
       </select>
       <#-- End Page Select Drop-Down -->
@@ -135,7 +135,7 @@
           <a href="<@ofbizUrl>/category?category_id=${productCategoryId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex?int - 1}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonPrevious}]</a> |
         </#if>
         <#if 0 < listSize?int>
-          <span class="tabletext">${lowIndex} - ${highIndex} of ${listSize}</span>
+          <span class="tabletext"><#assign uiLabelWithVar=uiLabelMap.CommonLowIndexHighIndexOfListSize?interpret><@uiLabelWithVar/></span>
         </#if>
         <#if highIndex?int < listSize?int>
           | <a href="<@ofbizUrl>/category?category_id=${productCategoryId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex?int + 1}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonNext}]</a>
Index: ofbiz/components/ecommerce/webapp/ecommerce/catalog/productdetail.ftl
===================================================================
--- ofbiz/components/ecommerce/webapp/ecommerce/catalog/productdetail.ftl	(revision 3485)
+++ ofbiz/components/ecommerce/webapp/ecommerce/catalog/productdetail.ftl	(working copy)
@@ -186,7 +186,7 @@
           <#if (sizeProductFeatureAndAppls?size == 1)>
             Size:
           <#else>
-            Sizes Available:
+            ${uiLabelMap.EcommerceSizesAvailable}:
           </#if>
           <#list sizeProductFeatureAndAppls as sizeProductFeatureAndAppl>
             ${sizeProductFeatureAndAppl.description?default(sizeProductFeatureAndAppl..abbrev?default(sizeProductFeatureAndAppl.productFeatureId))}<#if sizeProductFeatureAndAppl_has_next>,</#if>
@@ -217,7 +217,7 @@
           <#else>
             <#assign priceStyle = "regularPrice">
           </#if>
-            ${uiLabelMap.EcommerceYourPrice}: <#if "Y" = product.isVirtual?if_exists> from </#if><span class='${priceStyle}'><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/></span>
+            ${uiLabelMap.EcommerceYourPrice}: <#if "Y" = product.isVirtual?if_exists> ${uiLabelMap.ProductFromPrice} </#if><span class='${priceStyle}'><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/></span>
         </b>
       </div>
       <#if price.listPrice?exists && price.price?exists && price.price?double < price.listPrice?double>
@@ -310,7 +310,7 @@
               <#assign hiddenStyle = "tabletexthidden">
             </#if>
             <div id="add_amount" class="${hiddenStyle}">
-              <nobr><b>Amount:</b></nobr>&nbsp;
+              <nobr><b>${uiLabelMap.EcommerceProductAmount}:</b></nobr>&nbsp;
               <input type="text" class="inputBox" size="5" name="add_amount" value="">
             </div>
             <a href="javascript:addItem()" class="buttontext"><nobr>[${uiLabelMap.EcommerceAddToCart}]</nobr></a>&nbsp;
Index: ofbiz/components/ecommerce/webapp/ecommerce/catalog/tellafriend.ftl
===================================================================
--- ofbiz/components/ecommerce/webapp/ecommerce/catalog/tellafriend.ftl	(revision 3485)
+++ ofbiz/components/ecommerce/webapp/ecommerce/catalog/tellafriend.ftl	(working copy)
@@ -20,13 +20,15 @@
  *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  *
  *@author     Andy Zeneski (jaz at ofbiz.org)
- *@version    $Rev:$
+ *@version    $Rev$
  *@since      3.0
 -->
 
+<#assign uiLabelMap = requestAttributes.uiLabelMap>
+
 <html>
 <head>
-  <title>Tell-A-Friend</title>
+  <title>${uiLabelMap.CommonTellAFriend}</title>
 </head>
 <body class="ecbody">
   <center>
@@ -41,15 +43,15 @@
       <#if !cancel?exists>
         <table>
           <tr>
-            <td>Your email:</td>
+            <td>${uiLabelMap.CommonYouremail}:</td>
             <td><input type="text" name="sendFrom" size="30"></td>
           </tr>
           <tr>
-            <td>Email To:</td>
+            <td>${uiLabelMap.CommonEmailTo}:</td>
             <td><input type="text" name="sendTo" size="30"></td>
           </tr>
           <tr>
-            <td colspan="2" align="center">Message</td>
+            <td colspan="2" align="center">${uiLabelMap.CommonMessage}</td>
           </tr>
           <tr>
             <td colspan="2" align="center">
@@ -58,7 +60,7 @@
           </tr>
           <tr>
             <td colspan="2" align="center">
-              <input type="submit" value="Send">
+              <input type="submit" value="${uiLabelMap.CommonSend}">
             </td>
           </tr>
         </table>


More information about the Dev mailing list