to get the correct "jquery.ui.datepicker-xx-XX.js"
--------------------------------------------------

                 Key: OFBIZ-4377
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4377
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Leon
            Priority: Minor
             Fix For: SVN trunk
         Attachments: JsLanguageFileMapping.patch

It uses "locale" (e.g. zh_TW) to form the jquery.ui.datepicker file name in 
method JsLanguageFileMappingCreator.createJsLanguageFileMapping, but jquery 
uses dash ("-") instead of underscore ("_") to concat the language code and 
country code, such as zh-TW vs. zh_TW.

A very trivial update to JsLanguageFileMappingCreator.java, and after that, 
update the JsLanguageFileMapping.java file by running service 
"createJsLanguageFileMapping". In attached, contains both of patches to these 
two files.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to