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