Changeset 1289


Ignore:
Timestamp:
2000-07-18T11:33:14+12:00 (24 years ago)
Author:
sjboddie
Message:

tidied up macro files a little more

Location:
trunk/gsdl/macros
Files:
1 deleted
23 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/about.dm

    r1263 r1289  
    3737# set from within server
    3838_textsubcollections_ {}
    39 
    40 
    41 
    42 
    43 
    44 
  • trunk/gsdl/macros/authen.dm

    r1129 r1289  
    11package authen
    2 
    32
    43#######################################################################
     
    6463_authen:messagestatus_
    6564}
    66 
    67 
    68 
    69 
    70 
    71 
    72 
  • trunk/gsdl/macros/base.dm

    r1275 r1289  
    646646
    647647_imagegreenstone_[v=1] {_textimagegreenstone_}
    648 
    649 
    650 
    651 
    652 
    653 
    654 
    655 
    656 
    657 
    658 
    659 
    660 
    661 
    662 
  • trunk/gsdl/macros/build.dm

    r1180 r1289  
    16101610
    16111611}
    1612 
    1613 
    1614 
    1615 
    1616 
    1617 
  • trunk/gsdl/macros/delhistory.dm

    r942 r1289  
    3434
    3535}
    36 
  • trunk/gsdl/macros/document.dm

    r1207 r1289  
    326326_endspacer__htmlfooter_
    327327}
    328 
    329 
    330 #######################################################################
    331 # English language text macros
    332 #######################################################################
    333 
    334 # moved to english.dm
    335 
    336 
    337 
    338 #######################################################################
    339 # Maori text macros
    340 #######################################################################
    341 
    342 # moved to maori.dm
    343 
    344 
    345 
    346 #######################################################################
    347 # Chinese text macros
    348 #######################################################################
    349 
    350 # moved to chinese.dm
    351 
    352 
    353 
    354 
  • trunk/gsdl/macros/english.dm

    r1275 r1289  
    495495_textbeginsearch_ {Begin Search}
    496496
    497 # the textselect macro may need to be overridden for some collections
    498497# _hselection_, _jselection_ and _nselection_ are set from within the server
    499498# some or all of them may remain unset
    500 _textselect_ {_If_(_cgiargb_,_textadvancedsearch_,_textsimplesearch_)}
    501 
    502499_textsimplesearch_ {Search for _If_(_hselection_, _hselection_)_If_(_jselection_,_textjselect_)_If_(_gselection_, at _gselection_ level)_If_(_nselection_, in _nselection_ language)
    503500which contain _querytypeselection_ of the words}
     
    507504
    508505_textjselect_ {_If_(_hselection_, of) _jselection_}
    509 
    510 _querytypeselection_ {
    511 <select name="t">
    512 <option value="1"_If_(_cgiargt_, selected)>_textsome_
    513 <option value="0"_If_(_cgiargt_,, selected)>_textall_
    514 </select>
    515 }
    516506
    517507_textstemon_ { (ignoring word endings)}
     
    1000990<p>If documents are books, they will be opened at the appropriate place.
    1001991}
    1002 
    1003 
    1004 #------------------------------------------------------------
    1005 # icons
    1006 #------------------------------------------------------------
  • trunk/gsdl/macros/english2.dm

    r1275 r1289  
    163163_textmessagestalekey_ {The link you have followed is now stale.
    164164Please enter your password to access this page.}
    165 
    166 
    167 #------------------------------------------------------------
    168 # icons
    169 #------------------------------------------------------------
    170 
  • trunk/gsdl/macros/extlink.dm

    r931 r1289  
    1616<p> _textlinknotfoundcontent_
    1717}
    18 
    19 
  • trunk/gsdl/macros/french.dm

    r1266 r1289  
    1 ######################################################################
    2 #
    3 # English Language text and icon macros
    4 #
    5 ######################################################################
    6 #
    7 # This is the main macro file for translation when creating an
    8 # interface in another language.
    9 #
    10 # Under the 'text macros' comments are text macros of the form:
    11 # _macroname_ {macro value}
    12 # Everything between the {} is the text to be translated. This text
    13 # may itself contain macros (i.e. characters other than space between
    14 # underscore characters, e.g. _about:numdocs_ or _textpage_). These
    15 # macro names occurring within text shouldn't be translated but should
    16 # be left as they are. Underscores or curly brackets occurring
    17 # naturally within the text should be escaped with a leading backslash
    18 # (i.e. '\_', '\{' or '\}).
    19 #
    20 # Under the 'icons' comments are macros concerned with displaying
    21 # icons which themselves contain text.
    22 # Above each macro (or group of macros) for an icon is a comment line
    23 # that looks something like '## "HOME" ## top_nav_button ## chome ##'.
    24 # The first field of the comment ("HOME" in this case) is the text
    25 # that appears in the english version of the icon. This is the text
    26 # that must be translated, nothing needs to be done to the macros
    27 # themselves. The other two fields of the comments are used by
    28 # automatic icon generating software which reads the newly translated
    29 # file and generates appropriate icons.
    30 #
    31 # Comment lines (other than those described above) need not be
    32 # translated (i.e. any lines beginning with '#', like this line).
    33 #
    34 # The simplest way to translate this file is to save it as something
    35 # else (e.g. french.dm) and work through translating all the text
    36 # macro values and icon comments.
    37 #
    38 ######################################################################
    39 
    40 
    411######################################################################
    422# Global (base) package
     
    454414_textbeginsearch_ [l=fr] {Demarrer la recherche}
    455415
    456 # the textselect macro may need to be overridden for some collections
    457 # _hselection_, _jselection_ and _nselection_ are set from within the server
    458 # some or all of them may remain unset
    459 _textselect_ [l=fr] {_If_(_cgiargb_,_textadvancedsearch_,_textsimplesearch_)}
    460 
    461416_textsimplesearch_ [l=fr] {Rechercher pour des _If_(_hselection_, _hselection_)_If_(_jselection_,_textjselect_)_If_(_nselection_, in _nselection_ language)
    462417contenant _querytypeselection_ mots}
     
    466421
    467422_textjselect_ [l=fr] {_If_(_hselection_, of) _jselection_}
    468 
    469 _querytypeselection_ [l=fr] {
    470 <select name="t">
    471 <option value="1"_If_(_cgiargt_, selected)>_textsome_
    472 <option value="0"_If_(_cgiargt_,, selected)>_textall_
    473 </select>
    474 }
    475423
    476424_textstemon_ [l=fr] { (ignorer la fin des mots)}
  • trunk/gsdl/macros/french2.dm

    r1266 r1289  
    1 ######################################################################
    2 #
    3 # English Language text and icon macros
    4 # -- this file contains english text that is of less importance
    5 # -- to translate when creating a new interface language
    6 ######################################################################
    7 
    8 
    9 ######################################################################
    10 # 'home' page
    11 package home
    12 ######################################################################
    13 
    14 #------------------------------------------------------------
    15 # text macros
    16 #------------------------------------------------------------
    17 
    18 _documents_ [l=fr] { documents. }
    19 _lastupdate_ [l=fr] {Last updated}
    20 _ago_ [l=fr] {days ago.}
    21 _colnotbuilt_ [l=fr] {Collection not built.}
    22 
    23 _textpagetitle_ [l=fr] {Greenstone Digital Library}
    24 _textfb_ [l=fr] {Feedback}
    25 _textinfosheet_ [l=fr] {Info Sheet}
    26 
    27 _textprojhead_ [l=fr] {The Greenstone software and <br>The New Zealand Digital Library Project}
    28 _textprojinfo_ [l=fr] {
    29 <p>
    30 The Greenstone Digital Library software provides a new way of
    31 organizing information and making it available over the Internet or on
    32 CD-ROM. It is open-source software, available under the terms of the
    33 GNU General Public License.
    34 <p>
    35 A digital library is made up of a set of collections. Each collection of
    36 information comprises several (typically several thousand, or even
    37 several million) documents, which share a uniform searching and
    38 browsing interface. Collections can be organized in many different
    39 ways while retaining a strong family resemblance.
    40 <p>
    41 The
    42 <a href="http://www.nzdl.org">New Zealand Digital Library Project</a>
    43 is a research programme at The University of Waikato whose aim is to
    44 develop the underlying technology for digital libraries and make it
    45 available publicly so that others can use it to create their own
    46 collections.
    47 Greenstone was created to further this objective.
    48 Further details are available from 
    49 <a href="http://www.nzdl.org">http://www.nzdl.org</a>
    50 }
    51 
    52 _textpoem_ [l=fr] {
    53 <br><h2>Kia papapounamu te moana</h2>
    54 
    55 <p>kia hora te marino,
    56 <br>kia tere te karohirohi,
    57 <br>kia papapounamu te moana
    58 
    59 <p>may peace and calmness surround you,
    60 <br>may you reside in the warmth of a summer's haze,
    61 <br>may the ocean of your travels be as smooth as the polished greenstone.
    62 }
    63 
    64 _textgreenstone_ [l=fr] {
    65 <p>Greenstone is a semi-precious stone that (like this software) is sourced in New Zealand.  In traditional Maori society it was the most highly prized and sought after of all substances.  It can absorb and hold <i>wairua</i>, which is a spirit or life force, and is endowed with traditional virtues that make it an appropriate emblem for a
    66 public-domain digital library project.  Its lustre shows charity; its
    67 translucence, honesty; its toughness, courage; and the sharp edge it can
    68 take, justice.  The carved piece used in the Greenstone Digital Library
    69 Software logo is a <i>patu</i> or fighting club, and is a family heirloom
    70 of one of our project members.  In hand-to-hand combat its delivery is very
    71 quick, very accurate, and very complete.  We like to think these qualities
    72 also apply to our software, the razor sharp edge of the <i>patu</i>
    73 symbolizing the leading edge of technology.
    74 }
    75 
    76 #------------------------------------------------------------
    77 # icons
    78 #------------------------------------------------------------
    79 
    80 ## "THE NEW ZEALAND DIGITAL LIBRARY" ## nzdl_heading ## nzdl2gr ##
    81 _httpiconnzdl_ [l=fr] {_httpimg_/nzdl2gr.gif}
    82 _widthnzdl_ [l=fr] {457}
    83 _heightnzdl_ [l=fr] {181}
    84 
    85 ## "select a collection" ## green_bar_left_aligned ## selcolgr ##
    86 _httpiconselcolgr_ [l=fr] {_httpimg_/selcolgr.gif}
    87 _widthselcolgr_ [l=fr] {537}
    88 _heightselcolgr_ [l=fr] {17}
    89 _altselcolgr_ [l=fr] {"Select a collection"}
    90 
    91 
    92 ######################################################################
    93 # 'status' pages
    94 package status
    95 ######################################################################
    96 
    97 
    98 #------------------------------------------------------------
    99 # text macros
    100 #------------------------------------------------------------
    101 
    102 _textframebrowser_ [l=fr] {You must have a frame enabled browser to view this.}
    103 _textusermanage_ [l=fr] {User management}
    104 _textlistusers_ [l=fr] {list users}
    105 _textaddusers_ [l=fr] {add a new user}
    106 
    107 _textinfo_ [l=fr] {Information}
    108 _textgeneral_ [l=fr] {general}
    109 _textarguments_ [l=fr] {arguments}
    110 _textactions_ [l=fr] {actions}
    111 _textprotocols_ [l=fr] {protocols}
    112 
    113 _textcollections_ [l=fr] {Collections}
    114 _textnewcoll_ [l=fr] {new collection}
    115 _texteditcoll_ [l=fr] {edit collection}
    116 _textbuildcoll_ [l=fr] {build collection}
    117 _textdeletecoll_ [l=fr] {delete collection}
    118 
    119 _textlogs_ [l=fr] {Logs}
    120 _textinitlog_ [l=fr] {init log}
    121 _texterrorlog_ [l=fr] {error log}
    122 
    123 _textreturnhome_ [l=fr] {Return to home page}
    124 
    125 _titlewelcome_ [l=fr] { Maintenance and Administration }
    126 
    127 _welcome_ [l=fr] {
    128 
    129 <p> Maintenance and administration services available include:
    130     view on-line logs;
    131     create, maintain and update collections;
    132     and access technical information such as CGI arguments. 
    133     These services are accessed using the
    134     side navigation bar on the lefthand side of the page.
    135 }
    136 
    137 
    138 #------------------------------------------------------------
    139 # icons
    140 #------------------------------------------------------------
    141 
    142 
     1# partially completed French translation of english2.dm
    1432
    1443######################################################################
     
    1465package html
    1476######################################################################
    148 
    1497
    1508#------------------------------------------------------------
     
    15412_textframebrowser_ [l=fr] {Vous devez avoir un navigateur acceptant les 'frames' pour voir ca.}
    15513
    156 
    15714#------------------------------------------------------------
    15815# icons
    15916#------------------------------------------------------------
    160 
    16117
    16218
     
    16521package extlink
    16622######################################################################
    167 
    16823
    16924#------------------------------------------------------------
     
    20358
    20459
    205 
    20660######################################################################
    20761# authentication page
     
    23185_textmessagestalekey_ [l=fr] {Le lien que vous avez choisit est maintenant perime.
    23286Veuillez entrez votre mot de passe pour acceder a cette page.}
    233 
    234 
    235 #------------------------------------------------------------
    236 # icons
    237 #------------------------------------------------------------
    238 
  • trunk/gsdl/macros/german.dm

    r1266 r1289  
    461461_textbeginsearch_ [l=de] {Suche beginnen}
    462462
    463 # the textselect macro may need to be overridden for some collections
    464 # _hselection_, _jselection_ and _nselection_ are set from within the server
    465 # some or all of them may remain unset
    466 _textselect_ [l=de] {_If_(_cgiargb_,_textadvancedsearch_,_textsimplesearch_)}
    467 
    468463_textsimplesearch_ [l=de] {Suche nach _If_(_hselection_, _hselection_)_If_(_jselection_,_textjselect_)_If_(_nselection_, in der _nselection_ Sprache)
    469464die _querytypeselection_ der W&ouml;rter enthalten}
     
    473468
    474469_textjselect_ [l=de] {_If_(_hselection_, aus) _jselection_}
    475 
    476 _querytypeselection_ [l=de] {
    477 <select name="t">
    478 <option value="1"_If_(_cgiargt_, ausgew&auml;hlt)>_textsome_
    479 <option value="0"_If_(_cgiargt_,, ausgew&auml;hlt)>_textall_
    480 </select>
    481 }
    482470
    483471_textstemon_ [l=de] { (Wortendungen werden ignoriert)}
     
    10241012an der passenden Stelle (in der Kollektion) ge&ouml;ffnet.
    10251013}
    1026 
    1027 
    1028 #------------------------------------------------------------
    1029 # icons
    1030 #------------------------------------------------------------
  • trunk/gsdl/macros/help.dm

    r931 r1289  
    2727<p>_iconblankbar_
    2828}
    29 
    30 
    31 
    32 
    33 
    34 
    35 
    36 
    37 
  • trunk/gsdl/macros/home.dm

    r1275 r1289  
    5757<tr valign=top>
    5858<td>
    59 <p>_icongbull_ <a href="mailto:_mailaddr_">_textfb_</a>
    60 <p>_icongbull_ <a href="http://www.nzdl.org">NZDL</a>
    61 <p>_icongbull_ <a href="_httppagex_(gsdl)">Greenstone</a>
    62 <p>_iconpdf_   <a href="_gsdl:httpgsdlmanual_">Manual</a></i>
    63 <p>_iconpdf_   <a href="_httppublications_/NZDLtext.pdf">_textinfosheet_</a>
     59<table><tr valign=middle><td>_icongbull_</td><td><a href="mailto:_mailaddr_">_textfb_</a></td></tr></table>
     60<table><tr valign=middle><td>_icongbull_</td><td><a href="http://www.nzdl.org">NZDL</a></td></tr></table>
     61<table><tr valign=middle><td>_icongbull_</td><td><a href="_httppagex_(gsdl)">Greenstone</a></td></tr></table>
     62<table><tr valign=middle><td>_iconpdf_</td><td><a href="_gsdl:httpgsdlmanual_">Manual</a></i></td></tr></table>
     63<table><tr valign=middle><td>_iconpdf_</td><td><a href="_httppublications_/NZDLtext.pdf">_textinfosheet_</a></td></tr></table>
    6464<p><a href="_httppagestatus_"><img src="_httpimg_/tabspace.gif" width=60 height=20 border=0></a>
    6565</td>
     
    8282New Zealand
    8383}
    84 
  • trunk/gsdl/macros/html.dm

    r876 r1289  
    11package html
    2 
    32
    43_header_ {<html>
     
    5756</center>
    5857}
    59 
    60 
    61 
    62 
    63 
    64 
    65 
    66 
  • trunk/gsdl/macros/maori.dm

    r1266 r1289  
    404404_httpiconhpref_ [l=mi] {_httpimg_/mi/h\_pref.gif}
    405405_widthhpref_ [l=mi] {220}
    406 
    407 
    408 
    409 
  • trunk/gsdl/macros/nzdlhome.dm

    r1275 r1289  
    8888<tr valign=top>
    8989<td>
    90 <table><tr valign=top><td>_icongbull_</td><td><a href="mailto:_mailaddr_">_textfb_</a></td></tr></table>
    91 <table><tr valign=top><td>_icongbull_</td><td><a href="http://www.nzdl.org/html/people.html">People</a></td></tr></table>
     90<table><tr valign=middle><td>_icongbull_</td><td><a href="mailto:_mailaddr_">_textfb_</a></td></tr></table>
     91<table><tr valign=middle><td>_icongbull_</td><td><a href="http://www.nzdl.org/html/people.html">People</a></td></tr></table>
    9292</td>
    9393<td>_textprojinfo_</td>
     
    100100<tr valign=top>
    101101<td>
    102 <table><tr valign=top><td>_icongbull_</td><td><a href="_httppagex_(gsdl)">About<br>Greenstone</a></td></tr></table>
    103 <table><tr valign=top><td>_icongbull_</td><td><a href="http://www.nzdl.org/html/DOWNLOAD.html">Download<br>Greenstone</a></td></tr></table>
    104 <table><tr valign=top><td>_icongbull_</td><td><a href="http://www.nzdl.org/html/trouble.html">Installation<br>Guide</a></td><td><img src="http://www.nzdl.org/images/new2.gif"></td></tr></table>
    105 <table><tr valign=top><td>_iconpdf_</td><td><a href="_gsdl:httpgsdlmanual_">Manual</a></td></tr></table>
    106 <table><tr valign=top><td>_iconpdf_</td><td><a href="_httppublications_/NZDLtext.pdf">_textinfosheet_</a></td></tr></table>
     102<table><tr valign=middle><td>_icongbull_</td><td><a href="_httppagex_(gsdl)">About<br>Greenstone</a></td></tr></table>
     103<table><tr valign=middle><td>_icongbull_</td><td><a href="http://www.nzdl.org/html/DOWNLOAD.html">Download<br>Greenstone</a></td></tr></table>
     104<table><tr valign=middle><td>_icongbull_</td><td><a href="http://www.nzdl.org/html/trouble.html">Installation<br>Guide</a></td><td><img src="http://www.nzdl.org/images/new2.gif"></td></tr></table>
     105<table><tr valign=middle><td>_iconpdf_</td><td><a href="_gsdl:httpgsdlmanual_">Manual</a></td></tr></table>
     106<table><tr valign=middle><td>_iconpdf_</td><td><a href="_httppublications_/NZDLtext.pdf">_textinfosheet_</a></td></tr></table>
    107107
    108108</td>
     
    116116<tr valign=top>
    117117<td>
    118 <table><tr valign=top><td>_icongbull_</td><td><a href="http://www.nzdl.org/html/research.html">Research</a></td></tr></table>
    119 <table><tr valign=top><td>_icongbull_</td><td><a href="http://www.nzdl.org/html/projects.html">Projects</a></td></tr></table>
    120 <table><tr valign=top><td>_icongbull_</td><td><a href="http://www.nzdl.org/html/software.html">Software<br>Downloads</a></td></tr></table>
    121 <table><tr valign=top><td>_icongbull_</td><td><a href="http://www.cs.waikato.ac.nz/~nzdl/publications/">Publications</a></td></tr></table>
     118<table><tr valign=middle><td>_icongbull_</td><td><a href="http://www.nzdl.org/html/research.html">Research</a></td></tr></table>
     119<table><tr valign=middle><td>_icongbull_</td><td><a href="http://www.nzdl.org/html/projects.html">Projects</a></td></tr></table>
     120<table><tr valign=middle><td>_icongbull_</td><td><a href="http://www.nzdl.org/html/software.html">Software<br>Downloads</a></td></tr></table>
     121<table><tr valign=middle><td>_icongbull_</td><td><a href="http://www.cs.waikato.ac.nz/~nzdl/publications/">Publications</a></td></tr></table>
    122122</td>
    123123<td>_textresearchinfo_</td>
     
    126126<tr valign=top>
    127127<td>
    128 <table><tr valign=top><td>_icongbull_</td><td><a href="http://nikau.cs.waikato.ac.nz/~johnmcp/gsdl/cgi-bin/library.cgi">Z39.50<br>demo</a></td><td><img src="http://www.nzdl.org/images/new2.gif"></td></tr></table>
     128<table><tr valign=middle><td>_icongbull_</td><td><a href="http://nikau.cs.waikato.ac.nz/~johnmcp/gsdl/cgi-bin/library.cgi">Z39.50<br>demo</a></td><td><img src="http://www.nzdl.org/images/new2.gif"></td></tr></table>
    129129</td><td>
    130130We have an experimental facility for searching Z39.50 collections using
     
    359359# bbc no longer public
    360360#<p>_collectionlink_(bbc1, bbc_home.gif, "BBC archives (1900-1985)", bbc1)
    361 
    362 
    363 
    364 
    365 
    366 
    367 
  • trunk/gsdl/macros/pref.dm

    r1234 r1289  
    416416
    417417_iconthispage_ {<img src="_httpiconhpref_" alt="_textpreferences_" width="_widthhpref_" height="_heighthpref_">}
    418 
    419 
    420 
    421 
    422 
    423 
    424 
    425 
  • trunk/gsdl/macros/query.dm

    r1263 r1289  
    8989}
    9090
     91_textselect_ {_If_(_cgiargb_,_textadvancedsearch_,_textsimplesearch_)}
     92
    9193# we want to put the links to previous/next pages of results
    9294# in the footer
     
    101103}
    102104
    103 #######################################################################
    104 # English text
    105 #######################################################################
    106 
    107 # moved to english.dm
    108 
    109 
    110 
    111 #######################################################################
    112 # Maori text       
    113 #######################################################################
    114 
    115 #moved to  maori.dm
    116 
    117 
    118 
    119 
    120 
    121 
    122 
    123 
    124 
    125 
    126 
    127 
    128 
    129 
    130 
     105_querytypeselection_ {
     106<select name="t">
     107<option value="1"_If_(_cgiargt_, selected)>_textsome_
     108<option value="0"_If_(_cgiargt_,, selected)>_textall_
     109</select>
     110}
  • trunk/gsdl/macros/spanish.dm

    r1266 r1289  
    452452_textbeginsearch_ [l=es] {Iniciar la b&uacute;squeda}
    453453
    454 # the textselect macro may need to be overridden for some collections
    455 # _hselection_, _jselection_ and _nselection_ are set from within the server
    456 # some or all of them may remain unset
    457 _textselect_ [l=es] {_If_(_cgiargb_,_textadvancedsearch_,_textsimplesearch_)}
    458 
    459454_textsimplesearch_ [l=es] {Buscar _If_(_hselection_, _hselection_)_If_(_jselection_,_textjselect_)_If_(_nselection_, en idioma _nselection_)
    460455que contengan _querytypeselection_ las palabras}
     
    464459
    465460_textjselect_ [l=es] {_If_(_hselection_, de) _jselection_}
    466 
    467 _querytypeselection_ [l=es] {
    468 <select name="t">
    469 <option value="1"_If_(_cgiargt_, selected)>_textsome_
    470 <option value="0"_If_(_cgiargt_,, selected)>_textall_
    471 </select>
    472 }
    473461
    474462_textstemon_ [l=es] { (ignorar las terminaciones de las palabras)}
     
    974962predefinido.
    975963}
    976 
    977 
    978 #------------------------------------------------------------
    979 # icons
    980 #------------------------------------------------------------
  • trunk/gsdl/macros/style.dm

    r876 r1289  
    174174    \}
    175175}
    176 
    177 
    178 
    179 
    180 
    181 
Note: See TracChangeset for help on using the changeset viewer.