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 Reporter: Tim Donohue Fix For: 3.0 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: https://jira.duraspace.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel