Click
  1. Click
  2. CLK-624

Add missing translations for Date Field

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: examples
    • Labels:
      None
    • Environment:
      Apache Tomcat 6

      Description

      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" }
      1. CLK-624.patch
        1 kB
        Rafal Rusin
      2. CLK-624-calendar-1.0.2.patch
        2 kB
        Rafal Rusin
      3. datefield.patch
        4 kB
        Finn Bock

        Activity

        Rafal Rusin created issue -
        Rafal Rusin made changes -
        Field Original Value New Value
        Attachment CLK-624.patch [ 12435783 ]
        Rafal Rusin made changes -
        Attachment CLK-624-calendar-1.0.2.patch [ 12435784 ]
        Bob Schellink made changes -
        Summary Missing translations for Date Field, eg. no polish one Add missing translations for Date Field
        Assignee Bob Schellink [ sabob ]
        Fix Version/s 2.2.0 [ 12314164 ]
        Bob Schellink made changes -
        Affects Version/s 2.2.0 [ 12314164 ]
        Description In examples, http://localhost:8080/click-examples/cayenne/cayenne-form-page.htm,
        I saw problem with DateField locale, similar to one described here: http://issues.apache.org/jira/browse/CLK-60

        I mean, after clicking date value, rendered month value is in english
        (eg. FEB) . But server accepts only polish values (LUT).
        The same problem shows in online examples.
        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"
          }
        Finn Bock made changes -
        Attachment datefield.patch [ 12435956 ]
        Bob Schellink made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Bob Schellink
            Reporter:
            Rafal Rusin
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development