Author: jleroux Date: Sat Oct 19 12:21:33 2013 New Revision: 1533744 URL: http://svn.apache.org/r1533744 Log: "Applied fix from trunk for revision: 1497376" ------------------------------------------------------------------------ r1497376 | jleroux | 2013-06-27 16:32:10 +0200 (jeu. 27 juin 2013) | 7 lignes
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/branches/release11.04/ (props changed) ofbiz/branches/release11.04/framework/common/config/CommonUiLabels.xml Propchange: ofbiz/branches/release11.04/ ------------------------------------------------------------------------------ Merged /ofbiz/trunk:r1497376 Modified: ofbiz/branches/release11.04/framework/common/config/CommonUiLabels.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release11.04/framework/common/config/CommonUiLabels.xml?rev=1533744&r1=1533743&r2=1533744&view=diff ============================================================================== --- ofbiz/branches/release11.04/framework/common/config/CommonUiLabels.xml (original) +++ ofbiz/branches/release11.04/framework/common/config/CommonUiLabels.xml Sat Oct 19 12:21:33 2013 @@ -5432,9 +5432,15 @@ <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="fr">Aucun état ou province: _NA_</value> - <value xml:lang="pt_BR">Nenhum estados/municÃpios existem: _NA_</value> + <value xml:lang="ja">é½éåºç/å·/å°æ¹ãåå¨ãã¾ãã: _é©ç¨å¤_</value> + <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> </property> <property key="CommonNoStatesProvincesExists"> <value xml:lang="en">No States/Provinces exist</value>

