roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kohei Nozaki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ROL-2074) Locale specific message doesn't appear to fragments that produced by CommentAuthenticators
Date Fri, 01 May 2015 23:29:09 GMT

    [ https://issues.apache.org/jira/browse/ROL-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14524288#comment-14524288
] 

Kohei Nozaki commented on ROL-2074:
-----------------------------------

Just found ROL-1377 and it's better to be fixed with the way which described in ROL-1377...

> Locale specific message doesn't appear to fragments that produced by CommentAuthenticators
> ------------------------------------------------------------------------------------------
>
>                 Key: ROL-2074
>                 URL: https://issues.apache.org/jira/browse/ROL-2074
>             Project: Apache Roller
>          Issue Type: Bug
>          Components: User Interface - General
>    Affects Versions: 5.1.2
>            Reporter: Kohei Nozaki
>            Assignee: Roller Unassigned
>            Priority: Minor
>         Attachments: ROL-2074-I18nMessages.patch, ROL-2074.patch
>
>
> Currently CommentAuthenticators (MathCommentAuthenticator and LdapCommentAuthenticator)
gets ApplicationResources via following way:
> {noformat}
> ResourceBundle.getBundle("ApplicationResources");
> {noformat}
> This always give a fixed instance of ApplicationResources. I think they should get ApplicationResources
via following way instead:
> {noformat}
> ResourceBundle.getBundle("ApplicationResources", request.getLocale());
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message