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