Attached Files | OBPOS-PDA-localization.patch [^] (7,147 bytes) 2010-03-18 06:47 [Show Content] [Hide Content]# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: web/jsp/addProductAjax.jsp
--- web/jsp/addProductAjax.jsp Base (BASE)
+++ web/jsp/addProductAjax.jsp Locally Modified (Based On LOCAL)
@@ -41,7 +41,7 @@
<td class="name" style="background-color:#ffb7b3;">* ${product.name}</td>
<td class="normal" style="background-color:#ffb7b3;"><fmt:formatNumber type="currency" value="${product.priceSell + product.priceSell * rates[nr.count - 1]}" maxFractionDigits="2" minFractionDigits="2"/></td>
<td class="normal" style="background-color:#ffb7b3;"></td>
- <td style="background-color:#ffb7b3;"><input value="Add" type="submit" class="floor" onclick="ajaxAddProduct('<%=request.getSession().getAttribute("place")%>', ${nr.count - 1}, '${product.name}', '${product.id}', 1);"/></td>
+ <td style="background-color:#ffb7b3;"><input value="<bean:message key="button.add" />" type="submit" class="floor" onclick="ajaxAddProduct('<%=request.getSession().getAttribute("place")%>', ${nr.count - 1}, '${product.name}', '${product.id}', 1);"/></td>
</tr>
</c:forEach>
</span>
Index: web/jsp/placeAjax.jsp
--- web/jsp/placeAjax.jsp Base (BASE)
+++ web/jsp/placeAjax.jsp Locally Modified (Based On LOCAL)
@@ -33,5 +33,5 @@
</span>
<span>
- Total: <fmt:formatNumber type="currency" value="${total}" maxFractionDigits="2" minFractionDigits="2" />
+ <bean:message key="total" /> <fmt:formatNumber type="currency" value="${total}" maxFractionDigits="2" minFractionDigits="2" />
</span>
Index: web/jsp/productsAjax.jsp
--- web/jsp/productsAjax.jsp Base (BASE)
+++ web/jsp/productsAjax.jsp Locally Modified (Based On LOCAL)
@@ -62,7 +62,7 @@
<td class="name">${product.name}</td>
<td class="normal"><fmt:formatNumber type="currency" value="${product.priceSell + product.priceSell * rates[nr.count - 1]}" maxFractionDigits="2" minFractionDigits="2"/></td>
<td class="normal"></td>
- <td><input value="Add" type="submit" class="floor" onclick="ajaxAddProduct('<%=request.getSession().getAttribute("place")%>', ${nr.count - 1}, '${product.name}', '${product.id}', 0);"/></td>
+ <td><input value="<bean:message key="button.add" />" type="submit" class="floor" onclick="ajaxAddProduct('<%=request.getSession().getAttribute("place")%>', ${nr.count - 1}, '${product.name}', '${product.id}', 0);"/></td>
</div>
</tr>
<tr>
Index: web/jsp/productsAjaxNextLevel.jsp
--- web/jsp/productsAjaxNextLevel.jsp Base (BASE)
+++ web/jsp/productsAjaxNextLevel.jsp Locally Modified (Based On LOCAL)
@@ -50,7 +50,7 @@
<td class="name">${product.name}</td>
<td class="normal"><fmt:formatNumber type="currency" value="${product.priceSell + product.priceSell * rates[nr.count - 1]}" maxFractionDigits="2" minFractionDigits="2"/></td>
<td class="normal"></td>
- <td><input value="Add" type="submit" class="floor" onclick="ajaxAddProduct('<%=request.getSession().getAttribute("place")%>', ${nr.count - 1}, '${product.name}', '${product.id}', 0);"/></td>
+ <td><input value="<bean:message key="button.add" />" type="submit" class="floor" onclick="ajaxAddProduct('<%=request.getSession().getAttribute("place")%>', ${nr.count - 1}, '${product.name}', '${product.id}', 0);"/></td>
</tr>
</c:forEach>
</span>
Index: web/jsp/showFloors.jsp
--- web/jsp/showFloors.jsp Base (BASE)
+++ web/jsp/showFloors.jsp Locally Modified (Based On LOCAL)
@@ -81,7 +81,7 @@
<div class="bottom">
<form action="logout.do">
- <center> <input type="submit" id="d" value="Logout" style="width:100px;"></center>
+ <center> <input type="submit" id="d" value="<bean:message key="button.logout" />" style="width:100px;"></center>
</form>
</div>
</div>
Index: web/jsp/showPlace.jsp
--- web/jsp/showPlace.jsp Base (BASE)
+++ web/jsp/showPlace.jsp Locally Modified (Based On LOCAL)
@@ -59,7 +59,7 @@
</div>
<div>
- <input name="place" value="Add" type="submit" onclick="window.location='showProducts.do?place=${place}&floorId=${floorId}'" style="width:70px;margin-bottom:15px;margin-left:70%;" class="floor"/>
+ <input name="place" value="<bean:message key="button.add" />" type="submit" onclick="window.location='showProducts.do?place=${place}&floorId=${floorId}'" style="width:70px;margin-bottom:15px;margin-left:70%;" class="floor"/>
<br>
</div>
<span class="middle">
@@ -101,9 +101,9 @@
</table>
</center>
- <p class="total" id="atotal">Total: <fmt:formatNumber type="currency" value="${total}" maxFractionDigits="2" minFractionDigits="2" /> </p>
- <input name="delete" value="Delete" type="submit" onclick="confirmDeleting('${floorId}', '${place}');" style="width:70px;margin:0px 0px 10px 10px;"class="floor" />
- <input name="place" value="Add" type="submit" onclick="window.location='showProducts.do?place=${place}&floorId=${floorId}'" style="width:70px;margin:0% 0% 10px 43%;" class="floor" />
+ <p class="total" id="atotal"><bean:message key="total" /> <fmt:formatNumber type="currency" value="${total}" maxFractionDigits="2" minFractionDigits="2" /> </p>
+ <input name="delete" value="<bean:message key="button.delete" />" type="submit" onclick="confirmDeleting('${floorId}', '${place}');" style="width:70px;margin:0px 0px 10px 10px;"class="floor" />
+ <input name="place" value="<bean:message key="button.add" />" type="submit" onclick="window.location='showProducts.do?place=${place}&floorId=${floorId}'" style="width:70px;margin:0% 0% 10px 43%;" class="floor" />
</span>
Index: web/jsp/showProducts.jsp
--- web/jsp/showProducts.jsp Base (BASE)
+++ web/jsp/showProducts.jsp Locally Modified (Based On LOCAL)
@@ -96,7 +95,7 @@
<td class="name">${product.name}</td>
<td class="normal"><fmt:formatNumber type="currency" value="${product.priceSell + product.priceSell * rates[nr.count - 1]}" maxFractionDigits="2" minFractionDigits="2"/></td>
<td class="normal"></td>
- <td><input value="Add" type="submit" class="floor" onclick="ajaxAddProduct('<%=request.getSession().getAttribute("place")%>', ${nr.count - 1}, '${product.name}', '${product.id}', 0);"/></td>
+ <td><input value="<bean:message key="button.add" />" type="submit" class="floor" onclick="ajaxAddProduct('<%=request.getSession().getAttribute("place")%>', ${nr.count - 1}, '${product.name}', '${product.id}', 0);"/></td>
</div>
</tr>
<tr>
|