click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Finn Bock (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLK-650) Load DateField translations from JDK
Date Tue, 29 Jun 2010 08:10:52 GMT

    [ https://issues.apache.org/jira/browse/CLK-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883455#action_12883455
] 

Finn Bock commented on CLK-650:
-------------------------------

The keys in DateField.properties are:

date-title. The title attribute of the input field. 
calendar-image-title.  The title attribute of the calendar image icon 
calendar-weekdays-heading.  A comma separated list of abbreviated week day names starting
with Sunday. The default value is "S,M,T,W,T,F,S". If not defined for a locale, the abbreviated
week day names from the JDK is used. The names are used as column heading in the popup. 
calendar-ok. The label on the "OK" button. 
calendar-now. The label on the "Now" button. 
calendar-today. The label on the "Today" button. 
calendar-clear. The label on the "Clear" button. 
date-format-pattern. The pattern

> 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
>            Assignee: Finn Bock
>            Priority: Minor
>             Fix For: 2.3.0-M1
>
>         Attachments: datefield.patch, datefield_no_js.patch
>
>
> From CLK-624:
> 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