click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <j...@apache.org>
Subject [jira] Created: (CLK-650) Load DateField translations from JDK
Date Tue, 06 Apr 2010 10:39:33 GMT
Load DateField translations from JDK
------------------------------------

                 Key: CLK-650
                 URL: https://issues.apache.org/jira/browse/CLK-650
             Project: Click
          Issue Type: Improvement
          Components: extras
    Affects Versions: 2.2.0
            Reporter: Bob Schellink
            Priority: Minor
         Attachments: datefield.patch

Before we all go ahead and submit translations for month and day names (and abbreviations),
I think it would make more sense for DateField to generate these names from here:

http://java.sun.com/j2se/1.4.2/docs/api/java/text/DateFormatSymbols.html#getMonths%28%29
http://java.sun.com/j2se/1.4.2/docs/api/java/text/DateFormatSymbols.html#getShortMonths%28%29
http://java.sun.com/j2se/1.4.2/docs/api/java/text/DateFormatSymbols.html#getWeekdays%28%29
http://java.sun.com/j2se/1.4.2/docs/api/java/text/DateFormatSymbols.html#getShortWeekdays%28%29

By creating the arrays from java's names we will AFAIK also instantly "support" all language
so that DateField.SUPPORTTED_LANGUAGES can be removed.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message