click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Schmidt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLK-624) Add missing translations for Date Field
Date Wed, 03 Mar 2010 11:42:27 GMT

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

Joseph Schmidt commented on CLK-624:
------------------------------------

> This patch injects javascript ....
> So the list of supported languages are then no longer needed. 
I like this automated translation allot :).
Is it possible that the JDK has more translated texts that could be used too?

> Add missing translations for Date Field
> ---------------------------------------
>
>                 Key: CLK-624
>                 URL: https://issues.apache.org/jira/browse/CLK-624
>             Project: Click
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 2.1.0
>         Environment: Apache Tomcat 6
>            Reporter: Rafal Rusin
>            Assignee: Bob Schellink
>             Fix For: 2.2.0
>
>         Attachments: CLK-624-calendar-1.0.2.patch, CLK-624.patch, datefield.patch
>
>
> Below is the full list of translations necessary for the DateField control. If you would
like to add a translation please add it as a patch or in a comment.
>   // Full month names
>   Date.months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
>   // Month abbreviations
>   Date.monthAbbreviations = new Array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');
>   // Full day names
>   Date.dayNames = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
>   // Day abbreviations
>   Date.dayAbbreviations = new Array('Sun','Mon','Tue','Wed','Thu','Fri','Sat');
>   // Weekdays displayed by popup calendar
>   Date.weekdays = new Array('S','M','T','W','T','F','S');
>   Date.first_day_of_week = 0;
>   _translations = {
>     "OK": "OK",
>     "Now": "Now",
>     "Today": "Today",
>     "Clear": "Clear"
>   }

-- 
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