Changeset 3716
- Timestamp:
- 2003-01-28T10:08:00+13:00 (21 years ago)
- Location:
- trunk/gsdl/macros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/english2.dm
r3431 r3716 1015 1015 1016 1016 1017 ###################################################################### 1018 # 'translator' pages 1019 package 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> 1060 These pages help you improve Greenstone's interface languages or add 1061 new 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 1065 facilities 1066 <li>correct translation errors in an existing language interface 1067 </ul> 1068 You will have to select (1) a "base language" and (2) the language you 1069 are translating into. The base language is usually English, because 1070 Greenstone is developed in English.<p> 1071 1072 You 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 1078 You 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 1089 Each page ends with a "submit" button. When you press it, changes are 1090 made to Greenstone immediately so that you can check them in situ. 1091 However, you are working on a local copy of Greenstone: the main 1092 version will not be changed automatically. When you are satisfied with 1093 your new language interface, email greenstone.org and ask for the 1094 changes to be incorporated into the main system.<p> 1095 1096 If you are updating an existing translation, you will not be presented 1097 with phrases for which a translation already exists. To correct a bad 1098 translation, use the <img src="_httpimg_/search.gif" height=20> button to find it, and correct it on the 1099 form provided. Sometimes a translation exists but the base language 1100 text has since been changed (or a new translation has been submitted 1101 that has not yet been incorporated into the current version of 1102 Greenstone). In this case the current translation will be provided and you 1103 should check and update this if necessary.<p> 1104 <center> 1105 } -
trunk/gsdl/macros/translang.dm
r3633 r3716 4 4 # page content 5 5 ####################################################################### 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 } 6 87 7 88 _content_ { 8 <center> 9 _navigationbar_ 10 </center> 11 12 <form type="post" action="_formaction_"> 89 <form type="post" action="_formaction_" accept-charset="UTF-8"> 13 90 _formcontent_ 14 91 </form> 15 92 } 16 93 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_)} 17 96 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.