[ 
https://jira.duraspace.org/browse/DS-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Masár updated DS-1159:
---------------------------

    Affects Version/s: 3.1
        Fix Version/s: 3.2
    
> Hardcoded button display text in several XMLUI themes (Reference, Mirage, 
> etc) makes i18n difficult
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DS-1159
>                 URL: https://jira.duraspace.org/browse/DS-1159
>             Project: DSpace
>          Issue Type: Bug
>          Components: XMLUI
>    Affects Versions: 1.8.2, 3.1
>            Reporter: Tim Donohue
>             Fix For: 3.2
>
>
> This was initially reported by Christian Völker on the dspace-tech listserv.
> There are several XMLUI themes that have hardcoded button "values" (display 
> text) which cannot be easily translated via i18n.
> These include:
> * dri2xhtml: themes/dri2xhtml/structural.xsl  (Several "Add" and "Remove 
> selected" buttons hardcoded)
> * dri2xhtml-alt: themes/dri2xhtml-alt/core/forms.xsl  (Several "Add" and 
> "Remove selected" buttons hardcoded)
> * Mirage: themes/Mirage/lib/xsl/core/forms.xsl (Several "Add" and "Remove 
> selected" buttons hardcoded)
> In each of these themes, there are lines like:
> <input type="submit" value="Add" .. >
> Instead, they should use i18n, similar to:
> <input type="submit" i18n:attr="value" value="xmlui.general.addbutton" ... >
> (As a reference, see the <xsl:template match="dri:options"> in dri2xhtml 
> structural.xsl, which shows how to use "i18n:attr" properly)

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

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to