Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1737

LocaleSymbols* at LocaleElements*.js files are empty in 1.0.12 release

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.0.12-core
    • 1.0.13-core
    • None
    • None

    Description

      Locale*.js files are not getting filled properly for any locale. For example, the file at http://localhost:8080/trinidad-demo/adf/jsLibs/resources/LocaleElements_en1_0_11.js?loc=en

      Looks in 1.0.12 as:

      var LocaleSymbols_en = new LocaleSymbols({

      });

      TrMessageFactory._TRANSLATIONS={
      'org.apache.myfaces.trinidad.validator.DoubleRangeValidator.NOT_IN_RANGE_detail':'The number must be between

      {2} and {3}.',

      ...
      }


      And it should be (as in 1.0.11):

      var LocaleSymbols_en = new LocaleSymbols({
      MonthNames:["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""],

      MonthAbbreviations:["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""],

      DayNames:["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],

      DayAbbreviations:["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
      AmPmMarkers:["AM", "PM"],

      Eras:["BC", "AD"],
      DateTimePatterns:["h:mm:ss a z", "h:mm:ss a z", "h:mm:ss a", "h:mm a", "EEEE, MMMM d, yyyy", "MMMM d, yyyy", "MMM d, yyyy", "M/d/yy", "{1} {0}"],

      DateTimeElements:["1", "1"],
      NumberElements:".", ",", ";", "%", "0", "#", "-", "E", "\u2030", "\u221e", "\ufffd",

      CurrencyElements:["\xa4", "XXX", "\xa4", "", "-\xa4", ""]
      });


      TrMessageFactory._TRANSLATIONS={
      'org.apache.myfaces.trinidad.validator.DoubleRangeValidator.NOT_IN_RANGE_detail':'The number must be between {2}

      and

      {3}

      .',
      ...
      }

      Attachments

        Issue Links

          Activity

            People

              matzew Matthias Wessendorf
              rperez Rafael PĂ©rez
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: