Flawed login.loginhelpmissing text in en, de, nl locales
--------------------------------------------------------

                 Key: JSPWIKI-193
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-193
             Project: JSPWiki
          Issue Type: Bug
          Components: Default template
    Affects Versions: 2.6.1
            Reporter: Sergio Gelato
            Priority: Trivial


In the en and nl locales, the value of this property contains references to {0} 
even in places where these are not appropriate. In particular, since 
templates/default/LoginContent.jsp provides a <wiki:EditLink> element as the 
value to be substituted, problems arise when this is inserted into the URL (<a 
href="http://www.jspwiki.org/Wiki.jsp?page={0}";>). And since this is a 
reference to a known page on www.jspwiki.org, not on the current JSPWiki 
instance, the substitution is inappropriate anyway.

Following the example of comment.edithelpmissing, I recommend changing the 
property value to:

login.loginhelpmissing=Ho hum, it seems that the {0} page is missing.  \
    Someone must&#8217;ve done something to the installation...\
    <br /><br />\
    You can copy the text from the \
    <a href="http://www.jspwiki.org/Wiki.jsp?page=LoginHelp";>LoginHelp page \
    on jspwiki.org</a>.

login.loginhelpmissing=Ho hum, blijkbaar ontbreekt de {0} pagina.  \
    Iemand heeft de installatie gewijzigd...\
    <br /><br />\
    Hier is een copy van de  \
    <a href="http://www.jspwiki.org/Wiki.jsp?page=LoginHelp";>LoginHelp pagina \
    op jspwiki.org</a>.

(In the latter, I also replaced one untranslated instance of "page" with 
"pagina".)

The corresponding text in the de locale suffers from a different problem: 
someone forgot to replace "EditPageHelp" with "LoginHelp".


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to