[10031] | 1 | # this file must be UTF-8 encoded
|
---|
[10048] | 2 |
|
---|
[10031] | 3 | package gti
|
---|
| 4 |
|
---|
| 5 | #######################################################################
|
---|
| 6 | # page content
|
---|
| 7 | #######################################################################
|
---|
| 8 |
|
---|
[10720] | 9 | _pagewidth_ {700}
|
---|
| 10 |
|
---|
[10053] | 11 | _pagetitle_ {_textgti_}
|
---|
| 12 |
|
---|
[10084] | 13 | _imagecollection_ {<a href="_gwcgi_?a=gti&p=home&e=_compressedoptions_"><img src="_httpimg_/gti.gif"></a>}
|
---|
| 14 |
|
---|
[10053] | 15 | # The preferences button must go to the "homepref" page, since we are not in a collection
|
---|
[10872] | 16 | _imagepref_ {_gsimage_(_home:httppagehomepref_,_httpiconcprefof_,_httpiconcprefon_,pref,_textdescrpref_)}
|
---|
[10053] | 17 |
|
---|
[10031] | 18 | _content_ {
|
---|
[10720] | 19 | <img width="_pagewidth_" src="_httpimg_/divb.gif">
|
---|
[10031] | 20 | <p>
|
---|
[10052] | 21 | <form method="post" action="_gwcgi_">
|
---|
[10031] | 22 | <input type="hidden" name="a" value="gti"/>
|
---|
| 23 | <input type="hidden" name="e" value="_compressedoptions_">
|
---|
| 24 | _gtiformcontent_
|
---|
| 25 | </form>
|
---|
| 26 | <p>
|
---|
[10720] | 27 | <img width="_pagewidth_" src="_httpimg_/divb.gif">
|
---|
[10031] | 28 | }
|
---|
| 29 |
|
---|
| 30 | # Content of the GTI "error" page
|
---|
| 31 | _gtierror_ {
|
---|
| 32 | <strong>_textgtierror_:</strong>
|
---|
| 33 | <p>
|
---|
| 34 | <tt>_gtierrormessage_</tt>
|
---|
| 35 | }
|
---|
| 36 |
|
---|
| 37 | # Content of the GTI "home" page
|
---|
| 38 | _gtihome_ {
|
---|
| 39 | _textgtihome_
|
---|
| 40 | <p>
|
---|
| 41 | <table border="0" width="100%">
|
---|
| 42 | <td>_textgtiselecttlc_:</td><td align="right">_gtitlcselection_</td>
|
---|
| 43 | </table>
|
---|
| 44 | <p>
|
---|
| 45 | <center>
|
---|
| 46 | <input type="hidden" name="p" value="lang"/><input type="submit" value="_textgtienter_"/>
|
---|
| 47 | </center>
|
---|
| 48 | }
|
---|
| 49 |
|
---|
| 50 | # Content of the GTI "language status" page
|
---|
| 51 | _gtilang_ {
|
---|
| 52 | <h2>_gtitargetlanguagename_</h2>
|
---|
| 53 | <p>
|
---|
| 54 | _textgtiselecttfk_:
|
---|
| 55 | <p>
|
---|
| 56 | _gtitfkselection_
|
---|
| 57 | <p>
|
---|
| 58 | <center>
|
---|
| 59 | <input type="hidden" name="p" value="core"/><input type="submit" value="_textgtienter_"/>
|
---|
| 60 | </center>
|
---|
| 61 | }
|
---|
| 62 |
|
---|
| 63 | # Content of the GTI "find text fragments" page
|
---|
| 64 | _gtifind_ {
|
---|
| 65 | <h2><a href="_gwcgi_?a=gti&p=lang&e=_compressedoptions_">_gtitargetlanguagename_</a> -- <a href="_gwcgi_?a=gti&p=core&e=_compressedoptions_">_gtitranslationfiledesc_</a></h2>
|
---|
| 66 | <p>
|
---|
| 67 | _textgtienterquery_:
|
---|
| 68 | <p>
|
---|
| 69 | <nobr>
|
---|
| 70 | <input type="text" name="q" value="_cgiargq_" size="_gtitextareawidth_"/>
|
---|
| 71 | <input type="hidden" name="p" value="find"/><input type="submit" value="_textgtifind_"/>
|
---|
| 72 | </nobr>
|
---|
| 73 | _gtifindformcontent_
|
---|
| 74 | }
|
---|
| 75 |
|
---|
| 76 | # Content of the GTI "core" page (with text areas for entering and updating translations)
|
---|
| 77 | _gticore_ {
|
---|
| 78 | <h2><a href="_gwcgi_?a=gti&p=lang&e=_compressedoptions_">_gtitargetlanguagename_</a> -- _gtitranslationfiledesc_</h2>
|
---|
| 79 | <p>
|
---|
| 80 | <center>
|
---|
| 81 | _gtitranslationfilestatus_(_gtinumchunkstranslated_, _gtinumchunksrequiringtranslation_, _gtinumchunksrequiringupdating_, _gtitargetfilepath_)
|
---|
| 82 | </center>
|
---|
| 83 | <p>
|
---|
| 84 | _gticoreformcontent_
|
---|
| 85 | <p>
|
---|
| 86 | <center>
|
---|
| 87 | <input type="hidden" name="p" value="submit"/><input type="submit" value="_textgtisubmit_"/>
|
---|
| 88 | </center>
|
---|
| 89 | }
|
---|
| 90 |
|
---|
[10719] | 91 | # Content of the GTI "done" page, thanking the translator for completing the file
|
---|
[10031] | 92 | _gtidone_ {
|
---|
| 93 | <h2><a href="_gwcgi_?a=gti&p=lang&e=_compressedoptions_">_gtitargetlanguagename_</a> -- _gtitranslationfiledesc_</h2>
|
---|
| 94 | <p>
|
---|
| 95 | <center>
|
---|
| 96 | _gtitranslationfilestatus_(_gtinumchunkstranslated_, _gtinumchunksrequiringtranslation_, _gtinumchunksrequiringupdating_, _gtitargetfilepath_)
|
---|
| 97 | </center>
|
---|
| 98 | <p>
|
---|
| 99 | <hr>
|
---|
| 100 | <p>
|
---|
| 101 | _textgtitranslationfilecomplete_
|
---|
| 102 | }
|
---|
| 103 |
|
---|
| 104 | _gtifindformheader_ {
|
---|
| 105 | <hr><p>_textgtinumchunksmatchingquery_: _gtinumchunksmatchingquery_
|
---|
| 106 | }
|
---|
| 107 |
|
---|
| 108 | _gtifindformfooter_ {
|
---|
| 109 | <p>
|
---|
| 110 | <center>
|
---|
| 111 | <input type="submit" name="sp" value="_textgtisubmit_"/>
|
---|
| 112 | </center>
|
---|
| 113 | }
|
---|
| 114 |
|
---|
[10720] | 115 | _gtitextareawidth_ {85}
|
---|
| 116 | _gtitextareaheight_ {6}
|
---|
[10031] | 117 |
|
---|
| 118 | # --------------------------------------------------------------------------------
|
---|
| 119 | # Displays the status of a translation file
|
---|
| 120 | #
|
---|
| 121 | # Used on the GTI "lang" and "core" pages
|
---|
| 122 | #
|
---|
| 123 | # Parameters: 1 -- Number of chunks translated
|
---|
| 124 | # 2 -- Number of chunks requiring translation
|
---|
| 125 | # 3 -- Number of chunks requiring updating
|
---|
| 126 | # 4 -- Relative URL of target file
|
---|
| 127 | # --------------------------------------------------------------------------------
|
---|
| 128 | _gtitranslationfilestatus_ {
|
---|
| 129 | <table border="0">
|
---|
| 130 | <tr><td align="right">_1_</td><td>_textgtinumchunkstranslated_ (_textgtinumchunksrequiringupdating_(_3_))</td></tr>
|
---|
| 131 | <tr><td align="right">_2_</td><td>_textgtinumchunksrequiringtranslation_</td></tr>
|
---|
[10061] | 132 | _If_(_4_,<tr><td align="right"> </td><td>
|
---|
| 133 | <a href="_gwcgi_?a=gti&p=find&e=_compressedoptions_">_textgticorrectexistingtranslations_</a><br>
|
---|
| 134 | <a href="_httpprefix_/_4_">_textgtidownloadtargetfile_</a><br>
|
---|
| 135 | _gtiviewtranslationfileinaction_
|
---|
| 136 | </td></tr>)
|
---|
[10031] | 137 | </table>
|
---|
| 138 | }
|
---|
| 139 |
|
---|
| 140 | # --------------------------------------------------------------------------------
|
---|
| 141 | # Displays text area for correcting a chunk
|
---|
| 142 | #
|
---|
| 143 | # Used on the GTI "find" page
|
---|
| 144 | #
|
---|
| 145 | # Parameters: 1 -- Chunk key
|
---|
| 146 | # 2 -- Target file chunk text
|
---|
| 147 | # --------------------------------------------------------------------------------
|
---|
| 148 | _gtichunkmatchingquery_ {
|
---|
| 149 | <p>
|
---|
| 150 | <center>
|
---|
[10118] | 151 | <table dir="_gtitextdirection_">
|
---|
[10031] | 152 | <tr><td><strong>_1_</strong></td></tr>
|
---|
[10720] | 153 | <tr><td><textarea name="_cgiargtlc_::_1_" rows="_gtitextareaheight_" cols="_gtitextareawidth_">_2_</textarea></td></tr>
|
---|
[10031] | 154 | </table>
|
---|
| 155 | </center>
|
---|
| 156 | }
|
---|
| 157 |
|
---|
| 158 | # --------------------------------------------------------------------------------
|
---|
| 159 | # Displays text areas for translating a chunk
|
---|
| 160 | #
|
---|
| 161 | # Used on the GTI "core" page
|
---|
| 162 | #
|
---|
| 163 | # Parameters: 1 -- Chunk key
|
---|
| 164 | # 2 -- Source file chunk text
|
---|
| 165 | # 3 -- Source file chunk date
|
---|
| 166 | # --------------------------------------------------------------------------------
|
---|
| 167 | _gtichunkrequiringtranslation_ {
|
---|
| 168 | <hr>
|
---|
| 169 | _textgtitranslatingchunk_(_1_)
|
---|
| 170 | <p>
|
---|
| 171 | <center>
|
---|
[10118] | 172 | <table dir="_gtitextdirection_">
|
---|
[10031] | 173 | <tr><td><strong>English</strong></td><td align="right"><font size="-1"><i>_textgtilastupdated_ _3_</i></font></td></tr>
|
---|
[10720] | 174 | <tr><td colspan="2"><textarea name="en::_1_" rows="_gtitextareaheight_" cols="_gtitextareawidth_" readonly="1">_2_</textarea></td></tr>
|
---|
[10031] | 175 | </table>
|
---|
[10118] | 176 | <table dir="_gtitextdirection_">
|
---|
[10031] | 177 | <tr><td><strong>_gtitargetlanguagename_</strong></td><td align="right"> </td></tr>
|
---|
[10720] | 178 | <tr><td colspan="2"><textarea name="_cgiargtlc_::_1_" rows="_gtitextareaheight_" cols="_gtitextareawidth_"></textarea></td></tr>
|
---|
[10031] | 179 | </table>
|
---|
| 180 | </center>
|
---|
| 181 | }
|
---|
| 182 |
|
---|
| 183 | # --------------------------------------------------------------------------------
|
---|
| 184 | # Displays text areas for updating a chunk
|
---|
| 185 | #
|
---|
| 186 | # Used on the GTI "core" page
|
---|
| 187 | #
|
---|
| 188 | # Parameters: 1 -- Chunk key
|
---|
| 189 | # 2 -- Source file chunk text
|
---|
| 190 | # 3 -- Source file chunk date
|
---|
| 191 | # 4 -- Target file chunk text
|
---|
| 192 | # 5 -- Target file chunk date
|
---|
| 193 | # --------------------------------------------------------------------------------
|
---|
| 194 | _gtichunkrequiringupdating_ {
|
---|
| 195 | <hr>
|
---|
| 196 | _textgtiupdatingchunk_(_1_)
|
---|
| 197 | <p>
|
---|
| 198 | <center>
|
---|
[10118] | 199 | <table dir="_gtitextdirection_">
|
---|
[10031] | 200 | <tr><td><strong>English</strong></td><td align="right"><font size="-1"><i>_textgtilastupdated_ _3_</i></font></td></tr>
|
---|
[10720] | 201 | <tr><td colspan="2"><textarea name="en::_1_" rows="_gtitextareaheight_" cols="_gtitextareawidth_" readonly="1">_2_</textarea></td></tr>
|
---|
[10031] | 202 | </table>
|
---|
| 203 | <p>
|
---|
[10118] | 204 | <table dir="_gtitextdirection_">
|
---|
[10031] | 205 | <tr><td><strong>_gtitargetlanguagename_</strong></td><td align="right"><font size="-1"><i>_textgtilastupdated_ _5_</i></font></td></tr>
|
---|
[10720] | 206 | <tr><td colspan="2"><textarea name="_cgiargtlc_::_1_" rows="_gtitextareaheight_" cols="_gtitextareawidth_">_4_</textarea></td></tr>
|
---|
[10031] | 207 | </table>
|
---|
| 208 | </center>
|
---|
| 209 | }
|
---|
[10061] | 210 |
|
---|
| 211 | # Links to see the translation files in action
|
---|
| 212 | _gtiviewcoredminaction_ {<a href="_gwcgi_?a=p&p=about&c=demo&l=_cgiargtlc_&e=_compressedoptions_">_textgtiviewtargetfileinaction_</a>}
|
---|
| 213 | _gtiviewauxdminaction_ {<a href="_gwcgi_?a=p&p=about&c=demo&l=_cgiargtlc_&e=_compressedoptions_">_textgtiviewtargetfileinaction_</a>}
|
---|
| 214 |
|
---|
| 215 | _gtiviewperlmodulesinaction_ {}
|
---|
| 216 | _gtiviewglidictinaction_ {}
|
---|
[10719] | 217 | _gtiviewgreenorginaction_ {}
|
---|