You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sascha Rodekamp (JIRA)" <ji...@apache.org> on 2011/08/29 10:31:37 UTC

[jira] [Assigned] (OFBIZ-4377) to get the correct "jquery.ui.datepicker-xx-XX.js"

     [ https://issues.apache.org/jira/browse/OFBIZ-4377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sascha Rodekamp reassigned OFBIZ-4377:
--------------------------------------

    Assignee: Sascha Rodekamp

> 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
>            Assignee: Sascha Rodekamp
>            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