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
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497376 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user