jleroux: some changes I spotted in Nick Ho's patch which sounded sound to me. Some groups of label internal ending white spaces would have been caught by HTML rendering, but anyway better like that.
I also fixed a number of wrong line returns. And found duplicates zh labels entries that I will report to Nick Ho to fix. And finally fixed some errors introduced by Nick Ho I spotted, I hope there are not too much left :/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625893 13f79535-47bb-0310-9956-ffa450edef68
added/revised zh-TW translations in the framework, applications and specialpurpose folders to have consistent, commonly-used meaningful terms in Traditional Chinese.
jleroux: from Nick Ho's patch I have extracted only the Chinese changes, w/o the proposed dash to underscore changes
This contains notably this 14 "zh" (not "sh-TW") changes:
<value xml:lang="zh">人将由电子邮件接受一个临时密码。</value><!-- was 客户将通过电子邮件收到一个临时密码。 -->
<value xml:lang="zh">合计属于公司: </value>
<value xml:lang="zh"> 完整文本:${fullText}</value>
<value xml:lang="zh">供货商佣金百分比</value>
<value xml:lang="zh">文本大小</value>
<value xml:lang="zh">值</value>
<value xml:lang="zh">算子</value>
<value xml:lang="zh">不能转移已序列化的库存。</value>
<value xml:lang="zh">货运收据</value>
<value xml:lang="zh">获取标识为 ${productStoreShipMethId} 的产品店铺送货方法(ProductStoreShipmentMeth)时出错:${errorString}</value>
<value xml:lang="zh">中国人民币元</value>
<value xml:lang="zh">如果选择"specify other",下拉框旁边会出现文本框。参考form的drop-down元素的other-field-size属性说明</value>
<value xml:lang="zh">文本消息</value>
<value xml:lang="zh">能够收到和解析XML消息,但是BSR->NOUN(买卖关系->名词) ${bsrNoun} 和/或 BSR->VERB(买卖关系->动词) ${bsrVerb} 是空的</value>
I have no competency to judge these changes, but from previous Shi Jinghai's feedback I believe there are OK
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625816 13f79535-47bb-0310-9956-ffa450edef68
When you replace the Freemarker if_exists built-in with the ! operator, when the ! is followed by a + you need to evaluate the expression conditioned by the ! 1st. Else the following chars are used as default value. In other words, you need to put parenthesis around the expression including the ! operator
I tested with tomahawk/includes/appbarClose.ftl and header.ftl files of bluelight and droppingcrumbs themes
I then applied the same scheme on catalog/categorydetail.ftl, party/editShoppingList.ftl, ebaystore/store/returnPolicy.ftl and party/findparty.ftl w/o testing. I guess it's ok
I did not find the same scheme elsewhere
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624876 13f79535-47bb-0310-9956-ffa450edef68
UtilJ2eeCompat was used to figure out, by checking the servlet container implementation, if the response should be sent using a Writer or a OutputStream; a Writer was used for Tomcat, Websphere, Jetty, Orion, Jrun, Tradecity and an OutputStream was used for all the other servlet containers.
However accordingly to the Servlet api:
ServletResponse.getWriter():
Returns a PrintWriter object that can send character text to the client.
ServletResponse.getOutputStream():
Returns a ServletOutputStream suitable for writing binary data in the response.
Based on this getWriter() should always be used (for html pages) in all the containers, not just Tomcat, Websphere, Jetty, Orion, Jrun, Tradecity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622976 13f79535-47bb-0310-9956-ffa450edef68
In the screen Product Config, when you want to add a componant to your config option, the label is wrong because it show : Add Configurations and not Add a component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622672 13f79535-47bb-0310-9956-ffa450edef68
What I did (jleroux):
1. I used <value xml:lang="zh_TW">阿富汗尼</value>
2. I used <value xml:lang="zh_TW">內容管理系統站台</value>
3. I did not change
4. I did not change
5. I used <value xml:lang="zh_TW">此</value>, noticed that: <value xml:lang="zh"> </value>
6. I did not change
7. I used <value xml:lang="zh_TW">度量單位</value> (several places)
8. I did not change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622124 13f79535-47bb-0310-9956-ffa450edef68
Forgot password functionality (LoginEvents.emailPassword) is not honoring the 'password.lowercase' property of 'security.properties'. And thus customer is not able to Login on e-commerce site with new generated password.
Test Case:
1. Set property 'password.lowercase' as true in 'security.properties'.
2. Request a forgot password and customer get the new password as 'a0e7J'
3. Customer is not able to login on e-commerce site.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622050 13f79535-47bb-0310-9956-ffa450edef68
I converted CRUD service to entity-auto for :
ProductStoreCatalog
ProductStorePaymentSetting
ProductStoreEmail
ProductStoreVendorPayment
ProductStoreShipMeth
ProductStoreRole
ProductStoreKeywordOvrd
ProductStoreSurveyAppl
ProductStoreFinActSetting
ProductStoreVendorShipment
I keep to service in mini lang ProductStore.
I add a new permission service on product store with the same template of produt and productCategory for more homogeneity.
I run manual test create/update/delete from product store screen with success and I run ./ant clean-all load-demo run-tests without error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621937 13f79535-47bb-0310-9956-ffa450edef68
I converted CRUD service to entity-auto for :
CostComponent
Subscription (only update)
SubscriptionResource
SubscriptionCommEvent
I ran manual test create/update/delete from product and subscription screen with success and ./ant clean-all load-demo run-tests without error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621699 13f79535-47bb-0310-9956-ffa450edef68
==============================================================
Please do not use the <calculate> element. Mini-language supports UEL:
<set field="totalsMap[receipt.returnItemSeqId]" from="receipt.quantityAccepted + receipt.quantityRejected />
Also, the <set> element "from-field" attribute has been deprecated, use "from".
Mini-language has an updated schema, it would be best if you configured your XML editor to use it.
==============================================================
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618569 13f79535-47bb-0310-9956-ffa450edef68
Thanks Christian Carlow for reporting the issue and thanks to ofbiz.us team for providing patch for the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618406 13f79535-47bb-0310-9956-ffa450edef68
Thanks Rene Scheibe for reporting the issue and providing the fix for the same. Thanks ofbiz.us team for the verification.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618399 13f79535-47bb-0310-9956-ffa450edef68