More precisely, the problem is this. The messages.xml file that ends up in

    /webapps/xmlui/WEB-INF/classes/aspects/Discovery/i18n/messages.xml

has several locations in which relevant text appears (suffix of 1, 2, 3, 4
appended here to distinguish them).

For example:
    <message key="xmlui.ArtifactBrowser.AdvancedSearch.type_dc.date.issued">
*Date Issued 1*</message>
    <message key="xmlui.ArtifactBrowser.AdvancedSearch.type_dateIssued">*Date
Issued 2*</message>
    <message key="xmlui.ArtifactBrowser.SimpleSearch.filter.dateIssued">*Date
Issued 3*</message>
    <message
key="xmlui.ArtifactBrowser.SimpleSearch.filter.dateIssued.year">*Date
Issued 4*</message>

However, when the drop-down is initially populated, text does not appear to
come from any of these. Instead -- using this example -- it reads only
"Date Issued"  However, if I then add a filter, the drop-down entries now
include "Date Issued 3";  i.e., the text from the key
SimpleSearch.filter.dateIssued.

Which leads to the question, what is the source of the *initial* entries in
the drop-down?

On Thu, Jan 17, 2013 at 12:38 PM, Charles Kinney <[email protected]>wrote:

> A small thing:  how do I customize the labels displayed in the drop-down
> list in Advanced Search?  The search indexes themselves are OK; I would
> like to change at least "Subject" in the current list of: Title, Author,
> Subject, Date issued.
>
> Thanks.
>
> *Environment:*
> OS:        Mac OS X 10.7.5 (Lion)
> DSpace:    3.0
> Interface: XMLUI Mirage (Discovery enabled)
>
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to