Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-2074

Locale specific message doesn't appear to fragments that produced by CommentAuthenticators

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.1.2
    • 5.2.0
    • Comments
    • None

    Description

      Currently CommentAuthenticators (MathCommentAuthenticator and LdapCommentAuthenticator) gets ApplicationResources via following way:

      ResourceBundle.getBundle("ApplicationResources");
      

      This always give a fixed instance of ApplicationResources. I think they should get ApplicationResources via following way instead:

      ResourceBundle.getBundle("ApplicationResources", request.getLocale());
      

      Attachments

        1. ROL-2074.patch
          2 kB
          Kohei Nozaki
        2. ROL-2074-I18nMessages.patch
          4 kB
          Kohei Nozaki

        Activity

          People

            roller_unassigned Roller Unassigned
            xkylex Kohei Nozaki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: