root/collections/documented-examples/trunk/style-e/etc/collect.cfg @ 19359

Revision 19359, 9.3 KB (checked in by anna, 11 years ago)

Spanish translations of the documented example collections. Many thanks to Diego Spano.

  • Property svn:executable set to *
Line 
1creator     greenstone@cs.waikato.ac.nz
2maintainer  greenstone@cs.waikato.ac.nz
3public      true
4
5buildtype   mgpp
6searchtypes plain,form
7
8indexes     text dls.Title,Title dls.Subject dls.Organization dls.Keyword
9
10levels  section document
11
12plugin  GreenstoneXMLPlugin
13plugin  HTMLPlugin -description_tags
14plugin  MetadataXMLPlugin
15plugin  ArchivesInfPlugin
16plugin  DirectoryPlugin
17
18classify    List -metadata dls.Title
19
20classify    Hierarchy -metadata "dls.Subject" -sort dls.Title
21
22classify    List -sort_leaf_nodes_using dls.Title -metadata dls.Organization -bookshelf_type always
23
24classify    List -metadata dls.Keyword -buttonname Howto
25
26format CL4VList "<td>[link][icon][/link]</td><td>[link][dls.Keyword][/link]"
27
28format SearchVList "<td valign=top>[link][icon][/link]</td><td>{If}{[parent(All\': \'):Title],[parent(All\': \'):Title]:}[link][Title][/link]</td>"
29
30format VList "<td valign=top>[link][icon][/link]</td><td valign=top>[highlight]{Or}{[Title],Untitled}[/highlight]{If}{[Date],<br><small><i>_textdate_[Date]</i></small>}{If}{[NumPages],<br><small><i>_textnumpages_[NumPages]</i></small>}{If}{[Source],<br><small><i>_textsource_[Source]</i></small>}</td>"
31
32format DocumentText "<h3>[Title]</h3>\\n\\n<p>[Text]"
33format DocumentImages true
34format DocumentButtons "Expand Text|Expand Contents|Highlight|Detach|Print"
35format DocumentSearchResultLinks true
36
37format HList "[link][highlight][Title][/highlight][/link]"
38
39format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>"
40
41format SearchTypes "plain,form"
42
43# -- English strings ----------------
44collectionmeta  collectionname [l=en] "Cascading Style Sheets<br/> Demo collection"
45
46collectionmeta  .text [l=en] "text"
47collectionmeta  .dls.Title,Title [l=en] "titles"
48collectionmeta  .dls.Subject [l=en] "subjects"
49collectionmeta  .dls.Organization [l=en] "organizations"
50collectionmeta  .dls.Keyword [l=en] "how to"
51
52collectionmeta  .document [l=en] "book"
53collectionmeta  .section [l=en] "chapter"
54
55collectionmeta  depositormetadata [l=en] "{\"name\":\"dls.Title\",\"label\":\"Title\",\"tooltip\":\"dls.Title: The title of this resource.\",\"type\":\"text\"}, {\"name\":\"dls.Organization\",\"label\":\"Organization\",\"tooltip\":\"dls.Organization: The organization responsible for producing this resource.\",\"type\":\"text\"}, {\"name\":\"dls.Subject\",\"label\":\"Subject\",\"tooltip\":\"dls.Subject: The subject of this resource.\",\"type\":\"text\"}, {\"name\":\"dls.Keyword\",\"label\":\"Keyword\",\"tooltip\":\"dls.Keyword: A more specific indication of what the resource can be used for.\",\"type\":\"text\"}, {\"name\":\"dls.Language\",\"label\":\"Language\",\"tooltip\":\"dls.Language: The language of this resource.\",\"type\":\"text\"}"
56
57# -- French strings ----------------
58collectionmeta  collectionname [l=fr] "Démo de feuilles de styles en cascade (CSS)"
59
60collectionmeta  .text [l=fr] "texte"
61collectionmeta  .dls.Title,Title [l=fr] "titres"
62collectionmeta  .dls.Subject [l=fr] "sujets"
63collectionmeta  .dls.Organization [l=fr] "organisations"
64collectionmeta  .dls.Keyword [l=fr] "comment faire"
65collectionmeta  .document [l=fr] "livre"
66collectionmeta  .section [l=fr] "châpitre"
67
68# -- Spanish strings ----------------
69collectionmeta  collectionname [l=es] "Colección de muestra CSS"
70
71collectionmeta  .text [l=es] "texo"
72collectionmeta  .dls.Title,Title [l=es] "títulos"
73collectionmeta  .dls.Subject [l=es] "temas"
74collectionmeta  .dls.Organization [l=es] "organizaciones"
75collectionmeta  .dls.Keyword [l=es] "cómo"
76collectionmeta  .document [l=es] "libro"
77collectionmeta  .section [l=es] "capítulo"
78
79# -- Russian strings ----------------
80collectionmeta  .text [l=ru] "текст"
81collectionmeta  .dls.Title,Title [l=ru] "загПлПвкО"
82collectionmeta  .dls.Subject [l=ru] "указателО"
83collectionmeta  .dls.Organization [l=ru] "ПргаМОзацОО"
84collectionmeta  .dls.Keyword [l=ru] "спПсПбы"
85collectionmeta  .document [l=ru] "кМОга"
86collectionmeta  .section [l=ru] "глава"
87
88# -- Arabic strings ----------------
89collectionmeta  .text [l=ar] "نص"
90collectionmeta  .dls.Title,Title [l=ar] "العناوين"
91collectionmeta  .dls.Subject [l=ar] "الموضوعات"
92collectionmeta  .dls.Organization [l=ar] "المن؞مات"
93collectionmeta  .dls.Keyword [l=ar] "إر؎اد"
94collectionmeta  .document [l=ar] "كتاؚ"
95collectionmeta  .section [l=ar] "فصل"
96
97
98# -- Brazilian Portuguese strings ----------------
99collectionmeta  .text [l=pt-br] "texto"
100collectionmeta  .dls.Title,Title [l=pt-br] "títulos"
101collectionmeta  .dls.Subject [l=pt-br] "assuntos"
102collectionmeta  .dls.Organization [l=pt-br] "organizações"
103collectionmeta  .dls.Keyword [l=pt-br] "como fazer"
104
105collectionmeta  .document [l=pt-br] "livro"
106collectionmeta  .section [l=pt-br] "capítulo"
107
108# -- Thai strings ----------------
109collectionmeta  .text [l=th] "àž‚à¹‰àž­àž„àž§àž²àž¡"
110collectionmeta  .dls.Title,Title [l=th] "àžŠàž·à¹ˆàž­à¹€àž£àž·à¹ˆàž­àž‡"
111collectionmeta  .dls.Subject [l=th] "àž«àž±àž§à¹€àž£àž·à¹ˆàž­àž‡"
112collectionmeta  .dls.Organization [l=th] "àž«àž™à¹ˆàž§àž¢àž‡àž²àž™"
113collectionmeta  .dls.Keyword [l=th] "àž§àžŽàž˜àžµà¹ƒàžŠà¹‰"
114
115collectionmeta  .document [l=th] "àž«àž™àž±àž‡àžªàž·àž­"
116collectionmeta  .section [l=th] "àžšàž—"
117
118# -- Simplified Chinese strings ----------------
119collectionmeta  .text [l=zh] "文本"
120collectionmeta  .dls.Title,Title [l=zh] "题名"
121collectionmeta  .dls.Subject [l=zh] "䞻题"
122collectionmeta  .dls.Organization [l=zh] "机构"
123collectionmeta  .dls.Keyword [l=zh] "劂䜕"
124
125collectionmeta  .document [l=zh] "乊"
126collectionmeta  .section [l=zh] "ç« "
127
128# -- English text ---------------------------
129
130collectionmeta  collectionextra [l=en] "
131This collection demonstrates Greenstone\'s use of Cascading Style Sheets (CSS)
132for visual formatting in web browsers. (Greenstone uses CSS instead of HTML
133tables since version 2.63.) On every page, you can change the
134style-sheet in effect, to modify that page\'s appearance.
135</p>
136<p>This collection contains the same material as the original Greenstone demo collection.</p>
137<p>
138An <a href=\'_httpcollection_/macros/extra.dm\'>extra.dm</a> macro file is used by the collection to provide the stylesheet switching. This redefines a few macros from the <i>Style</i> package: <b>\_cssheader\_</b>, to link to multiple stylesheets; <b>\_optnavigationbar\_</b>, to display the links to click; and <b>\_pagescriptextra\_</b>, to facilitate the switching when a link is clicked.
139</p>
140<p>If you want to download any of these stylesheets for your own collections,
141here are links to them:
142<ul>
143<li><a href=\'_httpimages_/style.css\'>Default Greenstone Style</a></li>
144<li><a href=\'_httpcstyle_/style-blue.css\'>‘Ocean Blue’ theme</a></li>
145<li><a href=\'_httpcstyle_/style-red.css\'>‘Fire Red’ theme</a></li>
146<li><a href=\'_httpimages_/style-print.css\'>Printer</a></li>
147</ul>
148</p>
149<p>
150<b>Using a downloaded stylesheet</b>
151<ul>
152<li>To use a stylesheet as the default, place it in greenstone/web/style and rename it to style.css. This will affect all collections.</li>
153<li>To use a stylesheet for a particular collection, place it in the collection\'s style directory, add an extra.dm file to the collection\'s macros directory, and add a macro like the following (this uses style-red.css as the example):<br/>
154<small><tt>
155<br/>
156package Style<br/>
157<br/>
158\_cssheader\_ {<br/>
159&lt;link rel=\'stylesheet\' href=\'\_httpcstyle\_/style-red.css\'<br/>
160&nbsp;&nbsp;type=\'text/css\' title=\'Fire Red\' charset=\'UTF-8\'&gt;<br/>
161}<br/>
162</tt></small>
163</li>
164</ul>
165</p>
166"
167
168# -- Spanish text -----------------------
169collectionmeta  collectionextra [l=es] "
170Esta colección demuestra el uso de hojas de estilo (CSS) con Greenstone para el formateo visual en los navegadores web. (Greenstone usa CSS en vez de tablas HTML desde la version 2.63.) En cada página, puede cambiar la plantilla usada, para modificar la apariencia de la página.
171</p>
172<p>Esta colección contiene el mismo material que la colección de demo original de Greenstone.</p>
173<p>
174Un archivo <a href=\'_httpcollection_/macros/extra.dm\'>extra.dm</a> se utiliza para proveer el cambio de plantilla de estilos. Este archivo redefine algunas macros del paquete <i>Style</i>: <b>\_cssheader\_</b>, para enlazar múltiples plantillas; <b>\_optnavigationbar\_</b>, para mostrar los links; y <b>\_pagescriptextra\_</b>, para facilitar el cambio cuando se selecciona un link.
175</p>
176<p>Si quiere descargar cualquiera de estas plantillas para sus propias colecciones, aquí están los links a ellas:
177<ul>
178<li><a href=\'_httpimages_/style.css\'>Plantilla por defecto de Greenstone</a></li>
179<li><a href=\'_httpcstyle_/style-blue.css\'>Tema ‘Ocean Blue’</a></li>
180<li><a href=\'_httpcstyle_/style-red.css\'>‘Tema Fire Red’</a></li>
181<li><a href=\'_httpimages_/style-print.css\'>Impresora</a></li>
182</ul>
183</p>
184<p>
185<b>Usar una plantilla descargada</b>
186<ul>
187<li>Para usar una plantilla de estilos por defecto, copiela en la carpeta greenstone/web/style y renómbrela como style.css. Esto afectará a todas las colecciones.</li>
188<li>Para usar una plantilla para una colección en particular, copiela en la carpeta style de la colección, agregue un archivo extra.dm en la carpeta macros de la colección y edítelo para agregar las siguientes líneas (aquí se usa la plantilla style-red.css como ejemplo):<br/>
189<small><tt>
190<br/>
191package Style<br/>
192<br/>
193\_cssheader\_ {<br/>
194&lt;link rel=\'stylesheet\' href=\'\_httpcstyle\_/style-red.css\'<br/>
195&nbsp;&nbsp;type=\'text/css\' title=\'Fire Red\' charset=\'UTF-8\'&gt;<br/>
196}<br/>
197</tt></small>
198</li>
199</ul>
200</p>
201"
Note: See TracBrowser for help on using the browser.