incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Metske (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JSPWIKI-779) Refactor TemplateManager#listLanguages(PageContext pageContext)
Date Wed, 05 Jun 2013 19:24:19 GMT

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

Harry Metske resolved JSPWIKI-779.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.10
         Assignee: Harry Metske  (was: Glen Mazza)

fixed in 2.10.0-svn-5
                
> Refactor TemplateManager#listLanguages(PageContext pageContext)
> ---------------------------------------------------------------
>
>                 Key: JSPWIKI-779
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-779
>             Project: JSPWiki
>          Issue Type: Improvement
>    Affects Versions: 2.10
>            Reporter: Juan Pablo Santos Rodríguez
>            Assignee: Harry Metske
>            Priority: Minor
>             Fix For: 2.10
>
>         Attachments: JSPWIKI-799.patch
>
>
> Currently TemplateManager#listLanguages(PageContext pageContext) searches classpath for
files matching templates/default_??.properties, ?? standing for a locale code (en, es, pt_BR,
etc.).
> This has an unfortunate side-effect: the templates/default.properties must be copied
to templates/default_en.properties on build time so english language is properly detected.
> Refactoring TemplateManager#listLanguages(PageContext pageContext) so it matches templates/default.propertie
to english locale will allow us to drop the maven-antrun-plugin execution on jspwiki-war module.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message