From 2d2e190856028d077032bb225d089dc3bae109a4 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Thu, 27 Jun 2013 14:32:10 +0000 Subject: [PATCH] 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- framework/common/config/CommonUiLabels.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/common/config/CommonUiLabels.xml b/framework/common/config/CommonUiLabels.xml index e63f0c08dd..7770eea4ec 100644 --- a/framework/common/config/CommonUiLabels.xml +++ b/framework/common/config/CommonUiLabels.xml @@ -6741,6 +6741,7 @@ 沒有找到記錄 + Kein exitierendes Bundesland: _NA_ No States/Provinces exist: _NA_ No existen provincias: _NA_ @@ -6749,7 +6750,7 @@ Nenhum estados/municípios existem: _NA_ Не сущестивует ни штата, ни провинции: _NA_ Không Tỉnh/Thành nào tồn tại : _NA - 没有省:_NA_ + 没有省: _NA_ Es existiert kein Bundesland