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