root/main/trunk/greenstone2/collect/demo/etc/collect.cfg @ 30681

Revision 30681, 7.0 KB (checked in by ak19, 4 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 *
Line 
1creator     greenstone@cs.waikato.ac.nz
2maintainer  greenstone@cs.waikato.ac.nz
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] "مجموعة جرينستون التوضيحية"
86collectionmeta  collectionextra [l=ar] "هذه مجموعة توضيحية لؚرمجيات جرينستون للمكتؚة الرقمية.\nتتضمن مجموعة فرعية صغيرة (11 وثيقة) من مكتؚة التنمية الؚ؎رية."
87
88# -- Armenian strings ----------------
89collectionmeta  collectionextra [l=hy] "Սա Գրին՜թ՞՞ւն Õ©ÕŸÕ¡ÕµÕ«Õ¶ Õ£Ö€Õ¡Õ€Õ¡Ö€Õ¡Õ¶Õ« ց՞ւցաՀրական Õ¶ÕŽÕžÖ‚Õ· է։ Ô±ÕµÕ¶ ÕºÕ¡Ö€ÕžÖ‚Õ¶Õ¡Õ¯ÕžÖ‚ÕŽ Õ§ հա՜արակագիտական և ՊարգացՎան բնագա՟աՌների 11 փա՜տաթղթերի Õ°Õ¡ÕŸÕ¡Ö„Õ¡Õ®ÕžÖ‚"
90
91# -- Finnish strings ----------------
92collectionmeta  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."
93
94# -- Slovak strings ----------------
95collectionmeta  collectionname [l=sk] "Demo"
96collectionmeta  collectionextra [l=sk] "Toto je predvádzacia zbierka softvéru digitálnej kniÅŸnice Greenstone, ktorá obsahuje 11 dokumentov."
97
98# -- Brazilian Portuguese strings ----------------
99collectionmeta  collectionname [l=pt-br] "Demo do Greenstone"
100collectionmeta  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."
101
102# -- Thai strings ----------------
103collectionmeta  collectionname [l=th] "àžàž²àž£àžªàž²àž˜àžŽàž•àžàž²àž£à¹ƒàžŠà¹‰àž‡àž²àž™à¹‚àž›àž£à¹àžàž£àž¡àžàž£àžµàž™àžªà¹‚àž•àž™"
104collectionmeta  collectionextra [l=th] "àž„àž­àž¥à¹€àž¥àžàžŠàž±àž™àž™àžµà¹‰à¹€àž›à¹‡àž™àž„àž­àž¥à¹€àž¥àžàžŠàž±àž™àžªàž²àž˜àžŽàž•àž‚àž­àž‡àž‹àž­àžŸàž•à¹Œà¹àž§àž£à¹Œàž«à¹‰àž­àž‡àžªàž¡àžžàž”àž”àžŽàžˆàžŽàž—àž±àž¥àžàž£àžµàž™à¹‚àž•àž™\nIt àž‹àž¶à¹ˆàž‡àž›àž£àž°àžàž­àžšàž”à¹‰àž§àž¢àžŠàžžàž”àž‚à¹‰àž­àž¡àž¹àž¥àž¢à¹ˆàž­àž¢àž‚àž™àž²àž”à¹€àž¥à¹‡àžàžˆàž³àž™àž§àž™àž«àž™àž¶à¹ˆàž‡àžŠàžžàž” (à¹€àž­àžàžªàž²àž£àžˆàž³àž™àž§àž™ 11 àž‰àžšàž±àžš) àž‚àž­àž‡àž«à¹‰àž­àž‡àžªàž¡àžžàž”à¹€àžžàž·à¹ˆàž­àžàž²àž£àžžàž±àž’àž™àž²àž¡àž™àžžàž©àž¢àžŠàž²àž•àžŽ (Humanity Development Library)"
105
106# -- Simplified Chinese strings ----------------
107collectionmeta  collectionname [l=zh] "绿宝石系统挔瀺收藏"
108collectionmeta  collectionextra [l=zh] "这是䞀䞪绿宝石数字囟乊銆系统的挔瀺收藏。\n它包含了人类发展囟乊銆Humanity Development Library的䞀䞪小子集11䞪文档。"
109
Note: See TracBrowser for help on using the browser.