source: collections/documented-examples/trunk/style-e/etc/collect.cfg@ 19546

Last change on this file since 19546 was 19546, checked in by anna, 15 years ago

Updated some French translations and added Simplified Chinese translations.

  • Property svn:executable set to *
File size: 11.2 KB
RevLine 
[18738]1creator [email protected]
[19044]2maintainer [email protected]
[18738]3public true
4
[19044]5buildtype mgpp
6searchtypes plain,form
[18738]7
[19044]8indexes text dls.Title,Title dls.Subject dls.Organization dls.Keyword
[18738]9
[19044]10levels section document
[18738]11
[19044]12plugin GreenstoneXMLPlugin
13plugin HTMLPlugin -description_tags
14plugin MetadataXMLPlugin
15plugin ArchivesInfPlugin
16plugin DirectoryPlugin
[18738]17
[19044]18classify List -metadata dls.Title
[18738]19
[19376]20classify Hierarchy -metadata dls.Subject -sort dls.Title
[18738]21
[19376]22classify List -metadata dls.Organization -sort_leaf_nodes_using dls.Title -bookshelf_type always
[18738]23
[19044]24classify List -metadata dls.Keyword -buttonname Howto
[18738]25
[19044]26format CL4VList "<td>[link][icon][/link]</td><td>[link][dls.Keyword][/link]"
[18738]27
[19044]28format SearchVList "<td valign=top>[link][icon][/link]</td><td>{If}{[parent(All\': \'):Title],[parent(All\': \'):Title]:}[link][Title][/link]</td>"
[18738]29
[19044]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>"
[18738]31
[19044]32format DocumentText "<h3>[Title]</h3>\\n\\n<p>[Text]"
33format DocumentImages true
34format DocumentButtons "Expand Text|Expand Contents|Highlight|Detach|Print"
35format DocumentSearchResultLinks true
[18738]36
[19044]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 ----------------
[18738]44collectionmeta collectionname [l=en] "Cascading Style Sheets<br/> Demo collection"
45
[19044]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"
[18738]51
[19044]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 ----------------
[18738]58collectionmeta collectionname [l=fr] "Démo de feuilles de styles en cascade (CSS)"
59
[19044]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"
[18738]67
[19044]68# -- Spanish strings ----------------
[18738]69collectionmeta collectionname [l=es] "Colección de muestra CSS"
70
[19044]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"
[18738]78
[19044]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] "الم
92وضوعات"
93collectionmeta .dls.Organization [l=ar] "الم
94ن؞م
95ات"
96collectionmeta .dls.Keyword [l=ar] "إر؎اد"
[19546]97collectionmeta .document [l=ar] "كتاؚ"
98collectionmeta .section [l=ar] "فصل"
99
100# -- Simplified Chinese strings ----------------
101collectionmeta collectionname [l=zh] "层级样匏衚<br/>挔瀺銆藏"
102collectionmeta .text [l=zh] "文本"
103collectionmeta .dls.Title,Title [l=zh] "题名"
104collectionmeta .dls.Subject [l=zh] "䞻题"
105collectionmeta .dls.Organization [l=zh] "机构"
106collectionmeta .dls.Keyword [l=zh] "劂䜕"
107
[19044]108collectionmeta .document [l=zh] "乊"
109collectionmeta .section [l=zh] "ç« "
110
111# -- Brazilian Portuguese strings ----------------
112collectionmeta .text [l=pt-br] "texto"
113collectionmeta .dls.Title,Title [l=pt-br] "títulos"
114collectionmeta .dls.Subject [l=pt-br] "assuntos"
115collectionmeta .dls.Organization [l=pt-br] "organizações"
116collectionmeta .dls.Keyword [l=pt-br] "como fazer"
117
118collectionmeta .document [l=pt-br] "livro"
119collectionmeta .section [l=pt-br] "capítulo"
120
121# -- Thai strings ----------------
122collectionmeta .text [l=th] "àž‚à¹‰àž­àž„àž§àž²àž¡"
123collectionmeta .dls.Title,Title [l=th] "àžŠàž·à¹ˆàž­à¹€àž£àž·à¹ˆàž­àž‡"
124collectionmeta .dls.Subject [l=th] "àž«àž±àž§à¹€àž£àž·à¹ˆàž­àž‡"
125collectionmeta .dls.Organization [l=th] "àž«àž™à¹ˆàž§àž¢àž‡àž²àž™"
126collectionmeta .dls.Keyword [l=th] "àž§àžŽàž˜àžµà¹ƒàžŠà¹‰"
127
128collectionmeta .document [l=th] "àž«àž™àž±àž‡àžªàž·àž­"
129collectionmeta .section [l=th] "àžšàž—"
130
131
132# -- English text ---------------------------
[18738]133
134collectionmeta collectionextra [l=en] "
135This collection demonstrates Greenstone\'s use of Cascading Style Sheets (CSS)
136for visual formatting in web browsers. (Greenstone uses CSS instead of HTML
137tables since version 2.63.) On every page, you can change the
138style-sheet in effect, to modify that page\'s appearance.
139</p>
140<p>This collection contains the same material as the original Greenstone demo collection.</p>
141<p>
142An <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.
143</p>
[19120]144<p>If you want to download any of these stylesheets for your own collections,
145here are links to them:
146<ul>
147<li><a href=\'_httpimages_/style.css\'>Default Greenstone Style</a></li>
[18738]148<li><a href=\'_httpcstyle_/style-blue.css\'>‘Ocean Blue’ theme</a></li>
149<li><a href=\'_httpcstyle_/style-red.css\'>‘Fire Red’ theme</a></li>
150<li><a href=\'_httpimages_/style-print.css\'>Printer</a></li>
151</ul>
152</p>
[19120]153<p>
154<b>Using a downloaded stylesheet</b>
[18738]155<ul>
156<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>
157<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/>
158<small><tt>
159<br/>
[19120]160package Style<br/>
[18738]161<br/>
162\_cssheader\_ {<br/>
163&lt;link rel=\'stylesheet\' href=\'\_httpcstyle\_/style-red.css\'<br/>
164&nbsp;&nbsp;type=\'text/css\' title=\'Fire Red\' charset=\'UTF-8\'&gt;<br/>
165}<br/>
166</tt></small>
167</li>
[19359]168</ul>
169</p>
170"
171
172# -- Spanish text -----------------------
173collectionmeta collectionextra [l=es] "
174Esta 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.
175</p>
176<p>Esta colección contiene el mismo material que la colección de demo original de Greenstone.</p>
177<p>
178Un 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.
179</p>
180<p>Si quiere descargar cualquiera de estas plantillas para sus propias colecciones, aquí están los links a ellas:
181<ul>
182<li><a href=\'_httpimages_/style.css\'>Plantilla por defecto de Greenstone</a></li>
183<li><a href=\'_httpcstyle_/style-blue.css\'>Tema ‘Ocean Blue’</a></li>
184<li><a href=\'_httpcstyle_/style-red.css\'>‘Tema Fire Red’</a></li>
185<li><a href=\'_httpimages_/style-print.css\'>Impresora</a></li>
186</ul>
187</p>
188<p>
189<b>Usar una plantilla descargada</b>
190<ul>
191<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>
192<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/>
193<small><tt>
194<br/>
195package Style<br/>
196<br/>
197\_cssheader\_ {<br/>
198&lt;link rel=\'stylesheet\' href=\'\_httpcstyle\_/style-red.css\'<br/>
199&nbsp;&nbsp;type=\'text/css\' title=\'Fire Red\' charset=\'UTF-8\'&gt;<br/>
200}<br/>
201</tt></small>
202</li>
[19546]203</ul>
204</p>
205"
206
207# -- Simplified Chinese text -----------------------
208collectionmeta collectionextra [l=zh] "
209本銆藏挔瀺Greenstone䜿甚层级样匏衚CSS定制眑页浏览栌匏。自2.63版本后Greenstone䜿甚CSS替换HTML衚栌。每䞪页面郜可通过修改对应的样匏衚来曎改该页面的倖观。</p>
210
211<p>本銆藏所包
212含的文档䞎Greenstone挔瀺銆藏䞭的䞀样。</p>
213<p>本銆藏䜿甚<a href=\'_httpcollection_/macros/extra.dm\'>extra.dm</a>宏文件来实现䞍同样匏衚的蜬换。该文件重新定义了<i>Style</i>包
214䞭的几䞪宏<b>\_cssheader\_</b>以铟接到倚䞪样匏衚<b>\_optnavigationbar\_</b>以星瀺点击的铟接以及<b>\_pagescriptextra\_</b>以实现点击铟接时的蜬换。
215</p>
216
217<p>劂果䜠想䞋蜜这些样匏衚以䟿甚于䜠自己的銆藏这里是䞋蜜的铟接
218<ul>
219<li><a href=\'_httpimages_/style.css\'>猺省的Greenstone样匏衚</a></li>
220<li><a href=\'_httpcstyle_/style-blue.css\'>海蓝䞻题</a></li>
221<li><a href=\'_httpcstyle_/style-red.css\'>火红䞻题</a></li>
222<li><a href=\'_httpimages_/style-print.css\'>打印机</a></li>
223</ul>
224</p>
225
226<p>
227<b>䜿甚䞋蜜的样匏衚</b>
228<ul>
229<li>芁将䞀䞪样匏衚讟眮䞺猺省的样匏衚将该样匏衚攟å…
230¥greenstone/web/style文件倹并重呜名䞺style.css。这将圱响到所有的銆藏。</li>
231<li>芁圚某䞪特定銆藏䞭䜿甚䞀䞪样匏衚将该样匏衚攟å…
232¥è¯¥éŠ†è—çš„style目圕并圚该銆藏的macros目圕䞋添加䞀䞪extra.dm文件然后添加劂䞋的宏这里䜿甚style-red.css䜜䞺䟋子<br/>
233
234<small><tt>
235<br/>
236package Style<br/>
237<br/>
238\_cssheader\_ {<br/>
239&lt;link rel=\'stylesheet\' href=\'\_httpcstyle\_/style-red.css\'<br/>
240&nbsp;&nbsp;type=\'text/css\' title=\'Fire Red\' charset=\'UTF-8\'&gt;<br/>
241}<br/>
242</tt></small>
243</li>
244</ul>
245</p>
246"
Note: See TracBrowser for help on using the repository browser.