source: main/trunk/greenstone2/collect/demo/etc/collect.cfg@ 30681

Last change on this file since 30681 was 30681, checked in by ak19, 8 years ago

3 new strings introduced by Kathy contained the :, which is used as a separator in the properties file. Although Kathy tried to escape it with a backslash, it broke GTI because GTI doesn't recognise the backslash as a separator and all kinds of weird things happened from then on, so that the Gujarati translator kept having to translte the current date rather than a real GS3 interface string. Modified the gti.pl code (to be committed) and the new strings that Kathy introduced, so that hopefully, GTI can now handle it. Property names and values will be split at the right-most separator character now (= or :) and any on the left should not be escaped.

  • Property svn:executable set to *
File size: 7.0 KB
Line 
1creator [email protected]
2maintainer [email protected]
3public true
4
5buildtype mgpp
6
7infodbtype gdbm
8
9indexes text dc.Title,ex.Title dc.Subject dls.Organization dls.Keyword
10
11levels section document
12
13defaultlevel document
14
15plugin GreenstoneXMLPlugin
16plugin HTMLPlugin -description_tags
17# following two plugins not needed for the demo collection, but are useful to
18# include for tutorial purposes
19plugin ImagePlugin
20plugin ZIPPlugin
21plugin MetadataXMLPlugin
22plugin ArchivesInfPlugin
23plugin DirectoryPlugin
24
25# import options
26# this will use the file's parent directory name as the OID
27OIDtype filename
28
29classify List -metadata dc.Title -partition_type_within_level constant_size
30
31classify Hierarchy -metadata dc.Subject -sort dc.Title
32
33classify List -sort_leaf_nodes_using dc.Title -metadata dls.Organization -bookshelf_type always -partition_type_within_level constant_size
34
35classify List -metadata dls.Keyword -buttonname Howto -partition_type_within_level constant_size
36
37format CL4VList "<td>[link][icon][/link]</td><td>[link][dls.Keyword][/link]"
38
39format SearchVList "<td valign=top>[link][icon][/link]</td><td>{If}{[parent(All\': \'):Title],[parent(All\': \'):Title]:}[link][Title][/link]</td>"
40
41format 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_[dmsafe:Source]</i></small>}</td>"
42
43format DocumentText "<h3>[Title]</h3>\\n\\n<p>[Text]"
44format DocumentImages true
45format DocumentButtons "Expand Text|Expand Contents|Highlight|Detach|Print"
46format DocumentSearchResultLinks true
47
48format HList "[link][highlight][Title][/highlight][/link]"
49
50format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>"
51
52format SearchTypes "plain,form"
53
54# strings that use macros
55# these don't need translating unless you want something different from the
56# default
57collectionmeta .text [l=en] "_labeltext_"
58collectionmeta .dc.Title,Title [l=en] "_labelTitle_"
59collectionmeta .dc.Subject [l=en] "_labelSubject_"
60collectionmeta .dls.Organization [l=en] "_labelOrganization_"
61collectionmeta .dls.Keyword [l=en] "_labelHowto_"
62
63collectionmeta .document [l=en] "_textbook_"
64collectionmeta .section [l=en] "_textchapter_"
65
66# -- English strings ----------------
67collectionmeta collectionname [l=en] "Greenstone demo"
68collectionmeta collectionextra [l=en] "This is a demonstration collection for the Greenstone digital library software.\nIt contains a small subset (11 documents) of the Humanity Development Library."
69
70collectionmeta depositormetadata [l=en] "{\"name\":\"dc.Title\",\"label\":\"Title\",\"tooltip\":\"dc.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\":\"dc.Subject\",\"label\":\"Subject\",\"tooltip\":\"dc.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\":\"dc.Language\",\"label\":\"Language\",\"tooltip\":\"dc.Language: The language of this resource.\",\"type\":\"text\"}"
71
72# -- French strings ----------------
73collectionmeta collectionname [l=fr] "Démo Greenstone"
74collectionmeta collectionextra [l=fr] "Il s\'agit d\'une collection de démonstration pour le logiciel de bibliothÚque numérique Greenstone.\nElle contient un petit échantillon (11 documents) de la BibliothÚque de Développement de l\'Humanité."
75
76# -- Spanish strings ----------------
77collectionmeta collectionname [l=es] "Colección de muestra Greenstone"
78collectionmeta collectionextra [l=es] "Esta es una colección de demostración del programa Greenstone.\nContiene un pequeño subconjunto (11 documentos) de la Biblioteca para el Desarrollo Humano."
79
80# -- Russian strings ----------------
81collectionmeta collectionname [l=ru] "ЎеЌПМстрацОПММый прОЌер ГрОМстПуМ"
82collectionmeta collectionextra [l=ru] "ЭтП - ЎеЌПМстрацОПММая кПллекцОя прПграЌЌМПгП ПбеспечеМОя цОфрПвПй бОблОПтекО ГрОМстПуМ. ОМа сПЎержОт МебПльшПй пПЎМабПр (11 ЎПкуЌеМтПв) ГуЌаМОтарМПй бОблОПтекО развОтОя."
83
84# -- Arabic strings ----------------
85collectionmeta collectionname [l=ar] "م
86جم
87وعة جرينستون التوضيحية"
88collectionmeta collectionextra [l=ar] "هذه م
89جم
90وعة توضيحية لؚرم
91جيات جرينستون للم
92كتؚة الرقم
93ية.\nتتضم
94ن م
95جم
96وعة فرعية صغيرة (11 وثيقة) م
97ن م
98كتؚة التنم
99ية الؚ؎رية."
100
101# -- Armenian strings ----------------
102collectionmeta collectionextra [l=hy] "Սա Գրին՜թ՞՞ւն Õ©ÕŸÕ¡ÕµÕ«Õ¶ Õ£Ö€Õ¡Õ€Õ¡Ö€Õ¡Õ¶Õ« ց՞ւցաՀրական Õ¶ÕŽÕžÖ‚Õ· է։ Ô±ÕµÕ¶ ÕºÕ¡Ö€ÕžÖ‚Õ¶Õ¡Õ¯ÕžÖ‚ÕŽ Õ§ հա՜արակագիտական և ՊարգացՎան բնագա՟աՌների 11 փա՜տաթղթերի Õ°Õ¡ÕŸÕ¡Ö„Õ¡Õ®ÕžÖ‚"
103
104# -- Finnish strings ----------------
105collectionmeta collectionextra [l=fi] "TÀmÀ on esimerkkikokoelma, joka on tehty Greenstone digitaalisen kirjaston ohjelmistoa varten. Se sisÀltÀÀ osan (11 dokumenttia) HumanitÀÀrisestÀ kirjastosta ja Kehitystyökirjastosta."
106
107# -- Slovak strings ----------------
108collectionmeta collectionname [l=sk] "Demo"
109collectionmeta collectionextra [l=sk] "Toto je predvádzacia zbierka softvéru digitálnej knişnice Greenstone, ktorá obsahuje 11 dokumentov."
110
111# -- Brazilian Portuguese strings ----------------
112collectionmeta collectionname [l=pt-br] "Demo do Greenstone"
113collectionmeta collectionextra [l=pt-br] "Esta é uma coleção de demonstração para o software de biblioteca digital Greenstone. \nEle contém um pequeno subconjunto (11 documentos) da Biblioteca de Desenvolvimento Humano."
114
115# -- Thai strings ----------------
116collectionmeta collectionname [l=th] "àžàž²àž£àžªàž²àž˜àžŽàž•àžàž²àž£à¹ƒàžŠà¹‰àž‡àž²àž™à¹‚àž›àž£à¹àžàž£àž¡àžàž£àžµàž™àžªà¹‚àž•àž™"
117collectionmeta collectionextra [l=th] "àž„àž­àž¥à¹€àž¥àžàžŠàž±àž™àž™àžµà¹‰à¹€àž›à¹‡àž™àž„àž­àž¥à¹€àž¥àžàžŠàž±àž™àžªàž²àž˜àžŽàž•àž‚àž­àž‡àž‹àž­àžŸàž•à¹Œà¹àž§àž£à¹Œàž«à¹‰àž­àž‡àžªàž¡àžžàž”àž”àžŽàžˆàžŽàž—àž±àž¥àžàž£àžµàž™à¹‚àž•àž™\nIt àž‹àž¶à¹ˆàž‡àž›àž£àž°àžàž­àžšàž”à¹‰àž§àž¢àžŠàžžàž”àž‚à¹‰àž­àž¡àž¹àž¥àž¢à¹ˆàž­àž¢àž‚àž™àž²àž”à¹€àž¥à¹‡àžàžˆàž³àž™àž§àž™àž«àž™àž¶à¹ˆàž‡àžŠàžžàž” (à¹€àž­àžàžªàž²àž£àžˆàž³àž™àž§àž™ 11 àž‰àžšàž±àžš) àž‚àž­àž‡àž«à¹‰àž­àž‡àžªàž¡àžžàž”à¹€àžžàž·à¹ˆàž­àžàž²àž£àžžàž±àž’àž™àž²àž¡àž™àžžàž©àž¢àžŠàž²àž•àžŽ (Humanity Development Library)"
118
119# -- Simplified Chinese strings ----------------
120collectionmeta collectionname [l=zh] "绿宝石系统挔瀺收藏"
121collectionmeta collectionextra [l=zh] "这是䞀䞪绿宝石数字囟乊銆系统的挔瀺收藏。\n它包
122含了人类发展囟乊銆Humanity Development Library的䞀䞪小子集11䞪文档。"
123
Note: See TracBrowser for help on using the repository browser.