You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2013/06/27 16:32:11 UTC
svn commit: r1497376 -
/ofbiz/trunk/framework/common/config/CommonUiLabels.xml
Author: jleroux
Date: Thu Jun 27 14:32:10 2013
New Revision: 1497376
URL: http://svn.apache.org/r1497376
Log:
A slightly enhanced path from Leon for "in zh locale, state does not change to "No States/Provinces exist" if select a country without any state defined" https://issues.apache.org/jira/browse/OFBIZ-5246
With "zh" (chinese) locale, coutry-state associated list, if you choose a country there's no any associated state defined in system, the state filed does not change.
cause: incorrect translate of "CommonNoStatesProvinces" for "zh" locale. In that, it use full-width colon ":" instead of half one plus blank space(": ").
why half-width and blank space (": ")? see code in "getDependentDropdownValues" function:
jleroux; I added a comment to prevent such cases in future
Modified:
ofbiz/trunk/framework/common/config/CommonUiLabels.xml
Modified: ofbiz/trunk/framework/common/config/CommonUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/config/CommonUiLabels.xml?rev=1497376&r1=1497375&r2=1497376&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/config/CommonUiLabels.xml (original)
+++ ofbiz/trunk/framework/common/config/CommonUiLabels.xml Thu Jun 27 14:32:10 2013
@@ -6741,6 +6741,7 @@
<value xml:lang="zh-TW">æ²ææ¾å°è¨é</value>
</property>
<property key="CommonNoStatesProvinces">
+ <!-- OFBIZ-5246 please use ": _NA_" at end, with a space between the colon and _NA_. getDependentDropdownValues relies on it -->
<value xml:lang="de">Kein exitierendes Bundesland: _NA_</value>
<value xml:lang="en">No States/Provinces exist: _NA_</value>
<value xml:lang="es">No existen provincias: _NA_</value>
@@ -6749,7 +6750,7 @@
<value xml:lang="pt-BR">Nenhum estados/municÃpios existem: _NA_</value>
<value xml:lang="ru">Ðе ÑÑÑеÑÑивÑÐµÑ Ð½Ð¸ ÑÑаÑа, ни пÑовинÑии: _NA_</value>
<value xml:lang="vi">Không Tá»nh/Thà nh nà o tá»n tại : _NA</value>
- <value xml:lang="zh">没æçï¼_NA_</value>
+ <value xml:lang="zh">没æçï¼ _NA_</value>
</property>
<property key="CommonNoStatesProvincesExists">
<value xml:lang="de">Es existiert kein Bundesland</value>