[10031] | 1 | # this file must be UTF-8 encoded
|
---|
[10048] | 2 |
|
---|
[10031] | 3 | package gti
|
---|
| 4 |
|
---|
[13691] | 5 | _gtiadministratoremail_ {[email protected]}
|
---|
| 6 |
|
---|
[10031] | 7 | #######################################################################
|
---|
[13673] | 8 | # page head
|
---|
| 9 | #######################################################################
|
---|
[13687] | 10 | _cssheader_ {
|
---|
| 11 | _style:cssheader_
|
---|
| 12 |
|
---|
[13673] | 13 | <style type="text/css">
|
---|
| 14 | div.todo\{float: left; width: 23px; white-space: pre; text-align: right; color: red;\}
|
---|
| 15 | div.update\{float: left; width: 23px; white-space: pre; text-align: right; color: orange;\}
|
---|
| 16 | div.done\{float: left; width: 23px; white-space: pre; text-align: right; color: green;\}
|
---|
[13674] | 17 | div.plus\{float: left; width: 11px; white-space: pre; text-align: center; padding-left: 2px; padding-right: 2px;\}
|
---|
| 18 | div.nowrap\{table-layout: fixed; width: 100px; padding-left:3px; padding-right:3px;\}
|
---|
[13673] | 19 | table.status\{border-collapse: collapse;border-style: none; font-size: 12pt;\}
|
---|
| 20 | td.first\{border:solid; border-width:1px; border-color:grey; border-collapse: collapse; vertical-align: middle;\}
|
---|
| 21 | td.status\{table-layout: fixed; border:solid; border-width:1px; border-color:grey; border-collapse: collapse; vertical-align: middle; text-align: center;\}
|
---|
| 22 | th.status\{border:solid; border-width:1px; border-color:white; border-collapse: collapse; background-color: #d0d0d0; text-align: center;\}
|
---|
| 23 | </style>
|
---|
| 24 | }
|
---|
| 25 |
|
---|
| 26 | #######################################################################
|
---|
[10031] | 27 | # page content
|
---|
| 28 | #######################################################################
|
---|
| 29 |
|
---|
[10720] | 30 | _pagewidth_ {700}
|
---|
| 31 |
|
---|
[10053] | 32 | _pagetitle_ {_textgti_}
|
---|
| 33 |
|
---|
[12553] | 34 | _imagecollection_ {<a href="_gwcgi_?a=gti&p=home&e=_compressedoptions_"><img alt="_textgti_" src="_httpimg_/gti.gif" /></a>}
|
---|
[10084] | 35 |
|
---|
[10053] | 36 | # The preferences button must go to the "homepref" page, since we are not in a collection
|
---|
| 37 |
|
---|
[12180] | 38 | _preflink_ {_navtaborig_(_home:httppagehomepref_,_linktextPREFERENCES_,_textdescrpref_)}
|
---|
[11373] | 39 |
|
---|
[18430] | 40 | _gtidownloadglihelp_ {_gwcgi_?a=gti&p=glihelp&e=_compressedoptions_}
|
---|
| 41 |
|
---|
[10031] | 42 | _content_ {
|
---|
[12479] | 43 | <div class="divbar"> </div>
|
---|
[12553] | 44 |
|
---|
[10052] | 45 | <form method="post" action="_gwcgi_">
|
---|
[10031] | 46 | <input type="hidden" name="a" value="gti"/>
|
---|
| 47 | <input type="hidden" name="e" value="_compressedoptions_">
|
---|
| 48 | _gtiformcontent_
|
---|
| 49 | </form>
|
---|
[12553] | 50 |
|
---|
[12479] | 51 | <div class="divbar"> </div>
|
---|
[10031] | 52 | }
|
---|
| 53 |
|
---|
| 54 | # Content of the GTI "error" page
|
---|
| 55 | _gtierror_ {
|
---|
| 56 | <strong>_textgtierror_:</strong>
|
---|
| 57 | <p>
|
---|
| 58 | <tt>_gtierrormessage_</tt>
|
---|
| 59 | }
|
---|
| 60 |
|
---|
| 61 | # Content of the GTI "home" page
|
---|
| 62 | _gtihome_ {
|
---|
[12553] | 63 | <p>_textgtihome_</p>
|
---|
| 64 |
|
---|
[10031] | 65 | <table border="0" width="100%">
|
---|
[12553] | 66 | <tr><td>_textgtiselecttlc_:</td><td align="right">_gtitlcselection_</td></tr>
|
---|
[10031] | 67 | </table>
|
---|
[12553] | 68 |
|
---|
[10031] | 69 | <center>
|
---|
| 70 | <input type="hidden" name="p" value="lang"/><input type="submit" value="_textgtienter_"/>
|
---|
| 71 | </center>
|
---|
| 72 | }
|
---|
| 73 |
|
---|
| 74 | # Content of the GTI "language status" page
|
---|
| 75 | _gtilang_ {
|
---|
| 76 | <h2>_gtitargetlanguagename_</h2>
|
---|
[12554] | 77 |
|
---|
| 78 | <p>_textgtiselecttfk_:</p>
|
---|
| 79 |
|
---|
[10031] | 80 | _gtitfkselection_
|
---|
[12554] | 81 |
|
---|
[10031] | 82 | <center>
|
---|
| 83 | <input type="hidden" name="p" value="core"/><input type="submit" value="_textgtienter_"/>
|
---|
| 84 | </center>
|
---|
| 85 | }
|
---|
| 86 |
|
---|
[13673] | 87 | # Content of the GTI "view status" page
|
---|
| 88 | _gtistatus_ {
|
---|
| 89 | <h2>_textgtistatustable_</h2>
|
---|
| 90 | <table>
|
---|
| 91 | <tr><td><font color="green">green</font>:</td><td>_textgtinumchunkstranslated2_</td></tr>
|
---|
| 92 | <tr><td><font color="orange">orange</font>:</td><td>_textgtinumchunksrequiringupdating2_</td></tr>
|
---|
| 93 | <tr><td><font color="red">red</font>:</td><td>_textgtinumchunksrequiringtranslation2_</td></tr>
|
---|
| 94 | </table>
|
---|
| 95 | _gtistatustable_
|
---|
| 96 | }
|
---|
| 97 |
|
---|
[10031] | 98 | # Content of the GTI "find text fragments" page
|
---|
| 99 | _gtifind_ {
|
---|
[12553] | 100 | <h2><a href="_gwcgi_?a=gti&p=lang&e=_compressedoptions_">_gtitargetlanguagename_</a> -- <a href="_gwcgi_?a=gti&p=core&e=_compressedoptions_">_gtitranslationfiledesc_</a></h2>
|
---|
[10031] | 101 | <p>
|
---|
| 102 | _textgtienterquery_:
|
---|
| 103 | <p>
|
---|
| 104 | <nobr>
|
---|
| 105 | <input type="text" name="q" value="_cgiargq_" size="_gtitextareawidth_"/>
|
---|
| 106 | <input type="hidden" name="p" value="find"/><input type="submit" value="_textgtifind_"/>
|
---|
| 107 | </nobr>
|
---|
| 108 | _gtifindformcontent_
|
---|
| 109 | }
|
---|
| 110 |
|
---|
[13691] | 111 | # Content of the GTI "offline" page
|
---|
| 112 | _gtioffline_ {
|
---|
| 113 | <h2><a href="_gwcgi_?a=gti&p=lang&e=_compressedoptions_">_gtitargetlanguagename_</a> -- _gtitranslationfiledesc_</h2>
|
---|
| 114 | <p>
|
---|
| 115 | _textgtiofflinetranslation_
|
---|
| 116 | }
|
---|
| 117 |
|
---|
[10031] | 118 | # Content of the GTI "core" page (with text areas for entering and updating translations)
|
---|
| 119 | _gticore_ {
|
---|
[12553] | 120 | <h2><a href="_gwcgi_?a=gti&p=lang&e=_compressedoptions_">_gtitargetlanguagename_</a> -- _gtitranslationfiledesc_</h2>
|
---|
[10031] | 121 | <p>
|
---|
| 122 | <center>
|
---|
| 123 | _gtitranslationfilestatus_(_gtinumchunkstranslated_, _gtinumchunksrequiringtranslation_, _gtinumchunksrequiringupdating_, _gtitargetfilepath_)
|
---|
| 124 | </center>
|
---|
| 125 | <p>
|
---|
| 126 | _gticoreformcontent_
|
---|
| 127 | <p>
|
---|
| 128 | <center>
|
---|
| 129 | <input type="hidden" name="p" value="submit"/><input type="submit" value="_textgtisubmit_"/>
|
---|
| 130 | </center>
|
---|
| 131 | }
|
---|
| 132 |
|
---|
[10719] | 133 | # Content of the GTI "done" page, thanking the translator for completing the file
|
---|
[10031] | 134 | _gtidone_ {
|
---|
[12553] | 135 | <h2><a href="_gwcgi_?a=gti&p=lang&e=_compressedoptions_">_gtitargetlanguagename_</a> -- _gtitranslationfiledesc_</h2>
|
---|
[10031] | 136 | <p>
|
---|
| 137 | <center>
|
---|
| 138 | _gtitranslationfilestatus_(_gtinumchunkstranslated_, _gtinumchunksrequiringtranslation_, _gtinumchunksrequiringupdating_, _gtitargetfilepath_)
|
---|
| 139 | </center>
|
---|
| 140 | <p>
|
---|
| 141 | <hr>
|
---|
| 142 | <p>
|
---|
| 143 | _textgtitranslationfilecomplete_
|
---|
| 144 | }
|
---|
| 145 |
|
---|
| 146 | _gtifindformheader_ {
|
---|
| 147 | <hr><p>_textgtinumchunksmatchingquery_: _gtinumchunksmatchingquery_
|
---|
| 148 | }
|
---|
| 149 |
|
---|
| 150 | _gtifindformfooter_ {
|
---|
| 151 | <p>
|
---|
| 152 | <center>
|
---|
| 153 | <input type="submit" name="sp" value="_textgtisubmit_"/>
|
---|
| 154 | </center>
|
---|
| 155 | }
|
---|
| 156 |
|
---|
[10720] | 157 | _gtitextareawidth_ {85}
|
---|
| 158 | _gtitextareaheight_ {6}
|
---|
[10031] | 159 |
|
---|
| 160 | # --------------------------------------------------------------------------------
|
---|
| 161 | # Displays the status of a translation file
|
---|
| 162 | #
|
---|
| 163 | # Used on the GTI "lang" and "core" pages
|
---|
| 164 | #
|
---|
| 165 | # Parameters: 1 -- Number of chunks translated
|
---|
| 166 | # 2 -- Number of chunks requiring translation
|
---|
| 167 | # 3 -- Number of chunks requiring updating
|
---|
| 168 | # 4 -- Relative URL of target file
|
---|
| 169 | # --------------------------------------------------------------------------------
|
---|
[18430] | 170 |
|
---|
| 171 | # _If_(_gtiglihelpzipfilepath_ ne "", <a href="_httpprefix_/_gtiglihelpzipfilepath_">_textgtiglihelpzipfile_</a>,)<br>
|
---|
| 172 | # <a href="_gwcgi_?a=gti&p=glihelp&e=_compressedoptions_">_textgtiglihelpzipfile_</a>
|
---|
| 173 |
|
---|
[10031] | 174 | _gtitranslationfilestatus_ {
|
---|
| 175 | <table border="0">
|
---|
| 176 | <tr><td align="right">_1_</td><td>_textgtinumchunkstranslated_ (_textgtinumchunksrequiringupdating_(_3_))</td></tr>
|
---|
| 177 | <tr><td align="right">_2_</td><td>_textgtinumchunksrequiringtranslation_</td></tr>
|
---|
[10061] | 178 | _If_(_4_,<tr><td align="right"> </td><td>
|
---|
[12553] | 179 | <a href="_gwcgi_?a=gti&p=find&e=_compressedoptions_">_textgticorrectexistingtranslations_</a><br>
|
---|
[28323] | 180 | _If_("_4_" eq "_gtidownloadglihelp_", <a href="_4_">, <a href="_httpprefix_/_4_">)_textgtidownloadtargetfile_</a>
|
---|
[18460] | 181 |
|
---|
| 182 | _If_(_gtiglihelpzipfilepath_, <a href="_httpprefix_/_gtiglihelpzipfilepath_">_textgtiglihelpzipfile_</a>,)<br>
|
---|
| 183 |
|
---|
[13691] | 184 | <a href="_gwcgi_?a=gti&p=offline&e=_compressedoptions_">_textgtitranslatefileoffline_</a><br>
|
---|
[10061] | 185 | _gtiviewtranslationfileinaction_
|
---|
| 186 | </td></tr>)
|
---|
[10031] | 187 | </table>
|
---|
| 188 | }
|
---|
| 189 |
|
---|
[18460] | 190 | _gtiglihelpzipfilepath_ {}
|
---|
[18430] | 191 |
|
---|
[18460] | 192 | _textgtiglihelpzipfile_ {Clicke here to download the operational files for GLI Help}
|
---|
[18430] | 193 |
|
---|
[10031] | 194 | # --------------------------------------------------------------------------------
|
---|
[13673] | 195 | # Displays the status of a translation file
|
---|
| 196 | #
|
---|
| 197 | # Used on the GTI "view status" page
|
---|
| 198 | #
|
---|
| 199 | # Parameters: 1 -- Number of chunks translated
|
---|
| 200 | # 2 -- Number of chunks requiring translation
|
---|
| 201 | # 3 -- Number of chunks requiring updating
|
---|
| 202 | # --------------------------------------------------------------------------------
|
---|
| 203 | _gtitranslationfilestatus2_ {
|
---|
| 204 | _If_("_1_" eq "0", , <font color="green">_1_</font>+<font color="orange">_3_</font>+<font color="red">_2_</font>)
|
---|
| 205 | }
|
---|
| 206 |
|
---|
| 207 | # --------------------------------------------------------------------------------
|
---|
[10031] | 208 | # Displays text area for correcting a chunk
|
---|
| 209 | #
|
---|
| 210 | # Used on the GTI "find" page
|
---|
| 211 | #
|
---|
| 212 | # Parameters: 1 -- Chunk key
|
---|
| 213 | # 2 -- Target file chunk text
|
---|
| 214 | # --------------------------------------------------------------------------------
|
---|
| 215 | _gtichunkmatchingquery_ {
|
---|
| 216 | <p>
|
---|
| 217 | <center>
|
---|
[10118] | 218 | <table dir="_gtitextdirection_">
|
---|
[10031] | 219 | <tr><td><strong>_1_</strong></td></tr>
|
---|
[10720] | 220 | <tr><td><textarea name="_cgiargtlc_::_1_" rows="_gtitextareaheight_" cols="_gtitextareawidth_">_2_</textarea></td></tr>
|
---|
[10031] | 221 | </table>
|
---|
| 222 | </center>
|
---|
| 223 | }
|
---|
| 224 |
|
---|
| 225 | # --------------------------------------------------------------------------------
|
---|
| 226 | # Displays text areas for translating a chunk
|
---|
| 227 | #
|
---|
| 228 | # Used on the GTI "core" page
|
---|
| 229 | #
|
---|
| 230 | # Parameters: 1 -- Chunk key
|
---|
| 231 | # 2 -- Source file chunk text
|
---|
| 232 | # 3 -- Source file chunk date
|
---|
| 233 | # --------------------------------------------------------------------------------
|
---|
| 234 | _gtichunkrequiringtranslation_ {
|
---|
| 235 | <hr>
|
---|
| 236 | _textgtitranslatingchunk_(_1_)
|
---|
| 237 | <p>
|
---|
| 238 | <center>
|
---|
[10118] | 239 | <table dir="_gtitextdirection_">
|
---|
[10031] | 240 | <tr><td><strong>English</strong></td><td align="right"><font size="-1"><i>_textgtilastupdated_ _3_</i></font></td></tr>
|
---|
[10720] | 241 | <tr><td colspan="2"><textarea name="en::_1_" rows="_gtitextareaheight_" cols="_gtitextareawidth_" readonly="1">_2_</textarea></td></tr>
|
---|
[10031] | 242 | </table>
|
---|
[10118] | 243 | <table dir="_gtitextdirection_">
|
---|
[10031] | 244 | <tr><td><strong>_gtitargetlanguagename_</strong></td><td align="right"> </td></tr>
|
---|
[10720] | 245 | <tr><td colspan="2"><textarea name="_cgiargtlc_::_1_" rows="_gtitextareaheight_" cols="_gtitextareawidth_"></textarea></td></tr>
|
---|
[10031] | 246 | </table>
|
---|
| 247 | </center>
|
---|
| 248 | }
|
---|
| 249 |
|
---|
| 250 | # --------------------------------------------------------------------------------
|
---|
| 251 | # Displays text areas for updating a chunk
|
---|
| 252 | #
|
---|
| 253 | # Used on the GTI "core" page
|
---|
| 254 | #
|
---|
| 255 | # Parameters: 1 -- Chunk key
|
---|
| 256 | # 2 -- Source file chunk text
|
---|
| 257 | # 3 -- Source file chunk date
|
---|
| 258 | # 4 -- Target file chunk text
|
---|
| 259 | # 5 -- Target file chunk date
|
---|
| 260 | # --------------------------------------------------------------------------------
|
---|
| 261 | _gtichunkrequiringupdating_ {
|
---|
| 262 | <hr>
|
---|
| 263 | _textgtiupdatingchunk_(_1_)
|
---|
| 264 | <p>
|
---|
| 265 | <center>
|
---|
[10118] | 266 | <table dir="_gtitextdirection_">
|
---|
[10031] | 267 | <tr><td><strong>English</strong></td><td align="right"><font size="-1"><i>_textgtilastupdated_ _3_</i></font></td></tr>
|
---|
[10720] | 268 | <tr><td colspan="2"><textarea name="en::_1_" rows="_gtitextareaheight_" cols="_gtitextareawidth_" readonly="1">_2_</textarea></td></tr>
|
---|
[10031] | 269 | </table>
|
---|
| 270 | <p>
|
---|
[10118] | 271 | <table dir="_gtitextdirection_">
|
---|
[10031] | 272 | <tr><td><strong>_gtitargetlanguagename_</strong></td><td align="right"><font size="-1"><i>_textgtilastupdated_ _5_</i></font></td></tr>
|
---|
[10720] | 273 | <tr><td colspan="2"><textarea name="_cgiargtlc_::_1_" rows="_gtitextareaheight_" cols="_gtitextareawidth_">_4_</textarea></td></tr>
|
---|
[10031] | 274 | </table>
|
---|
| 275 | </center>
|
---|
| 276 | }
|
---|
[10061] | 277 |
|
---|
| 278 | # Links to see the translation files in action
|
---|
[12553] | 279 | _gtiviewcoredminaction_ {<a href="_gwcgi_?a=p&p=about&c=demo&l=_cgiargtlc_&e=_compressedoptions_">_textgtiviewtargetfileinaction_</a>}
|
---|
| 280 | _gtiviewauxdminaction_ {<a href="_gwcgi_?a=p&p=about&c=demo&l=_cgiargtlc_&e=_compressedoptions_">_textgtiviewtargetfileinaction_</a>}
|
---|
[10061] | 281 |
|
---|
| 282 | _gtiviewperlmodulesinaction_ {}
|
---|
[18430] | 283 | _gtiviewglihelpinaction_{}
|
---|
[10061] | 284 | _gtiviewglidictinaction_ {}
|
---|
[10719] | 285 | _gtiviewgreenorginaction_ {}
|
---|