root/main/trunk/greenstone2/macros/english.dm @ 27293

Revision 27293, 37.5 KB (checked in by ak19, 7 years ago)

Some bugfixes and improvements to the existing Add User Comment form before committing changes for the authentication. Fixes like checking for empty strings entered for the comment which shouldn't go in the database. And after a comment is submitted, it needs to be added to the existing list of displayed user comments, instead of reloading them all.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1# this file must be UTF-8 encoded
2#####################################################################
3#
4# English Language text and icon macros
5#
6######################################################################
7#
8# This is the main macro file for translation when creating an
9# interface in another language.
10
11# Under the 'text macros' comments are text macros of the form:
12# _macroname_ {macro value}
13# Everything between the {} is the text to be translated. This text
14# may itself contain macros (i.e. characters other than space between
15# underscore characters, e.g. _about:numdocs_ or _textpage_). These
16# macro names occurring within text shouldn't be translated but should
17# be left as they are. Underscores or curly brackets occurring
18# naturally within the text should be escaped with a leading backslash
19# (i.e. '\_', '\{' or '\}).
20#
21# Comment lines (other than those described above) need not be
22# translated (i.e. any lines beginning with '#', like this line).
23#
24# The simplest way to translate this file is to save it as something
25# else (e.g. french.dm) and work through translating all the text
26# macro values and icon comments.
27#
28######################################################################
29
30
31######################################################################
32# Global (base) package
33package Global
34######################################################################
35
36
37#------------------------------------------------------------
38# text macros
39#------------------------------------------------------------
40
41_textperiodicals_ {Periodicals}
42
43# these three used by the default format statement of the demo and dls collections.
44_textsource_ {source ref: }
45_textdate_ {publication date: }
46_textnumpages_ {no. of pages: }
47
48_textsignin_ {sign in}
49
50_texttruncated_ {[truncated]}
51
52_textdefaultcontent_ {The requested page could not be found. Please use
53your browsers 'back' button or the above home button to return to the
54Greenstone Digital Library.}
55
56_textdefaulttitle_ {GSDL Error}
57
58_textbadcollection_ {This collection (called "_cvariable_") is not installed on this Greenstone digital library system.}
59
60_textselectpage_ {-- Select Page --}
61
62_collectionextra_ {This collection contains _about:numdocs_ documents.
63It was last built _about:builddate_ days ago.}
64
65# this is only used by the collector (where the above _collectionextra_
66# macro will always be set to another value)
67_collectorextra_ {
68<p>This collection contains _numdocs_ _If_("_numdocs_" eq "1",document,documents), a total of _numbytes_ of indexed text and metadata.
69<p><a href="_httppagex_(bsummary)">Click here</a> to view the build summary for this collection.
70}
71
72_textdescrcollection_ {}
73_textdescrabout_ {About page}
74_textdescrhome_ {Home page}
75_textdescrhelp_ {Help page}
76_textdescrpref_ {Preferences page}
77_textdescrlogin_ {Login page}
78_textdescrlogout_ {Logout as _cgiargun_}
79
80_textdescrgreenstone_ {Greenstone Digital Library Software}
81_textdescrusab_ {What did you find hard to use?}
82
83
84# Metadata names and navigation bar labels
85
86_textSearch_ {Search}
87_labelSearch_ {Search}
88
89# Dublin Core Metadata Element Set, Version 1.1
90_textTitle_ {Title}
91_labelTitle_ {Titles}
92_textCreator_ {Creator}
93_labelCreator_ {Creators}
94_textSubject_ {Subject}
95_labelSubject_ {Subjects}
96_textDescription_ {Description}
97_labelDescription_ {Descriptions}
98_textPublisher_ {Publisher}
99_labelPublisher_ {Publishers}
100_textContributor_ {Contributor}
101_labelContributor_ {Contributors}
102_textDate_ {Date}
103_labelDate_ {Dates}
104_textType_ {Type}
105_labelType_ {Types}
106_textFormat_ {Format}
107_labelFormat_ {Formats}
108_textIdentifier_ {Identifier}
109_labelIdentifier_ {Identifiers}
110_textSource_ {Filename}  # Not true DC, kept for legacy reasons
111_labelSource_ {Filenames}  # Not true DC, kept for legacy reasons
112_textLanguage_ {Language}
113_labelLanguage_ {Languages}
114_textRelation_ {Relation}
115_labelRelation_ {Relations}
116_textCoverage_ {Coverage}
117_labelCoverage_ {Coverage}
118_textRights_ {Rights}
119_labelRights_ {Rights}
120
121# DLS metadata set
122_textOrganization_ {Organization}
123_labelOrganization_ {Organizations}
124_textKeyword_ {Keyword}
125_labelKeyword_ {Keywords}
126_textHowto_ {How to}
127_labelHowto_ {How to}
128
129# Miscellaneous Greenstone metadata
130_textPhrase_ {Phrase}
131_labelPhrase_ {Phrases}
132_textCollage_ {Collage}
133_labelCollage_ {Collage}
134_textBrowse_ {Browse}
135_labelBrowse_ {Browse}
136_textTo_ {To}
137_labelTo_ {To}
138_textFrom_ {From}
139_labelFrom_ {From}
140_textAcronym_ {Acronym}
141_labelAcronym_ {Acronyms}
142_textAuthor_ {Author}
143_textAuthors_ {Authors}
144
145# Navigation bar tooltip - to customize this for a specific metadata, add a macro named _textdescrXXX_ where XXX is the metadata name
146_textdescrdefault_ {Browse by _1_}
147
148_textdescrSearch_ {Search for specific terms}
149_textdescrType_ {Browse by resource type}
150_textdescrIdentifier_ {Browse by resource identifier}
151_textdescrSource_ {Browse by original filename}  # Not true DC, kept for legacy reasons
152_textdescrTo_ {Browse by To field}
153_textdescrFrom_ {Browse by From field}
154_textdescrCollage_ {Browse by image collage}
155_textdescrAcronym_ {Browse acronyms}
156_textdescrPhrase_ {Browse phrases}
157_textdescrHowto_ {Browse how to categories}
158_textdescrBrowse_ {Browse documents}
159_texticontext_ {View the document}
160_texticonclosedbook_ {open this document and view contents}
161_texticonnext_ {to next section}
162_texticonprev_ {to previous section}
163
164_texticonworld_ {View the web document}
165
166_texticonmidi_ {View the MIDI document}
167_texticonmsword_ {View the Microsoft Word document}
168_texticonmp3_ {View the MP3 document}
169_texticonpdf_ {View the PDF document}
170_texticonps_ {View the PostScript document}
171_texticonppt_ {View the PowerPoint document}
172_texticonrtf_ {View the RTF document}
173_texticonxls_ {View the Microsoft Excel document}
174_texticonogg_ {View the Ogg Vorbis document}
175_texticonrmvideo_ {View the Real Media document}
176
177_page_ {page }
178_pages_ {pages}
179_of_ { of }
180_vol_ {Volume}
181_num_ {No.}
182
183_textmonth00_ {}
184_textmonth01_ {January}
185_textmonth02_ {February}
186_textmonth03_ {March}
187_textmonth04_ {April}
188_textmonth05_ {May}
189_textmonth06_ {June}
190_textmonth07_ {July}
191_textmonth08_ {August}
192_textmonth09_ {September}
193_textmonth10_ {October}
194_textmonth11_ {November}
195_textmonth12_ {December}
196
197_texttext_ {Text}
198_labeltext_ {_texttext_}
199_textdocument_ {Document}
200_textsection_ {Section}
201_textparagraph_ {Paragraph}
202_textchapter_ {Chapter}
203_textbook_ {Book}
204
205_magazines_ {Magazines}
206
207_nzdlpagefooter_ {<div class="divbar">&nbsp;</div>
208<p><a href="http://www.nzdl.org">New Zealand Digital Library Project</a>
209<br><a href="http://www.cs.waikato.ac.nz">Department of Computer Science</a>,
210<a href="http://www.waikato.ac.nz">University of Waikato</a>,
211New Zealand}
212
213_linktextHOME_ {HOME}
214_linktextHELP_ {HELP}
215_linktextPREFERENCES_ {PREFERENCES}
216_linktextLOGIN_ {LOGIN}
217_linktextLOGGEDIN_ {(logged in as _cgiargun_)}
218_linktextLOGOUT_ {LOGOUT}
219
220
221######################################################################
222# 'home' page
223package home
224######################################################################
225
226_textpagetitle_ {Greenstone Digital Library}
227
228_textnocollections_ {No valid (i.e. built and public) collections are available}
229
230_textadmin_ {Administration Page}
231_textabgs_ {About Greenstone}
232_textgsdocs_ {Greenstone Documentation}
233
234_textdescradmin_ {
235Allows you to add new users, summarizes the collections in the system,
236gives technical information on the Greenstone installation
237}
238
239_textdescrgogreenstone_ {
240Tells you about the Greenstone software and the New Zealand Digital Library
241Project where it originated
242}
243
244_textdescrgodocs_ {Greenstone manuals}
245
246#####################################################################
247# some macros used on the home page from other packages
248#####################################################################
249package gli
250
251_textgli_ {The Librarian Interface}
252_textdescrgli_ {
253Helps you create new collections, modify or add to existing ones, or delete
254collections
255}
256
257package collector
258
259_textcollector_ {The Collector}
260_textdescrcollector_ {
261This predates the Librarian Interface, and for most practical purposes the Librarian Interface should be used instead
262}
263
264package depositor
265
266_textdepositor_ {The Depositor}
267_textdescrdepositor_  {
268Helps you to add documents to existing collections
269}
270
271package gti
272
273_textgti_ {The Greenstone Translator Interface}
274_textdescrtranslator_ {
275Helps you keep the multilingual versions of the Greenstone interface
276up to date
277}
278
279
280######################################################################
281# 'about' page
282package about
283######################################################################
284
285
286#------------------------------------------------------------
287# text macros
288#------------------------------------------------------------
289
290_textabcol_ {About this collection}
291
292_textsubcols1_ {<p>The complete collection comprises _1_ subcollections.
293Those currently available are:
294<blockquote>}
295
296_textsubcols2_ {</blockquote>
297You can check (and alter) which subcollections you are
298currently using on the Preferences page.}
299
300_titleabout_ {about}
301
302
303######################################################################
304# document package
305package document
306######################################################################
307
308
309#------------------------------------------------------------
310# text macros
311#------------------------------------------------------------
312
313_texticonopenbookshelf_ {close this section of the library}
314_texticonclosedbookshelf_ {open this section of the library and view contents}
315_texticonopenbook_ {close this book}
316_texticonclosedfolder_ {Open this folder and view contents}
317_texticonclosedfolder2_ {open sub-section: }
318_texticonopenfolder_ {close this folder}
319_texticonopenfolder2_ {close sub-section: }
320_texticonsmalltext_ {View this section of the text}
321_texticonsmalltext2_ {view text: }
322_texticonpointer_ {current section}
323_texticondetach_ {Open this page in a new window}
324_texticonhighlight_ {Highlight search terms}
325_texticonnohighlight_ {Don't highlight search terms}
326_texticoncontracttoc_ {Collapse table of contents}
327_texticonexpandtoc_ {Expand table of contents}
328_texticonexpandtext_ {Display all text}
329_texticoncontracttext_ {Display text only for currently selected section}
330_texticonwarning_ {<b>Warning: </b>}
331_texticoncont_ {continue?}
332
333_textltwarning_ {<div class="buttons">_imagecont_</div>
334_iconwarning_Expanding the text here will generate a large
335amount of data for your browser to display
336}
337
338_textcommentusername_ {User name:}
339_textaddusercomment_ {Comment:}
340_textaddcomment_ {add comment}
341_textcommentsubmitted_ {Comment Submitted}
342_text-is-empty_ {Can't add empty values}
343
344_textgoto_ {go to page}
345_textintro_ { <i>(introductory text)</i>}
346
347_textCONTINUE_ {CONTINUE?}
348
349_textEXPANDTEXT_ {EXPAND TEXT}
350
351_textCONTRACTCONTENTS_ {CONTRACT CONTENTS}
352
353_textDETACH_ {DETACH}
354
355_textEXPANDCONTENTS_ {EXPAND CONTENTS}
356
357_textCONTRACT_ {CONTRACT TEXT}
358
359_textHIGHLIGHT_ {HIGHLIGHTING}
360
361_textNOHIGHLIGHT_ {NO HIGHLIGHTING}
362
363_textPRINT_ {PRINT}
364
365_textnextsearchresult_{next search result}
366_textprevsearchresult_{previous search result}
367
368# macros for printing page
369_textreturnoriginal_ {Return to the original page}
370_textprintpage_ {Print this page}
371_textshowcontents_ {Show the table of contents}
372_texthidecontents_ {Hide the table of contents}
373
374######################################################################
375# 'search' page
376package query
377######################################################################
378
379
380#------------------------------------------------------------
381# text macros
382#------------------------------------------------------------
383
384# this if statement produces the text 'results n1 - nn for query: querystring' or
385# 'No matches for query: querystring', depending on whether or not there were
386# any matches
387_textquerytitle_ {_If_(_thislast_,results _thisfirst_ - _thislast_ for query: _cgiargq_,No matches for query: _cgiargq_)}
388_textnoquerytitle_ {Search page}
389
390_textsome_ {some}
391_textall_ {all}
392_textboolean_ {boolean}
393_textranked_ {ranked}
394_textnatural_ {natural}
395_textsortbyrank_ {relevance rank}
396_textascending_ {ascending}
397_textdescending_ {descending}
398_texticonsearchhistorybar_ {search history}
399
400_textifeellucky_ {I'm feeling lucky!}
401
402#alt text for query buttons
403_textusequery_ {use this query}
404_textfreqmsg1_ {Word count: }
405_textpostprocess_ {_If_(_quotedquery_,<br><i>post-processed to find _quotedquery_</i>
406)}
407_textinvalidquery_ {Invalid query syntax}
408_textstopwordsmsg_ {The following words are too common and were ignored: }
409_textlucenetoomanyclauses_ {Your query contained too many search terms; please try a more specific query.}
410
411_textmorethan_ {More than }
412_textapprox_ {About }
413_textnodocs_ {No documents matched the query.}
414_text1doc_ {1 document matched the query.}
415_textlotsdocs_ {documents matched the query.}
416_textmatches_ {Matches }
417_textbeginsearch_ {Begin Search}
418_textrunquery_ {Run Query}
419_textclearform_ {Clear Form}
420
421#these go together in form search:
422#"Words  (fold, stem)  ... in field"
423_textwordphrase_ {Words}
424_textinfield_ {... in field}
425_textfieldphrase_ {Field}
426_textinwords_ {... in word(s)}
427_textfoldstem_ {(fold, stem)}
428
429_textadvquery_ {Or enter a query directly:}
430_textallfields_ {all fields}
431_texttextonly_ {text only}
432_textand_ {and}
433_textor_ {or}
434_textandnot_ {and not}
435
436# _indexselection_, _jselection_, _nselection_ and _gselection_ are set from
437# within the server - _indexselection_ is always set, but the others may be
438# unset
439
440# the space after "level" (before the right bracket) is required, otherwise no space between "Search" and "in"
441
442_textsimplesearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sfselection_,\,_allowformbreak_ sorting results by _sfselection_\, _sortorderselection_\,) for _querytypeselection_ of the words}
443_textsimplesqlsearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sqlsfselection_,\,_allowformbreak_ sorting results by _sqlsfselection_) for _querytypeselection_ of the words}
444
445_textadvancedsearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level )_If_(_nselection_, in _nselection_ language) using _querytypeselection_ query}
446
447_textadvancedmgppsearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level )_If_(_nselection_, in _nselection_ language), and display results in _formquerytypeadvancedselection_ order, for}
448
449_textadvancedlucenesearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sfselection_,\,_allowformbreak_ sorting results by _sfselection_\,_sortorderselection_\,) for }
450_textadvancedsqlsearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sqlsfselection_,\,_allowformbreak_ sorting results by _sqlsfselection_\,) for }
451
452# the space after "Search" is required, otherwise no space between "Search" and "in"
453
454_textformsimplesearch_ {Search _If_(_jselection_, in _jselection_)_If_(_gformselection_, at _gformselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sfselection_,\, sorting results by _sfselection_\, _sortorderselection_\,) for _formquerytypesimpleselection_ of }
455_textformsimplesearchsql_ {Search _If_(_jselection_, in _jselection_)_If_(_gformselection_, at _gformselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sqlsfselection_,\, sorting results by _sqlsfselection_\,) for _formquerytypesimpleselection_ of }
456
457_textformadvancedsearchmgpp_ {Search _If_(_jselection_, in _jselection_)_If_(_gformselection_, at _gformselection_ level )_If_(_nselection_, in _nselection_ language), and display results in _formquerytypeadvancedselection_ order, for }
458
459_textformadvancedsearchlucene_ {Search _If_(_jselection_, in _jselection_)_If_(_gformselection_, at _gformselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sfselection_,\, sorting results by _sfselection_\, _sortorderselection_\,) for }
460_textformadvancedsearchsql_ {Search _If_(_jselection_, in _jselection_)_If_(_gformselection_, at _gformselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sqlsfselection_,\, sorting results by _sqlsfselection_\,) for }
461
462_textnojsformwarning_ {Warning: Javascript is disabled in your web browser. <br>To use form searching, please enable it.}
463_textdatesearch_ {This collection can be searched for documents within a date range, or documents that contain a particular date. This is an optional feature of the search.}
464_textstartdate_ {Start (or only) date:}
465_textenddate_ {End date:}
466_textbc_ {B.C.E.}
467_textad_ {C.E.}
468_textexplaineras_ {C.E. and B.C.E are alternatives for A.D. and B.C. respectively.  These terms are considered to be culture indiscriminate, and stand for "Common Era" and "Before the Common Era"}
469
470_textstemon_ { (ignoring word endings)}
471
472_textsearchhistory_ {Search History}
473
474#text macros for search history
475_textnohistory_ {No entries in the search history}
476_texthresult_ {result}
477_texthresults_ {results}
478_texthallwords_ {all words}
479_texthsomewords_ {some words}
480_texthboolean_ {boolean}
481_texthranked_ {ranked}
482_texthcaseon_ {case must match}
483_texthcaseoff_ {casefolded}
484_texthstemon_ {stemmed}
485_texthstemoff_ {unstemmed}
486
487
488######################################################################
489# 'preferences' page
490package preferences
491######################################################################
492
493
494#------------------------------------------------------------
495# text macros
496#------------------------------------------------------------
497
498_textprefschanged_ {
499Preferences have been set as follows. Do not use your browser's
500"back" button - it will unset them! Instead, click one of the
501buttons on the access bar above.
502}
503_textsetprefs_ {set preferences}
504_textsearchprefs_ {Search preferences}
505_textcollectionprefs_ {Collection preferences}
506_textpresentationprefs_ {Presentation preferences}
507_textpreferences_ {Preferences}
508_textcasediffs_ {Case differences:}
509_textignorecase_ {ignore case differences}
510_textmatchcase_ {upper/lower case must match}
511_textwordends_ {Word endings:}
512_textstem_ {ignore word endings}
513_textnostem_ {whole word must match}
514_textaccentdiffs_ {Accent differences:}
515_textignoreaccents_ {ignore accents}
516_textmatchaccents_ {accents must match}
517
518_textprefop_ {Return up to _maxdocoption_ hits with _hitsperpageoption_ hits per page.}
519_textextlink_ {Access to external Web pages:}
520_textintlink_ {Source documents retrieved from:}
521_textlanguage_ {Interface language:}
522_textencoding_ {Encoding:}
523_textformat_ {Interface format:}
524_textall_ {all}
525_textquerymode_ {Query mode:}
526_textsimplemode_ {simple query mode}
527_textadvancedmode_ {advanced query mode (allows boolean searching using !, &amp;, |, and parentheses)}
528_textlinkinterm_ {through intermediate page}
529_textlinkdirect_ {go directly there}
530_textdigitlib_ {the digital library}
531_textweb_ {the web}
532_textgraphical_ {Graphical}
533_texttextual_ {Textual}
534_textcollectionoption_ {<p>
535Subcollections to include:
536<br>}
537
538_textsearchtype_ {Query style:}
539_textformsearchtype_ {fielded with _formnumfieldoption_ fields}
540_textsqlformsearchtype_ {SQL fielded with _sqlformnumfieldoption_ fields}
541_textplainsearchtype_ {normal with _boxsizeoption_ query box}
542_textregularbox_ {single line}
543_textlargebox_ {large}
544
545_textrelateddocdisplay_ {display related documents}
546_textsearchhistory_ {Search history:}
547_textnohistory_ {No search history}
548_texthistorydisplay_ {display _historynumrecords_ search history records}
549_textnohistorydisplay_ {do not display search history}
550
551_textbookoption_  {Book viewer mode:}
552_textbookvieweron_ {on}
553_textbookvieweroff_ {off}
554
555# html options
556_textdoclayout_ {Document page layout:}
557_textlayoutnavbar_ {navigation bar at top}
558_textlayoutnonavbar_ {no navigation bar}
559
560_texttermhighlight_ {Search term highlighting:}
561_texttermhighlighton_ {highlight search terms}
562_texttermhighlightoff_ {don't highlight search terms}
563
564#####################################################################
565# 'browse' package for the dynamic browsing interface
566package browse
567#####################################################################
568
569_textsortby_ {Sort documents by}
570_textalsoshowing_ {also showing}
571_textwith_ {with at most}
572_textdocsperpage_ {documents per page}
573
574_textfilterby_ {Get documents containing}
575_textall_ {all}
576_textany_ {any}
577_textwords_ {of the words}
578_textleaveblank_ {leave this box blank to get all the documents}       
579
580_browsebuttontext_ {"Sort Documents"}
581
582_nodata_ {<i>no data</i>}
583_docs_ {documents}
584######################################################################
585# 'help' page -- this is lower priority for translating than the
586# rest of this file
587package help
588######################################################################
589
590
591#------------------------------------------------------------
592# text macros
593#------------------------------------------------------------
594
595_textHelp_ {Help}
596
597# Macros giving a brief help message for navigation bar access buttons
598# The arguments to this will be _textXXX_ and _labelXXX_, where XXX is the metadata name. For example, to print out the help message for a titles classifier, the library will use _textdefaulthelp_(_textTitle_,_labelTitle_)
599# To customize this for a specific metadata, add a macro named _textXXXhelp_ where XXX is the metadata name
600_textdefaulthelp_{browse documents by _1_ by clicking the _2_ button}
601
602_textSearchhelp_ {search for particular words that appear in the text by clicking the _labelSearch_ button}
603_textTohelp_ {browse documents by To field by clicking the _labelTo_ button}
604_textFromhelp_ {browse documents by From field by clicking the _labelFrom_ button}
605_textBrowsehelp_ {browse documents}
606_textAcronymhelp_ {browse documents by acronym occurrence by clicking the _labelAcronym_ button}
607_textPhrasehelp_ {browse phrases occurring in documents by clicking the _labelPhrase_ button. This uses the phind phrase browser.}
608
609_texthelptopicstitle_ {Topics}
610
611_textreadingdocs_ {How to read the documents}
612
613_texthelpreadingdocs_ {
614<p>You can tell when you have arrived at an individual book or document
615because its title, or an image of the front cover, appears at the top
616left of the page. In some collections, a table of contents appears, while in others
617(eg. when the paged image option is used)
618just the page number is shown, along with a box that allows you to select a
619new page and go forward and backward. In the table of contents, the current
620section heading is in bold face, and the table is expandable -- click on the folders
621to open or close them; click on the open book at the top to close it.</p>
622
623<p>Underneath is the text of the current section. When you have read
624through it, there are arrows at the bottom to take you on to the next
625section or back to the previous one.</p>
626
627<p>Below the title or front-cover image are some buttons. Click on
628<i>_document:textEXPANDTEXT_</i> to expand out the whole text of the current section, or
629book. If the document is large, this could take a long time and use a lot
630of memory! Click on <i>_document:textEXPANDCONTENTS_</i> to expand out the whole table of
631contents so that you can see the titles of all chapters and
632subsections. Click on <i>_document:textDETACH_</i> to make a new browser window for this
633document. (This is useful if you want to compare documents, or read two at
634once.) Finally, when you do a search the words you search for are
635highlighted. Click on <i>_document:textNOHIGHLIGHT_</i> to remove highlighting.</p>
636}
637
638# help about the icons
639_texthelpopenbookshelf_ {Open this bookshelf}
640_texthelpopenbook_ {Open/close this book}
641_texthelpviewtextsection_ {View this section of the text}
642_texthelpexpandtext_ {Display all text, or not}
643_texthelpexpandcontents_ {Expand table of contents, or not}
644_texthelpdetachpage_ {Open this page in a new window}
645_texthelphighlight_ {Highlight search terms, or not}
646_texthelpsectionarrows_ {Go to the previous/next section}
647
648
649_texthelpsearchingtitle_ {How to search for particular words}
650
651_texthelpsearching_ {
652<p>
653  From the search page, you make a query in these simple steps:<p>
654 
655  <ol><li>Specify what items you want to search
656      <li>Say whether you want to search for all or just some of the words
657      <li>Type in the words you want to search for
658      <li>Click the <i>Begin Search</i> button
659  </ol>
660
661<p>When you make a query, the titles of twenty matching documents will be shown.
662There is a button at the end to take you on to the next twenty documents.  From
663there you will find buttons to take you on to the third twenty or back to the
664first twenty, and so on.  Click the title of any document, or the little button
665beside it, to see it.
666
667<p>A maximum of 50 is imposed on the number of
668  documents returned.  You can change this number by clicking the
669  <i>_Global:linktextPREFERENCES_</i> button at the top of the page.<p>
670}
671
672_texthelpquerytermstitle_ {Search terms}
673_texthelpqueryterms_ {
674<p>Whatever you type into the query box is interpreted as a list of words or phrases
675called "search terms."  A term is a single word containing only letters and digits, or a phrase consisting of a sequence of words enclosed in double quotes ("...").  Terms are separated by white spaces.  If any other characters such
676as punctuation appear, they serve to separate terms just as though they were
677spaces.  And then they are ignored.  You can't search for words that include
678punctuation.
679
680<p>For example, the query<p>
681    <ul><kbd>Agro-forestry in the Pacific Islands: Systems for Sustainability (1993)</kbd></ul>
682      <p>will be treated the same as<p>
683      <ul><kbd>Agro forestry in the Pacific Islands  Systems for Sustainability  1993 </kbd></ul><p>
684}
685
686_texthelpmgppsearching_ {
687For collections built with MGPP a few other options are available.
688
689<ul>
690<li>A <b>*</b> at the end of a query term  matches all words <b>starting with</b> that word, e.g. <b>comput*</b> matches all words starting with <b>comput</b>.
691<li><b>/x</b> can be used to give higher weight to one or more of the query terms, eg <b>computer/10 science</b> gives computer 10 times more weight than science when ranking documents.
692</ul>
693}
694
695_texthelplucenesearching_ {
696For collections built with Lucene a few other options are available.
697
698<ul>
699<li><b>?</b> can be used as a wildcard in place of a single letter. For example, <b>b?t</b> will match  <b>bet</b>, <b>bit</b> and <b>bat</b> etc.
700<li><b>*</b> can be used as a wildcard in place of multiple letters. For example, <b>comput*</b> matches all words starting with <b>comput</b>.
701</ul>
702Both of these wildcards can be used in the middle of a term, or at the end. They cannot be used at the start of a search term.
703}
704
705_texthelpquerytypetitle_ {Query type}
706_texthelpquerytype_ {
707<p>There are two different kinds of query.
708
709<ul>
710  <li>Queries for <b>all</b> of the words.  These look for documents (or
711      chapters, or titles) that contain all the words you have specified.
712      Documents that satisfy the query are displayed, in build order.
713<p>
714
715  <li>Queries for <b>some</b> of the words.  Just list some terms that are
716      likely to appear in the documents you are looking for.  Documents are
717      displayed in order of how closely they match the query.  When determining
718      the degree of match,
719
720      <p><ul>
721        <li> the more search term occurrences a document contains, the closer it matches;
722        <li> terms which are rare in the collection as a whole are more important than common ones;
723        <li> short documents match better than long ones.
724      </ul>
725</ul>
726
727<p>Use as many search terms as you like--a whole sentence, or even a
728whole paragraph.  If you specify only
729one term, documents will be ordered by its frequency of occurrence.<p>
730}
731
732_texthelpadvancedsearchtitle_ {Advanced searching using the _1_ search engine}
733
734_texthelpadvancedsearch_ {
735<p>If you have selected advanced query mode (in preferences) you have slightly different search options.
736}
737
738_texthelpadvsearchmg_ {
739Advanced searching in MG collections gives you two options, ranked and boolean.
740A <b>ranked</b> search is exactly the same as the <b>some</b> search descibed in <a href="\#query-type">_texthelpquerytypetitle_</a>.
741<p>_texthelpbooleansearch_
742}
743
744_texthelpbooleansearch_ {
745A <b>boolean</b> search allows you to combine terms
746using &amp; (for "and"), | (for "or"), and ! (for "not"), using parentheses for grouping if desired. The default operator is | (for "or").
747<p>
748For example, <b>snail &amp; farming</b> will match documents which contain both <b>snail</b> AND <b>farming</b>, whereas <b>snail | farming</b> will match documents that contain either <b>snail</b> OR <b>farming</b>.
749<b>snail !farming</b> will match documents that contain <b>snail</b> AND DO NOT contain <b>farming</b>.
750<p>
751More precise queries can be specified using combinations of operators and parentheses. For example, <b>(sheep | cattle) &amp; (farm | station)</b>, or <b>sheep | cattle | goat !pig</b>.
752}
753
754_texthelpadvsearchmgpp_ {
755Advanced searches in MGPP collections use boolean operators. _texthelpbooleansearch_
756<p>The results can be displayed in <b>ranked</b> order, as described for the <b>some</b> search in <a href="\#query-type">_texthelpquerytypetitle_</a>, or in "natural" (or "build") order. The latter is the order that documents were processed during the creation of the collection.
757<p>
758Further operators include <b>NEARx</b> and <b>WITHINx</b>.
759NEARx is used to specify the maximum distance (x words)
760which can separate two query terms for a document to match.
761WITHINx specifies that the second term must occur within x words <i>after</i> the first term. This is similar to NEAR but the order is important. The default distance is 20.
762}
763
764_texthelpadvancedsearchextra_{NOTE: These operators are all ignored if you are searching in simple query mode.}
765
766_texthelpadvsearchlucene_ {
767Advanced searches in Lucene collections use boolean operators. _texthelpbooleansearch_
768}
769
770_texthelpformsearchtitle_ {Fielded searching}
771
772_texthelpformsearch_ {
773<p>Fielded searching provides the opportunity to combine searches across fields. For example, one can search for "Smith" in Title AND "snail farming" in Subject. In simple query mode, each line of the form behaves like a normal single line search. The individual lines of the form are combined using AND (for an "all" search) or OR (for a "some" search). Terms inside the field are also combined the same way. In advanced mode, you can specify different combinations of AND/OR/NOT between the fields using the drop-down lists, and inside a field you can use boolean operators.
774}
775
776_texthelpformstemming_ {The "fold" and "stem" boxes allow you to specify whether the terms inside that field are casefolded or stemmed. These are both switched off by default for advanced form searching.}
777
778_textdatesearch_ {Searching with Dates}
779
780_texthelpdatesearch_ {
781Date search lets you find documents that, as well as matching your search
782terms, are about events within a certain timeframe.  You can search for
783documents from a certain year or from a range of years.  Note that you do not
784have to have any search terms -- you can search by date alone; and also that
785you do not have to use dates in your search, if you do not type any dates in it
786 is just the same as if the date search didn't exist.<p>
787}
788
789_texthelpdatehowtotitle_ {How to use this feature:}
790_texthelpdatehowto_ {
791<ul>
792   <li>To search for documents about a single year:<p>
793   <ul>
794       <li>Type in any ordinary search terms as you normally would.
795       <li>Type the year you want into the "Start (or only) date" box.
796       <li>If your date is from before the common era (also known as before
797           Christ), choose the "B.C.E" option from the pulldown menu next to that
798           box.
799       <li>Begin your search as you ordinarily would.
800   </ul>
801<p><li>To search for documents about a time period or range of years:<p>
802   <ul>
803       <li>Type in any ordinary search terms as you normally would.
804       <li>Type the earlier date into the "Start (or only) date" box.
805       <li>Type the later date into the "End date" box.
806       <li>Select "B.C.E" option from the pulldown menu next to any date from before
807           the common era (also known as before Christ).
808       <li>Begin your search as you ordinarily would.
809   </ul>   
810</ul><p>
811}
812
813_texthelpdateresultstitle_ {The way results of your search work}
814_texthelpdateresults_ {
815Generally speaking a search for documents about the year 1903 will not return documents that, say, reference books written in 1903, just documents about 1903.  However, the way that the documents' dates are found, it will return documents that have a date range (for example 1899-1911) that includes 1903, and also those documents which, as part of their text name the century that 1903 is a part of (for example 20th century or twentieth century).  This means that for some documents, the dates in your search will not actually appear in the document text.  For a range search, all of this applies to every date in the range.<p>
816}
817
818_textchangeprefs_ {Changing your preferences}
819
820_texthelppreferences_ {
821<p>When you click the <i>_Global:linktextPREFERENCES_</i> button at the top of the page you will
822be able to change some features of the interface to suit your own requirements.
823}
824
825_texthelpcollectionprefstitle_ {Collection preferences}
826_texthelpcollectionprefs_ {
827<p>Some collections comprise several subcollections, which can be searched
828independently or together, as one unit.  If so, you can select which
829subcollections to include in your searches on the Preferences page.
830}
831
832_texthelplanguageprefstitle_ {Language preferences}
833_texthelplanguageprefs_ {
834<p>Each collection has a default presentation language, but you can switch to
835a different language if you like.  You can also alter the encoding scheme
836used by Greenstone for output to the browser -- the software chooses
837sensible defaults, but with some browsers it may be necessary to switch to
838a different encoding scheme to ensure correct character display.
839All collections allow you to
840switch from the standard graphical interface format to a textual one. This
841is particularly useful for visually impaired users who use large screen
842fonts or speech synthesizers for output.
843}
844
845_texthelppresentationprefstitle_ {Presentation preferences}
846_texthelppresentationprefs_ {
847Depending on the particular collection, there may be several options you can
848set that control the presentation.
849
850<p>Collections of Web pages allow you to suppress the Greenstone navigation bar at
851the top of each document page, so that once you have done a search you land at
852the exact Web page that matches without any Greenstone header.  To do another
853search you will have to use your browser's "back" button.  These collections
854also allow you to suppress Greenstone's warning message when you click a link
855that takes you out of the digital library collection and on to the Web itself.
856And in some Web collections you can control whether the links on the search
857results page take you straight to the actual URL in question, rather than to
858the digital library's copy of the page.
859}
860
861_texthelpsearchprefstitle_ {Search preferences}
862_texthelpsearchprefs_ {
863<p>You can switch to an "advanced" query mode which allows you to combine terms
864using &amp; (for "and"), | (for "or"), and ! (for "not"), using parentheses for
865grouping if desired. This allows you to specify more precise queries.
866<p>_selectsearchtypeprefs_
867<p>_selectwordmodificationprefs_
868<p>You can turn on the search history feature, which shows you your last few
869queries.  This makes it easy to repeat slightly modified versions of previous
870queries.
871<p>Finally, you can control the number of hits returned, and the
872number presented on each screenful.
873}
874
875_textcasefoldprefs_ {A pair of buttons controls whether upper and lower case must match when searching. For example, if "_preferences:textignorecase_" is selected, <i>snail farming</i> will be treated the same as <i>Snail Farming</i> and <i>SNAIL FARMING</i>.}
876_textstemprefs_{A pair of buttons controls whether to ignore word endings or not when searching. For example, if "_preferences:textstem_" is selected, <i>snail farming</i> will be treated the same as <i>snails farm</i> and <i>snail farmer</i>. This currently only works properly for English language text. _selectstemoptionsprefs_}
877_textaccentfoldprefs_ {A pair of buttons controls whether accented and unaccented letters must match when searching. For example, if "_preferences:textignoreaccents_" is selected, <i>fédération</i> will be treated the same as <i>fedération</i> and <i>federation</i>.}
878 
879_textstemoptionsprefs_ {It may be more convenient and precise to use the search term truncation facility described above in "_texthelpquerytermstitle_".}
880
881_textsearchtypeprefsplain_ {It is possible to get a large query box, so that you can easily do paragraph-sized searching. It is surprisingly quick to search for large amounts of text.}
882
883_textsearchtypeprefsform_ {You can change the number of fields shown in the search form.}
884
885_textsearchtypeprefsboth_ {You can switch the search type of the collection between "normal" search, and "fielded" search.
886<ul>
887<li>Normal search provides a single query box. _textsearchtypeprefsplain_</li>
888<li>Fielded search provides a number of query boxes, each querying a different field of the index. This enables searching over different fields at once. _textsearchtypeprefsform_ </li>
889</ul>
890}
891
892
893
894_texttanumbrowseoptions_ {There are _numbrowseoptions_ ways to find information in this collection:}
895
896_textsimplehelpheading_ {How to find information in the _collectionname_ collection}
897
898_texthelpscopetitle_ {Scope of queries}
899_texthelpscope_ {
900<p>
901In most collections you are given a choice of different indexes to search. For example, there might
902be author or title indexes. Or there might be chapter or paragraph indexes. Generally,
903the full matching document is returned regardless of which index you search.
904<p>If documents are books, they will be opened at the appropriate place.
905}
Note: See TracBrowser for help on using the browser.