You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Kohei Nozaki (JIRA)" <ji...@apache.org> on 2015/05/01 15:46:06 UTC

[jira] [Resolved] (ROL-2074) Locale specific message doesn't appear to fragments that produced by CommentAuthenticators

     [ https://issues.apache.org/jira/browse/ROL-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kohei Nozaki resolved ROL-2074.
-------------------------------
    Resolution: Fixed

Committed with I18nMessages way.

Sending        app/src/main/java/org/apache/roller/weblogger/ui/rendering/plugins/comments/LdapCommentAuthenticator.java
Sending        app/src/main/java/org/apache/roller/weblogger/ui/rendering/plugins/comments/MathCommentAuthenticator.java
Transmitting file data ..
Committed revision 1677139.


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