Changeset 3716


Ignore:
Timestamp:
2003-01-28T10:08:00+13:00 (21 years ago)
Author:
kde2
Message:

Updating Language Translation Agency

Location:
trunk/gsdl/macros
Files:
2 edited

Legend:

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

    r3431 r3716  
    10151015
    10161016
     1017######################################################################
     1018# 'translator' pages
     1019package translang
     1020######################################################################
     1021
     1022
     1023#------------------------------------------------------------
     1024# text macros
     1025#------------------------------------------------------------
     1026   
     1027_textcurrpage_ {<p>Page}
     1028_textof_ {of}
     1029_textthanks_ {Thankyou for completing the}
     1030
     1031_texttrans_ {translation.<br>Your local copy of Greenstone should now contain
     1032 the language fragments which you have just translated. To submit your changes
     1033 to the repository please email your language macrofiles greenstone.org. The collection
     1034 of macrofiles will also be rebuilt at this point.}
     1035
     1036_textselectbase_ {Please select a base language from which to translate:}
     1037_textselectforeign_ {Please select the language you are translating into:}
     1038_textselectnew_ {Or enter the name of a new language:}
     1039_textsubmit_ {SUBMIT TRANSLATION}
     1040_textenter_ {ENTER TRANSLATOR}
     1041_textsubmittext_ {
     1042
     1043 <br>Your translations
     1044 will be added to the Greenstone interface and a new page of
     1045 translations will be loaded automatically.<p>
     1046}
     1047
     1048_texttranshead_ {
     1049
     1050<strong><br></center><a href=\"_gwcgi_?a=lang&p=translang\">
     1051<img src=\"_httpimg_/transhead.gif\"></a>
     1052<center><p>
     1053<img src="_httpimg_/divb.gif"></strong><p>
     1054}
     1055
     1056
     1057_textinitial_ {
     1058
     1059</center>
     1060These pages help you improve Greenstone's interface languages or add
     1061new ones. Using them, you can<ul>
     1062
     1063   <li>translate the interface into a new language
     1064   <li>update an existing language interface to reflect new Greenstone
     1065facilities
     1066   <li>correct translation errors in an existing language interface
     1067</ul>
     1068You will have to select (1) a "base language" and (2) the language you
     1069are translating into. The base language is usually English, because
     1070Greenstone is developed in English.<p>
     1071
     1072You proceed by translating the language interface phrase by phrase.
     1073 Many phrases contain HTML formatting commands: you should not
     1074 attempt to translate these but preserve them intact in the translated
     1075 version. Words flanked by underscore (like _this_) should not be
     1076 translated either (they're Greenstone "macro" names). <p>
     1077
     1078You will be presented with a series of web pages, each containing
     1079 several phrases to translate. The Greenstone interface comes in
     1080 two parts, a "core" part (signaled by
     1081 <img src="_httpimg_/core.gif" height=20>)  of phrases used in
     1082 the main system and an "auxiliary" part (signaled by
     1083 <img src="_httpimg_/auxiliary.gif" height=20>) that
     1084 contains phrases in less-frequently-used subsystems (such as the
     1085 Administration pages). Core phrases will be presented first; the
     1086 others only need translating if you want a fully complete
     1087 Greenstone interface.<p>
     1088
     1089Each page ends with a "submit" button. When you press it, changes are
     1090made to Greenstone immediately so that you can check them in situ.
     1091However, you are working on a local copy of Greenstone: the main
     1092version will not be changed automatically. When you are satisfied with
     1093your new language interface, email greenstone.org and ask for the
     1094changes to be incorporated into the main system.<p>
     1095
     1096If you are updating an existing translation, you will not be presented
     1097with phrases for which a translation already exists. To correct a bad
     1098translation, use the <img src="_httpimg_/search.gif" height=20> button to find it, and correct it on the
     1099form provided. Sometimes a translation exists but the base language
     1100text has since been changed (or a new translation has been submitted
     1101that has not yet been incorporated into the current version of
     1102Greenstone). In this case the current translation will be provided and you
     1103should check and update this if necessary.<p>
     1104<center>
     1105}
  • trunk/gsdl/macros/translang.dm

    r3633 r3716  
    44# page content
    55#######################################################################
     6   
     7_pagetitle_ {_collectionname_}
     8_pagescriptextra_ {}
     9_pagebannerextra_ {}
     10_pagefooterextra_ {}
     11
     12_header_ {_cgihead_
     13_htmlhead_(background="_httpiconchalk_")_startspacer__navigationbar_
     14
     15}
     16
     17_header_[v=1] {_cgihead_
     18_htmlhead__navigationbar_
     19
     20}
     21   
     22_cgihead_{}
     23
     24_htmlhead_ {
     25<html_htmlextra_>
     26<head>
     27<title>_pagetitle_</title>
     28_globalscripts_
     29</head>
     30
     31<body bgcolor="\#ffffff" text="\#000000" link="\#006666"
     32      alink="\#cc9900" vlink="\#666633"_1_>
     33<font face="Arial,Verdana">
     34
     35}
     36
     37# _startspacer_ is a spacer to get past the 10010 graphic. It contains an open
     38# <table> tag which must eventually be closed by _endspacer_.
     39_startspacer_ {
     40<table border=0 cellspacing=0 cellpadding=0 width="100%">
     41<tr><td valign=top width=65><img src="_httpimg_/spacer.gif" width="65" height="1" alt="" border="0"></td>
     42<td><center><table width="_pagewidth_"><tr><td>
     43}
     44
     45
     46
     47_footer_ {
     48<!-- page footer (\_style:footer\_) -->
     49_pagefooterextra_
     50</font>
     51</table>
     52_endspacer__htmlfooter_
     53}
     54
     55_endspacer_ {</center>
     56</td></tr></table>
     57}
     58
     59_htmlfooter_ {
     60</body>
     61</html>
     62}
     63
     64_globalscripts_{
     65<script>
     66<!--
     67_imagescript_
     68_pagescriptextra_
     69// -->
     70</script>
     71}
     72
     73_globalscripts_ [v=1] {
     74<script>
     75<!--
     76_If_(_cgiargx_,_scriptdetach_)
     77_pagescriptextra_
     78// -->
     79</script>
     80}
     81
     82_scriptdetach_ {
     83    function close\_detach() \{
     84    close();
     85    \}
     86}
    687
    788_content_ {
    8 <center>
    9 _navigationbar_
    10 </center>
    11 
    12 <form type="post" action="_formaction_">
     89<form type="post" action="_formaction_" accept-charset="UTF-8">
    1390_formcontent_
    1491</form>
    1592}
    1693
     94_imageserch_ { _gsimage_(_gwcgi_?e=p-000-00---0macrop--00-0-0-0prompt-10---4---Document---0-1l--1-en-50---20-about---001-001-1-0utfZz-8-0&a=q,
     95     _httpimg_/search.gif, _httpimg_/search.gif, search, _textimageserch_)}
    1796
     97# THINK SHOULD BE USING S.T LIKE THIS ABOVE COS COMPRESSED ARGS CAN CHANGE!
     98# _httppagex_(search)
     99
     100_textimageserch_ {Search Macrofiles}
Note: See TracChangeset for help on using the changeset viewer.