You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Naofumi Fukue (JIRA)" <ji...@apache.org> on 2012/12/11 14:25:21 UTC

[jira] [Created] (OFBIZ-5097) jquery language mapping fix for japanese

Naofumi Fukue created OFBIZ-5097:
------------------------------------

             Summary: jquery language mapping fix for japanese
                 Key: OFBIZ-5097
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5097
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Naofumi Fukue
            Priority: Minor


jQuery language mapping is not collect for japanese (datepicker). So date format is wrong in japanese.

Index: framework/common/src/org/ofbiz/common/JsLanguageFilesMapping.java
===================================================================
--- framework/common/src/org/ofbiz/common/JsLanguageFilesMapping.java	(revision 1419381)
+++ framework/common/src/org/ofbiz/common/JsLanguageFilesMapping.java	(working copy)
@@ -120,9 +120,9 @@
             localeFiles.put("it", "/images/jquery/plugins/datejs/date-it-IT.js");
             localeFiles.put("it_IT", "/images/jquery/plugins/datejs/date-it-IT.js");
             localeFiles.put("it_CH", "/images/jquery/plugins/datejs/date-it-CH.js");
-            localeFiles.put("ja", "/images/jquery/plugins/datejs/date-en-US.js");
+            localeFiles.put("ja", "/images/jquery/plugins/datejs/date-ja-JP.js");
             localeFiles.put("ja_JP", "/images/jquery/plugins/datejs/date-ja-JP.js");
-            localeFiles.put("ja_JP_JP", "/images/jquery/plugins/datejs/date-en-US.js");
+            localeFiles.put("ja_JP_JP", "/images/jquery/plugins/datejs/date-ja-JP.js");
             localeFiles.put("ko", "/images/jquery/plugins/datejs/date-en-US.js");
             localeFiles.put("ko_KR", "/images/jquery/plugins/datejs/date-ko-KR.js");
             localeFiles.put("lv", "/images/jquery/plugins/datejs/date-lv-LV.js");



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira