Changeset 36365


Ignore:
Timestamp:
2022-08-09T13:57:20+12:00 (4 months ago)
Author:
anupama
Message:

Following Kathy's advice to use displayItem elements with keys when they belong, not in the list of toplevel displayItems, but under elements like index with attribute like name=section:text.

Location:
documented-examples/trunk/dls-e
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • documented-examples/trunk/dls-e/etc/collectionConfig.xml

    r36290 r36365  
    3232        <displayItem assigned="true" dictionary="collectionConfig" key="description20" name="description20"/>
    3333        <displayItem assigned="true" dictionary="collectionConfig" key="description21" name="description21"/>
    34         <displayItem assigned="true" dictionary="collectionConfig" key=".section_Title" name=".section_Title"/>
    35         <displayItem assigned="true" dictionary="collectionConfig" key=".section_text" name=".section_text"/>
    36         <displayItem assigned="true" dictionary="collectionConfig" key=".document_text" name=".document_text"/>
    37         <displayItem assigned="true" dictionary="collectionConfig" key=".document" name=".document"/>
    3834    </displayItemList>
    3935    <format/>
    4036    <search type="mg">
    41         <index name="section:text">
    42             <displayItem lang="es" name="name">section:text</displayItem>
    43             <displayItem lang="fr" name="name">section:text</displayItem>
    44             <displayItem lang="ru" name="name">section:text</displayItem>
    45             <displayItem lang="en" name="name">section:text</displayItem>
    46             <displayItem lang="zh" name="name">section:text</displayItem>
     37            <index name="section:text">
     38              <displayItem assigned="true" dictionary="collectionConfig" key="section_text" name="name"/>
    4739        </index>
    4840        <index name="section:Title">
    49             <displayItem lang="es" name="name">section:Title</displayItem>
    50             <displayItem lang="fr" name="name">section:Title</displayItem>
    51             <displayItem lang="ru" name="name">section:Title</displayItem>
    52             <displayItem lang="en" name="name">section:Title</displayItem>
    53             <displayItem lang="zh" name="name">section:Title</displayItem>
     41          <displayItem assigned="true" dictionary="collectionConfig" key="section_Title" name="name"/>
    5442        </index>
    5543        <index name="document:text">
    56             <displayItem lang="es" name="name">document:text</displayItem>
    57             <displayItem lang="fr" name="name">document:text</displayItem>
    58             <displayItem lang="ru" name="name">document:text</displayItem>
    59             <displayItem lang="en" name="name">document:text</displayItem>
    60             <displayItem lang="zh" name="name">document:text</displayItem>
     44          <displayItem assigned="true" dictionary="collectionConfig" key="document_text" name="name"/> 
    6145        </index>
    6246        <defaultIndex name="section:text"/>
     
    275259    <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description20"/>
    276260    <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description21"/>
    277     <displayItem assigned="true" dictionary="collectionConfig" key=".section:Title" name=".section:Title"/>
    278     <displayItem assigned="true" dictionary="collectionConfig" key=".section:text" name=".section:text"/>
    279     <displayItem assigned="true" dictionary="collectionConfig" key=".document:text" name=".document:text"/>
    280     <displayItem assigned="true" dictionary="collectionConfig" key=".document" name=".document"/>
     261    <displayItem assigned="true" dictionary="collectionConfig" key="section_Title" name="section_Title"/>
     262    <displayItem assigned="true" dictionary="collectionConfig" key="section_text" name="section_text"/>
     263    <displayItem assigned="true" dictionary="collectionConfig" key="document_text" name="document_text"/>
     264    <displayItem assigned="true" dictionary="collectionConfig" key="document" name="document"/>
    281265</CollectionConfig>
  • documented-examples/trunk/dls-e/resources/collectionConfig.properties

    r36290 r36365  
    11name=Development Library Subset collection
    2 .section_Title=section titles
    3 .section_text=chapters
    4 .document_text=entire documents
    5 .document=_textdocument_
     2section_Title=section titles
     3section_text=chapters
     4document_text=entire documents
     5document=_textdocument_
    66       
    77shortDescription=<p>The Humanitarian Development Libraries represent a large collection of practical information aimed at helping reduce poverty, increasing human potential, and providing a practical and useful education for all. This subset contains about 25 publications--documents, reports, and periodical articles--in various areas of human development, from agricultural practice to economic policies, from water and sanitation to society and culture, from education to manufacturing, from disaster mitigation to micro-enterprises.</p>
  • documented-examples/trunk/dls-e/resources/collectionConfig_es.properties

    r36290 r36365  
    11name=Subconjunto de la Biblioteca para el Desarrollo
    2 .section_Title=títulos de las secciones
    3 .section_text=capítulos
    4 .document_text=documentos completos
     2section_Title=títulos de las secciones
     3section_text=capítulos
     4document_text=documentos completos
    55
    66shortDescription=<p>Las Bibliotecas sobre Desarrollo Humanitario representan una extensa colección de información práctica cuyo propósito es ayudar a reducir la pobreza, acrecentar el potencial humano y proveer una educación práctica y útil para todos. Este subconjunto comprende unas 25 publicaciones - documentos, informes técnicos y artículos de publicaciones periódicas - en varias áreas del desarrollo humano, desde prácticas agrícolas a políticas económicas, desde agua y saneamiento a sociedad y cultura, desde educación a manufactura, desde mitigación de desastres a microemprendimientos.</p>
  • documented-examples/trunk/dls-e/resources/collectionConfig_fr.properties

    r36290 r36365  
    11name=Sous-ensemble de la collection BibliothÚque de Développement
    2 .section_Title=titres des sections
    3 .section_text=chapitres
    4 .document_text=documents entiers
     2section_Title=titres des sections
     3section_text=chapitres
     4document_text=documents entiers
    55       
    66shortDescription=<p>Les BibliothÚques humanitaires pour le Développement constituent une collection importante dont les objectifs sont d'aider à réduire la pauvreté, de promouvoir l'accroissement du potentiel humain, et d'offrir une éducation pratique et utile à tous. Cette collection contient environ 25 publications -- documents, rapports, et articles de périodiques -- qui traitent de différents sujets liés au développement humain. On y trouve des informations concernant les pratiques agricoles aussi bien que les politiques économiques; les mesures d'hygiÚne pour l'eau et la société et la culture; l'éducation et la petite industrie; la prévention des désastres et les micro-entreprises.</p>
  • documented-examples/trunk/dls-e/resources/collectionConfig_zh.properties

    r36290 r36365  
    11name=发展囟乊銆子銆藏
    2 .section_Title=节标题
    3 .section_text=ç« 
    4 .document_text=敎䞪文档
     2section_Title=节标题
     3section_text=ç« 
     4document_text=敎䞪文档
    55
    66       
Note: See TracChangeset for help on using the changeset viewer.