Author: jleroux
Date: Wed Sep 16 13:27:05 2009
New Revision: 815770
URL: http://svn.apache.org/viewvc?rev=815770&view=rev
Log:
Some typos fix, after Scott's remarks on dev ML
Modified:
ofbiz/trunk/framework/common/config/CommonUiLabels.xml
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/WidgetWorker.java
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
Modified: ofbiz/trunk/framework/common/config/CommonUiLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/config/CommonUiLabels.xml?rev=815770&r1=815769&r2=815770&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/config/CommonUiLabels.xml (original)
+++ ofbiz/trunk/framework/common/config/CommonUiLabels.xml Wed Sep 16 13:27:05
2009
@@ -1404,46 +1404,16 @@
<value xml:lang="zh">é
ç½®ï¼</value>
</property>
<property key="CommonConfirm">
- <value xml:lang="ar">تأÙÙØ¯</value>
- <value xml:lang="de">Bestätigen</value>
- <value xml:lang="en">Confirm</value>
- <value xml:lang="es">Confirmar</value>
+ <value xml:lang="en">Do you confirm ?</value>
<value xml:lang="fr">Vous confirmez ?</value>
- <value xml:lang="hi_IN">पà¥à¤·à¥à¤à¤¿</value>
- <value xml:lang="it">Conferma</value>
- <value xml:lang="pt">Confirmar</value>
- <value xml:lang="ro">Confirma</value>
- <value xml:lang="ru">ÐодÑвеÑдиÑÑ</value>
- <value xml:lang="th">ยืà¸à¸¢à¸±à¸</value>
- <value xml:lang="zh">确认</value>
</property>
<property key="CommonConfirmAdd">
- <value xml:lang="ar">تأÙÙØ¯</value>
- <value xml:lang="de">Bestätigen</value>
- <value xml:lang="en">Confirm</value>
- <value xml:lang="es">Confirmar</value>
+ <value xml:lang="en">Do you confirm the addition?</value>
<value xml:lang="fr">Confirmez-vous l'ajout ?</value>
- <value xml:lang="hi_IN">पà¥à¤·à¥à¤à¤¿</value>
- <value xml:lang="it">Conferma</value>
- <value xml:lang="pt">Confirmar</value>
- <value xml:lang="ro">Confirma</value>
- <value xml:lang="ru">ÐодÑвеÑдиÑÑ</value>
- <value xml:lang="th">ยืà¸à¸¢à¸±à¸</value>
- <value xml:lang="zh">确认</value>
</property>
<property key="CommonConfirmDelete">
- <value xml:lang="ar">تأÙÙØ¯</value>
- <value xml:lang="de">Bestätigen</value>
- <value xml:lang="en">Confirm Delete</value>
- <value xml:lang="es">Confirmar</value>
+ <value xml:lang="en">Do you confirm the suppression?</value>
<value xml:lang="fr">Confirmez-vous la suppression ?</value>
- <value xml:lang="hi_IN">पà¥à¤·à¥à¤à¤¿</value>
- <value xml:lang="it">Conferma</value>
- <value xml:lang="pt">Confirmar</value>
- <value xml:lang="ro">Confirma</value>
- <value xml:lang="ru">ÐодÑвеÑдиÑÑ</value>
- <value xml:lang="th">ยืà¸à¸¢à¸±à¸</value>
- <value xml:lang="zh">确认</value>
</property>
<property key="CommonConfirmAdd">
<value xml:lang="ar">êÃÂ£ÃÆÃŠï</value>
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/WidgetWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/WidgetWorker.java?rev=815770&r1=815769&r2=815770&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/WidgetWorker.java
(original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/WidgetWorker.java Wed Sep
16 13:27:05 2009
@@ -176,7 +176,7 @@
writer.append('"');
}
if (UtilValidate.isNotEmpty(confirmation)){
- writer.append(" onClick=\"return confirm('");
+ writer.append(" onclick=\"return confirm('");
writer.append(confirmation);
writer.append("')\"");
}
@@ -216,7 +216,7 @@
}
if (UtilValidate.isNotEmpty(confirmation)){
- writer.append(" onClick=\"return confirm('");
+ writer.append(" onclick=\"return confirm('");
writer.append(confirmation);
writer.append("')\"");
}
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java?rev=815770&r1=815769&r2=815770&view=diff
==============================================================================
---
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
(original)
+++
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
Wed Sep 16 13:27:05 2009
@@ -1046,7 +1046,7 @@
appendClassNames(writer, context, modelFormField);
if (UtilValidate.isNotEmpty(confirmation)) {
- writer.append("onClick=\" return confirm('");
+ writer.append("onclick=\" return confirm('");
writer.append(confirmation);
writer.append("); \" ");
}
@@ -1089,7 +1089,7 @@
}
if (UtilValidate.isNotEmpty(confirmation)) {
- writer.append("onClick=\" return confirm('");
+ writer.append("onclick=\" return confirm('");
writer.append(confirmation);
writer.append("); \" ");
}