Mercurial > hgbook
comparison tools/po4a/lib/Locale/Po4a/Docbook.pm @ 722:082bb76417f1
Add Po4a 0.37-dev(2009-03-08)
author | Dongsheng Song <dongsheng.song@gmail.com> |
---|---|
date | Thu, 12 Mar 2009 15:43:56 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
721:2180358c32c4 | 722:082bb76417f1 |
---|---|
1 #!/usr/bin/perl | |
2 # aptitude: cmdsynopsis => missing removal of leading spaces | |
3 | |
4 # Po4a::Docbook.pm | |
5 # | |
6 # extract and translate translatable strings from Docbook XML documents. | |
7 # | |
8 # This code extracts plain text from tags and attributes on Docbook XML | |
9 # documents. | |
10 # | |
11 # Copyright (c) 2004 by Jordi Vilalta <jvprat@gmail.com> | |
12 # Copyright (c) 2007-2009 by Nicolas François <nicolas.francois@centraliens.net> | |
13 # | |
14 # This program is free software; you can redistribute it and/or modify | |
15 # it under the terms of the GNU General Public License as published by | |
16 # the Free Software Foundation; either version 2 of the License, or | |
17 # (at your option) any later version. | |
18 # | |
19 # This program is distributed in the hope that it will be useful, | |
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
22 # GNU General Public License for more details. | |
23 # | |
24 # You should have received a copy of the GNU General Public License | |
25 # along with this program; if not, write to the Free Software | |
26 # Foundation, Inc., | |
27 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
28 # | |
29 ######################################################################## | |
30 | |
31 =head1 NAME | |
32 | |
33 Locale::Po4a::Docbook - Convert Docbook XML documents from/to PO files | |
34 | |
35 =head1 DESCRIPTION | |
36 | |
37 The po4a (po for anything) project goal is to ease translations (and more | |
38 interestingly, the maintenance of translations) using gettext tools on | |
39 areas where they were not expected like documentation. | |
40 | |
41 Locale::Po4a::Docbook is a module to help the translation of DocBook XML | |
42 documents into other [human] languages. | |
43 | |
44 Please note that this module is still under heavy development, and not | |
45 distributed in official po4a release since we don't feel it to be mature | |
46 enough. If you insist on trying, check the CVS out. | |
47 | |
48 =head1 STATUS OF THIS MODULE | |
49 | |
50 This module is fully functional, as it relies in the L<Locale::Po4a::Xml> | |
51 module. This only defines the translatable tags and attributes. | |
52 | |
53 The only known issue is that it doesn't handle entities yet, and this includes | |
54 the file inclusion entities, but you can translate most of those files alone | |
55 (except the typical entities files), and it's usually better to maintain them | |
56 separated. | |
57 | |
58 =head1 SEE ALSO | |
59 | |
60 L<po4a(7)|po4a.7>, L<Locale::Po4a::TransTractor(3pm)>, L<Locale::Po4a::Xml(3pm)>. | |
61 | |
62 =head1 AUTHORS | |
63 | |
64 Jordi Vilalta <jvprat@gmail.com> | |
65 | |
66 =head1 COPYRIGHT AND LICENSE | |
67 | |
68 Copyright (c) 2004 by Jordi Vilalta <jvprat@gmail.com> | |
69 Copyright (c) 2007-2009 by Nicolas François <nicolas.francois@centraliens.net> | |
70 | |
71 This program is free software; you may redistribute it and/or modify it | |
72 under the terms of GPL (see the COPYING file). | |
73 | |
74 =cut | |
75 | |
76 package Locale::Po4a::Docbook; | |
77 | |
78 use 5.006; | |
79 use strict; | |
80 use warnings; | |
81 | |
82 use Locale::Po4a::Xml; | |
83 | |
84 use vars qw(@ISA); | |
85 @ISA = qw(Locale::Po4a::Xml); | |
86 | |
87 sub initialize { | |
88 my $self = shift; | |
89 my %options = @_; | |
90 | |
91 $self->SUPER::initialize(%options); | |
92 $self->{options}{'wrap'}=1; | |
93 $self->{options}{'doctype'}=$self->{options}{'doctype'} || 'docbook xml'; | |
94 | |
95 # AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | |
96 | |
97 # abbrev; contains text; Formatted inline | |
98 $self->{options}{'_default_translated'} .= " <abbrev>"; | |
99 $self->{options}{'_default_inline'} .= " <abbrev>"; | |
100 | |
101 # abstract; does not contain text; Formatted as a displayed block | |
102 $self->{options}{'_default_untranslated'} .= " <abstract>"; | |
103 $self->{options}{'_default_break'} .= " <abstract>"; | |
104 | |
105 # accel; contains text; Formatted inline | |
106 $self->{options}{'_default_translated'} .= " <accel>"; | |
107 $self->{options}{'_default_inline'} .= " <accel>"; | |
108 | |
109 # ackno; does not contain text; Formatted as a displayed block | |
110 # Replaced by acknowledgements in Docbook v5.0 | |
111 $self->{options}{'_default_untranslated'} .= " <ackno>"; | |
112 $self->{options}{'_default_break'} .= " <ackno>"; | |
113 # acknowledgements; does not contain text; Formatted as a displayed block | |
114 $self->{options}{'_default_untranslated'} .= " <acknowledgements>"; | |
115 $self->{options}{'_default_break'} .= " <acknowledgements>"; | |
116 | |
117 # acronym; contains text; Formatted inline | |
118 $self->{options}{'_default_translated'} .= " <acronym>"; | |
119 $self->{options}{'_default_inline'} .= " <acronym>"; | |
120 | |
121 # action; contains text; Formatted inline; v4, not in v5 | |
122 $self->{options}{'_default_translated'} .= " <action>"; | |
123 $self->{options}{'_default_inline'} .= " <action>"; | |
124 | |
125 # address; contains text; Formatted as a displayed block; verbatim | |
126 $self->{options}{'_default_translated'} .= " W<address>"; | |
127 $self->{options}{'_default_placeholder'} .= " <address>"; | |
128 | |
129 # affiliation; does not contain text; Formatted inline or as a | |
130 # displayed block depending on context | |
131 $self->{options}{'_default_untranslated'} .= " <affiliation>"; | |
132 $self->{options}{'_default_inline'} .= " <affiliation>"; | |
133 | |
134 # alt; contains text; Formatted inline or as a | |
135 # displayed block depending on context | |
136 $self->{options}{'_default_translated'} .= " <alt>"; | |
137 $self->{options}{'_default_inline'} .= " <alt>"; | |
138 | |
139 # anchor; does not contain text; Produces no output | |
140 $self->{options}{'_default_untranslated'} .= " <anchor>"; | |
141 $self->{options}{'_default_inline'} .= " <anchor>"; | |
142 | |
143 # annotation; does not contain text; | |
144 $self->{options}{'_default_untranslated'} .= " <annotation>"; | |
145 $self->{options}{'_default_placeholder'} .= " <annotation>"; | |
146 | |
147 # answer; does not contain text; | |
148 $self->{options}{'_default_untranslated'} .= " <answer>"; | |
149 $self->{options}{'_default_break'} .= " <answer>"; | |
150 | |
151 # appendix; does not contain text; Formatted as a displayed block | |
152 $self->{options}{'_default_untranslated'} .= " <appendix>"; | |
153 $self->{options}{'_default_break'} .= " <appendix>"; | |
154 | |
155 # appendixinfo; does not contain text; v4, not in v5 | |
156 $self->{options}{'_default_untranslated'} .= " <appendixinfo>"; | |
157 $self->{options}{'_default_placeholder'} .= " <appendixinfo>"; | |
158 | |
159 # application; contains text; Formatted inline | |
160 $self->{options}{'_default_translated'} .= " <application>"; | |
161 $self->{options}{'_default_inline'} .= " <application>"; | |
162 | |
163 # arc; does not contain text; | |
164 $self->{options}{'_default_untranslated'} .= " <arc>"; | |
165 $self->{options}{'_default_inline'} .= " <arc>"; | |
166 | |
167 # area; does not contain text; | |
168 # NOTE: the area is not translatable as is, but the coords | |
169 # attribute might be. | |
170 $self->{options}{'_default_untranslated'} .= " <area>"; | |
171 $self->{options}{'_default_inline'} .= " <area>"; | |
172 | |
173 # areaset; does not contain text; | |
174 # NOTE: the areaset is not translatable as is. depending on the | |
175 # language there might be more or less area tags inside. | |
176 $self->{options}{'_default_untranslated'} .= " <areaset>"; | |
177 $self->{options}{'_default_inline'} .= " <areaset>"; | |
178 | |
179 # areaspec; does not contain text; | |
180 # NOTE: see area and areaset | |
181 $self->{options}{'_default_translated'} .= " <areaspec>"; | |
182 $self->{options}{'_default_break'} .= " <areaspec>"; | |
183 | |
184 # arg; contains text; Formatted inline or as a | |
185 # displayed block depending on context | |
186 $self->{options}{'_default_translated'} .= " <arg>"; | |
187 $self->{options}{'_default_inline'} .= " <arg>"; | |
188 | |
189 # artheader; does not contain text; renamed to articleinfo in v4.0 | |
190 $self->{options}{'_default_untranslated'} .= " <artheader>"; | |
191 $self->{options}{'_default_placeholder'} .= " <artheader>"; | |
192 | |
193 # article; does not contain text; Formatted as a displayed block | |
194 $self->{options}{'_default_untranslated'} .= " <article>"; | |
195 $self->{options}{'_default_break'} .= " <article>"; | |
196 | |
197 # articleinfo; does not contain text; v4 only | |
198 $self->{options}{'_default_untranslated'} .= " <articleinfo>"; | |
199 $self->{options}{'_default_placeholder'} .= " <articleinfo>"; | |
200 | |
201 # artpagenums; contains text; Formatted inline | |
202 # NOTE: could be in the break class | |
203 $self->{options}{'_default_translated'} .= " <artpagenums>"; | |
204 $self->{options}{'_default_inline'} .= " <artpagenums>"; | |
205 | |
206 # attribution; contains text; Formatted inline or as a | |
207 # displayed block depending on context | |
208 $self->{options}{'_default_translated'} .= " <attribution>"; | |
209 $self->{options}{'_default_inline'} .= " <attribution>"; | |
210 | |
211 # audiodata; does not contain text; | |
212 # NOTE: the attributes might be translated | |
213 $self->{options}{'_default_translated'} .= " <audiodata>"; | |
214 $self->{options}{'_default_placeholder'} .= " <audiodata>"; | |
215 $self->{options}{'_default_attributes'}.=' <audiodata>fileref'; | |
216 | |
217 # audioobject; does not contain text; | |
218 # NOTE: might be contaioned in a inlinemediaobject | |
219 $self->{options}{'_default_translated'} .= " <audioobject>"; | |
220 $self->{options}{'_default_placeholder'} .= " <audioobject>"; | |
221 | |
222 # author; does not contain text; Formatted inline or as a | |
223 # displayed block depending on context | |
224 $self->{options}{'_default_untranslated'} .= " <author>"; | |
225 $self->{options}{'_default_inline'} .= " <author>"; | |
226 | |
227 # authorblurb; does not contain text; Formatted as a displayed block. | |
228 # v4, not in v5 | |
229 $self->{options}{'_default_untranslated'} .= " <authorblurb>"; | |
230 $self->{options}{'_default_placeholder'} .= " <authorblurb>"; | |
231 | |
232 # authorgroup; does not contain text; Formatted inline or as a | |
233 # displayed block depending on context | |
234 # NOTE: given the possible parents, it is probably very rarely | |
235 # inlined | |
236 $self->{options}{'_default_untranslated'} .= " <authorgroup>"; | |
237 $self->{options}{'_default_break'} .= " <authorgroup>"; | |
238 | |
239 # authorinitials; contains text; Formatted inline | |
240 $self->{options}{'_default_translated'} .= " <authorinitials>"; | |
241 $self->{options}{'_default_inline'} .= " <authorinitials>"; | |
242 | |
243 # BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB | |
244 | |
245 # beginpage; does not contain text; v4, not in v5 | |
246 $self->{options}{'_default_untranslated'} .= " <beginpage>"; | |
247 $self->{options}{'_default_break'} .= " <beginpage>"; | |
248 | |
249 # bibliocoverage; contains text; Formatted inline | |
250 # NOTE: could be in the break class | |
251 $self->{options}{'_default_translated'} .= " <bibliocoverage>"; | |
252 $self->{options}{'_default_inline'} .= " <bibliocoverage>"; | |
253 | |
254 # bibliodiv; does not contain text; Formatted as a displayed block | |
255 $self->{options}{'_default_untranslated'} .= " <bibliodiv>"; | |
256 $self->{options}{'_default_break'} .= " <bibliodiv>"; | |
257 | |
258 # biblioentry; does not contain text; Formatted as a displayed block | |
259 $self->{options}{'_default_untranslated'} .= " <biblioentry>"; | |
260 $self->{options}{'_default_break'} .= " <biblioentry>"; | |
261 | |
262 # bibliography; does not contain text; Formatted as a displayed block | |
263 $self->{options}{'_default_untranslated'} .= " <bibliography>"; | |
264 $self->{options}{'_default_break'} .= " <bibliography>"; | |
265 | |
266 # bibliographyinfo; does not contain text; v4, not in v5 | |
267 $self->{options}{'_default_untranslated'} .= " <bibliographyinfo>"; | |
268 $self->{options}{'_default_placeholder'} .= " <bibliographyinfo>"; | |
269 | |
270 # biblioid; contains text; Formatted inline | |
271 # NOTE: could be in the break class | |
272 $self->{options}{'_default_translated'} .= " <biblioid>"; | |
273 $self->{options}{'_default_inline'} .= " <biblioid>"; | |
274 | |
275 # bibliolist; does not contain text; Formatted as a displayed block | |
276 $self->{options}{'_default_untranslated'} .= " <bibliolist>"; | |
277 $self->{options}{'_default_break'} .= " <bibliolist>"; | |
278 | |
279 # bibliomisc; contains text; Formatted inline | |
280 # NOTE: could be in the break class | |
281 $self->{options}{'_default_translated'} .= " <bibliomisc>"; | |
282 $self->{options}{'_default_inline'} .= " <bibliomisc>"; | |
283 | |
284 # bibliomixed; contains text; Formatted as a displayed block | |
285 $self->{options}{'_default_translated'} .= " <bibliomixed>"; | |
286 $self->{options}{'_default_placeholder'} .= " <bibliomixed>"; | |
287 | |
288 # bibliomset; contains text; Formatted as a displayed block | |
289 # NOTE: content might need to be inlined, e.g. <bibliomset><title> | |
290 $self->{options}{'_default_translated'} .= " <bibliomset>"; | |
291 $self->{options}{'_default_placeholder'} .= " <bibliomset>"; | |
292 | |
293 # biblioref; does not contain text; Formatted inline | |
294 $self->{options}{'_default_untranslated'} .= " <biblioref>"; | |
295 $self->{options}{'_default_inline'} .= " <biblioref>"; | |
296 | |
297 # bibliorelation; does not contain text; Formatted inline | |
298 $self->{options}{'_default_translated'} .= " <bibliorelation>"; | |
299 $self->{options}{'_default_inline'} .= " <bibliorelation>"; | |
300 | |
301 # biblioset; does not contain text; Formatted as a displayed block | |
302 $self->{options}{'_default_untranslated'} .= " <biblioset>"; | |
303 $self->{options}{'_default_break'} .= " <biblioset>"; | |
304 | |
305 # bibliosource; contains text; Formatted inline | |
306 # NOTE: could be in the break class | |
307 $self->{options}{'_default_translated'} .= " <bibliosource>"; | |
308 $self->{options}{'_default_inline'} .= " <bibliosource>"; | |
309 | |
310 # blockinfo; does not contain text; v4.2, not in v5 | |
311 $self->{options}{'_default_untranslated'} .= " <blockinfo>"; | |
312 $self->{options}{'_default_placeholder'} .= " <blockinfo>"; | |
313 | |
314 # blockquote; does not contain text; Formatted as a displayed block | |
315 $self->{options}{'_default_untranslated'} .= " <blockquote>"; | |
316 $self->{options}{'_default_break'} .= " <blockquote>"; | |
317 | |
318 # book; does not contain text; Formatted as a displayed block | |
319 $self->{options}{'_default_untranslated'} .= " <book>"; | |
320 $self->{options}{'_default_break'} .= " <book>"; | |
321 | |
322 # bookbiblio; does not contain text; Formatted as a displayed block | |
323 # Removed in v4.0 | |
324 $self->{options}{'_default_untranslated'} .= " <bookbiblio>"; | |
325 $self->{options}{'_default_break'} .= " <bookbiblio>"; | |
326 | |
327 # bookinfo; does not contain text; v4, not in v5 | |
328 $self->{options}{'_default_untranslated'} .= " <bookinfo>"; | |
329 $self->{options}{'_default_placeholder'} .= " <bookinfo>"; | |
330 | |
331 # bridgehead; contains text; Formatted as a displayed block | |
332 $self->{options}{'_default_translated'} .= " <bridgehead>"; | |
333 $self->{options}{'_default_break'} .= " <bridgehead>"; | |
334 | |
335 # CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | |
336 | |
337 # callout; does not contain text; Formatted as a displayed block | |
338 $self->{options}{'_default_untranslated'} .= " <callout>"; | |
339 $self->{options}{'_default_break'} .= " <callout>"; | |
340 | |
341 # calloutlist; does not contain text; Formatted as a displayed block | |
342 $self->{options}{'_default_untranslated'} .= " <calloutlist>"; | |
343 $self->{options}{'_default_break'} .= " <calloutlist>"; | |
344 | |
345 # caption; does not contain text; Formatted as a displayed block | |
346 $self->{options}{'_default_untranslated'} .= " <caption>"; | |
347 $self->{options}{'_default_break'} .= " <caption>"; | |
348 | |
349 # caption (db.html.caption); contains text; Formatted as a displayed block | |
350 # TODO: Check if this works | |
351 $self->{options}{'_default_translated'} .= " <table><caption>"; | |
352 $self->{options}{'_default_break'} .= " <table><caption>"; | |
353 | |
354 # caution; does not contain text; Formatted as a displayed block | |
355 $self->{options}{'_default_untranslated'} .= " <caution>"; | |
356 $self->{options}{'_default_break'} .= " <caution>"; | |
357 | |
358 # chapter; does not contain text; Formatted as a displayed block | |
359 $self->{options}{'_default_untranslated'} .= " <chapter>"; | |
360 $self->{options}{'_default_break'} .= " <chapter>"; | |
361 | |
362 # chapterinfo; does not contain text; v4, not in v5 | |
363 $self->{options}{'_default_untranslated'} .= " <chapterinfo>"; | |
364 $self->{options}{'_default_placeholder'} .= " <chapterinfo>"; | |
365 | |
366 # citation; contains text; Formatted inline | |
367 $self->{options}{'_default_translated'} .= " <citation>"; | |
368 $self->{options}{'_default_inline'} .= " <citation>"; | |
369 | |
370 # citebiblioid; contains text; Formatted inline | |
371 # NOTE: maybe untranslated? | |
372 $self->{options}{'_default_translated'} .= " <citebiblioid>"; | |
373 $self->{options}{'_default_inline'} .= " <citebiblioid>"; | |
374 | |
375 # citerefentry; contains text; Formatted inline | |
376 $self->{options}{'_default_translated'} .= " <citerefentry>"; | |
377 $self->{options}{'_default_inline'} .= " <citerefentry>"; | |
378 | |
379 # citetitle; contains text; Formatted inline | |
380 $self->{options}{'_default_translated'} .= " <citetitle>"; | |
381 $self->{options}{'_default_inline'} .= " <citetitle>"; | |
382 | |
383 # city; contains text; Formatted inline | |
384 $self->{options}{'_default_translated'} .= " <city>"; | |
385 $self->{options}{'_default_inline'} .= " <city>"; | |
386 | |
387 # classname; contains text; Formatted inline | |
388 $self->{options}{'_default_translated'} .= " <classname>"; | |
389 $self->{options}{'_default_inline'} .= " <classname>"; | |
390 | |
391 # classsynopsis; does not contain text; may be in a para | |
392 # NOTE: It may contain a classsynopsisinfo, which should be | |
393 # verbatim | |
394 # XXX: since it is in untranslated class, does the W flag takes | |
395 # effect? | |
396 $self->{options}{'_default_untranslated'} .= " W<classsynopsis>"; | |
397 $self->{options}{'_default_placeholder'} .= " <classsynopsis>"; | |
398 | |
399 # classsynopsisinfo; contains text; | |
400 # NOTE: see above | |
401 $self->{options}{'_default_translated'} .= " W<classsynopsisinfo>"; | |
402 $self->{options}{'_default_inline'} .= " <classsynopsisinfo>"; | |
403 | |
404 # cmdsynopsis; does not contain text; may be in a para | |
405 # NOTE: It may be clearer as a verbatim block | |
406 # XXX: since it is in untranslated class, does the W flag takes | |
407 # effect? => not completely. Rewrap afterward? | |
408 $self->{options}{'_default_untranslated'} .= " W<cmdsynopsis>"; | |
409 $self->{options}{'_default_placeholder'} .= " <cmdsynopsis>"; | |
410 | |
411 # co; does not contain text; Formatted inline | |
412 # XXX: tranlsated or not? (label attribute) | |
413 $self->{options}{'_default_translated'} .= " <co>"; | |
414 $self->{options}{'_default_inline'} .= " <co>"; | |
415 | |
416 # code; contains text; Formatted inline | |
417 $self->{options}{'_default_translated'} .= " <code>"; | |
418 $self->{options}{'_default_inline'} .= " <code>"; | |
419 | |
420 # col; does not contain text; | |
421 # NOTE: could be translated to change the layout in a translation | |
422 # To be done on colgroup in that case. | |
423 $self->{options}{'_default_untranslated'} .= " <col>"; | |
424 $self->{options}{'_default_break'} .= " <col>"; | |
425 | |
426 # colgroup; does not contain text; | |
427 # NOTE: could be translated to change the layout in a translation | |
428 $self->{options}{'_default_untranslated'} .= " <colgroup>"; | |
429 $self->{options}{'_default_break'} .= " <colgroup>"; | |
430 | |
431 # collab; does not contain text; Formatted inline or as a | |
432 # displayed block depending on context | |
433 # NOTE: could be in the break class | |
434 $self->{options}{'_default_untranslated'} .= " <collab>"; | |
435 $self->{options}{'_default_inline'} .= " <collab>"; | |
436 | |
437 # collabname; contains text; Formatted inline or as a | |
438 # displayed block depending on context; v4, not in v5 | |
439 $self->{options}{'_default_translated'} .= " <collabname>"; | |
440 $self->{options}{'_default_inline'} .= " <collabname>"; | |
441 | |
442 # colophon; does not contain text; Formatted as a displayed block | |
443 $self->{options}{'_default_untranslated'} .= " <colophon>"; | |
444 $self->{options}{'_default_break'} .= " <colophon>"; | |
445 | |
446 # colspec; does not contain text; | |
447 # NOTE: could be translated to change the layout in a translation | |
448 $self->{options}{'_default_untranslated'} .= " <colspec>"; | |
449 $self->{options}{'_default_break'} .= " <colspec>"; | |
450 | |
451 # command; contains text; Formatted inline | |
452 $self->{options}{'_default_translated'} .= " <command>"; | |
453 $self->{options}{'_default_inline'} .= " <command>"; | |
454 | |
455 # comment; contains text; Formatted inline or as a displayed block | |
456 # Renamed to remark in v4.0 | |
457 $self->{options}{'_default_translated'} .= " <comment>"; | |
458 $self->{options}{'_default_inline'} .= " <comment>"; | |
459 | |
460 # computeroutput; contains text; Formatted inline | |
461 # NOTE: "is not a verbatim environment, but an inline." | |
462 $self->{options}{'_default_translated'} .= " <computeroutput>"; | |
463 $self->{options}{'_default_inline'} .= " <computeroutput>"; | |
464 | |
465 # confdates; contains text; Formatted inline or as a | |
466 # displayed block depending on context | |
467 $self->{options}{'_default_translated'} .= " <confdates>"; | |
468 $self->{options}{'_default_inline'} .= " <confdates>"; | |
469 | |
470 # confgroup; does not contain text; Formatted inline or as a | |
471 # displayed block depending on context | |
472 # NOTE: could be in the break class | |
473 $self->{options}{'_default_untranslated'} .= " <confgroup>"; | |
474 $self->{options}{'_default_inline'} .= " <confgroup>"; | |
475 | |
476 # confnum; contains text; Formatted inline or as a | |
477 # displayed block depending on context | |
478 $self->{options}{'_default_translated'} .= " <confnum>"; | |
479 $self->{options}{'_default_inline'} .= " <confnum>"; | |
480 | |
481 # confsponsor; contains text; Formatted inline or as a | |
482 # displayed block depending on context | |
483 $self->{options}{'_default_translated'} .= " <confsponsor>"; | |
484 $self->{options}{'_default_inline'} .= " <confsponsor>"; | |
485 | |
486 # conftitle; contains text; Formatted inline or as a | |
487 # displayed block depending on context | |
488 $self->{options}{'_default_translated'} .= " <conftitle>"; | |
489 $self->{options}{'_default_inline'} .= " <conftitle>"; | |
490 | |
491 # constant; contains text; Formatted inline | |
492 $self->{options}{'_default_translated'} .= " <constant>"; | |
493 $self->{options}{'_default_inline'} .= " <constant>"; | |
494 | |
495 # constraint; does not contain text; | |
496 # NOTE: it might be better to have the production as verbatim | |
497 # Keeping the constrainst inline to have it close to the | |
498 # lhs or rhs. | |
499 # The attribute is translatable | |
500 $self->{options}{'_default_untranslated'} .= " <constraint>"; | |
501 $self->{options}{'_default_break'} .= " <constraint>"; | |
502 | |
503 # constraintdef; does not contain text; Formatted as a displayed block | |
504 $self->{options}{'_default_untranslated'} .= " <constraintdef>"; | |
505 $self->{options}{'_default_break'} .= " <constraintdef>"; | |
506 | |
507 # constructorsynopsis; does not contain text; may be in a para | |
508 # NOTE: It may be clearer as a verbatim block | |
509 # XXX: since it is in untranslated class, does the W flag takes | |
510 # effect? | |
511 $self->{options}{'_default_untranslated'} .= " W<constructorsynopsis>"; | |
512 $self->{options}{'_default_placeholder'} .= " <constructorsynopsis>"; | |
513 | |
514 # contractnum; contains text; Formatted inline or as a displayed block | |
515 # NOTE: could be in the break class | |
516 $self->{options}{'_default_translated'} .= " <contractnum>"; | |
517 $self->{options}{'_default_inline'} .= " <contractnum>"; | |
518 | |
519 # contractsponsor; contains text; Formatted inline or as a displayed block | |
520 # NOTE: could be in the break class | |
521 $self->{options}{'_default_translated'} .= " <contractsponsor>"; | |
522 $self->{options}{'_default_inline'} .= " <contractsponsor>"; | |
523 | |
524 # contrib; contains text; Formatted inline or as a displayed block | |
525 $self->{options}{'_default_translated'} .= " <contrib>"; | |
526 $self->{options}{'_default_inline'} .= " <contrib>"; | |
527 | |
528 # copyright; contains text; Formatted inline or as a displayed block | |
529 # NOTE: could be in the break class | |
530 $self->{options}{'_default_translated'} .= " <copyright>"; | |
531 $self->{options}{'_default_inline'} .= " <copyright>"; | |
532 | |
533 # coref; does not contain text; Formatted inline | |
534 # XXX: tranlsated or not? (label attribute) | |
535 $self->{options}{'_default_translated'} .= " <coref>"; | |
536 $self->{options}{'_default_inline'} .= " <coref>"; | |
537 | |
538 # corpauthor; contains text; Formatted inline or as a | |
539 # displayed block depending on context; v4, not in v5 | |
540 $self->{options}{'_default_translated'} .= " <corpauthor>"; | |
541 $self->{options}{'_default_inline'} .= " <corpauthor>"; | |
542 | |
543 # corpcredit; contains text; Formatted inline or as a | |
544 # displayed block depending on context; v4, not in v5 | |
545 $self->{options}{'_default_translated'} .= " <corpcredit>"; | |
546 $self->{options}{'_default_inline'} .= " <corpcredit>"; | |
547 | |
548 # corpname; contains text; Formatted inline or as a | |
549 # displayed block depending on context; v4, not in v5 | |
550 $self->{options}{'_default_translated'} .= " <corpname>"; | |
551 $self->{options}{'_default_inline'} .= " <corpname>"; | |
552 | |
553 # country; contains text; Formatted inline | |
554 $self->{options}{'_default_translated'} .= " <country>"; | |
555 $self->{options}{'_default_inline'} .= " <country>"; | |
556 | |
557 # cover; does not contain text; Formatted as a displayed block | |
558 $self->{options}{'_default_untranslated'} .= " <cover>"; | |
559 $self->{options}{'_default_break'} .= " <cover>"; | |
560 | |
561 # DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD | |
562 | |
563 # database; contains text; Formatted inline | |
564 $self->{options}{'_default_translated'} .= " <database>"; | |
565 $self->{options}{'_default_inline'} .= " <database>"; | |
566 | |
567 # date; contains text; Formatted inline | |
568 $self->{options}{'_default_translated'} .= " <date>"; | |
569 $self->{options}{'_default_inline'} .= " <date>"; | |
570 | |
571 # dedication; contains text; Formatted as a displayed block | |
572 $self->{options}{'_default_translated'} .= " <dedication>"; | |
573 $self->{options}{'_default_break'} .= " <dedication>"; | |
574 | |
575 # destructorsynopsis; does not contain text; may be in a para | |
576 # NOTE: It may be clearer as a verbatim block | |
577 # XXX: since it is in untranslated class, does the W flag takes | |
578 # effect? | |
579 $self->{options}{'_default_untranslated'} .= " W<destructorsynopsis>"; | |
580 $self->{options}{'_default_placeholder'} .= " <destructorsynopsis>"; | |
581 | |
582 # docinfo; does not contain text; removed in v4.0 | |
583 $self->{options}{'_default_untranslated'} .= " <docinfo>"; | |
584 $self->{options}{'_default_placeholder'} .= " <docinfo>"; | |
585 | |
586 # EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE | |
587 | |
588 # edition; contains text; Formatted inline or as a displayed block | |
589 # NOTE: could be in the break class | |
590 $self->{options}{'_default_translated'} .= " <edition>"; | |
591 $self->{options}{'_default_inline'} .= " <edition>"; | |
592 | |
593 # editor; does not contain text; Formatted inline or as a | |
594 # displayed block depending on context | |
595 $self->{options}{'_default_untranslated'} .= " <editor>"; | |
596 $self->{options}{'_default_inline'} .= " <editor>"; | |
597 | |
598 # email; contains text; Formatted inline | |
599 $self->{options}{'_default_translated'} .= " <email>"; | |
600 $self->{options}{'_default_inline'} .= " <email>"; | |
601 | |
602 # emphasis; contains text; Formatted inline | |
603 $self->{options}{'_default_translated'} .= " <emphasis>"; | |
604 $self->{options}{'_default_inline'} .= " <emphasis>"; | |
605 | |
606 # entry; contains text; | |
607 $self->{options}{'_default_translated'} .= " <entry>"; | |
608 $self->{options}{'_default_break'} .= " <entry>"; | |
609 | |
610 # entrytbl; does not contain text; | |
611 $self->{options}{'_default_untranslated'} .= " <entrytbl>"; | |
612 $self->{options}{'_default_break'} .= " <entrytbl>"; | |
613 | |
614 # envar; contains text; Formatted inline | |
615 $self->{options}{'_default_translated'} .= " <envar>"; | |
616 $self->{options}{'_default_inline'} .= " <envar>"; | |
617 | |
618 # epigraph; contains text; Formatted as a displayed block. | |
619 # NOTE: maybe contained in a para | |
620 $self->{options}{'_default_translated'} .= " <epigraph>"; | |
621 $self->{options}{'_default_placeholder'} .= " <epigraph>"; | |
622 | |
623 # equation; does not contain text; Formatted as a displayed block. | |
624 $self->{options}{'_default_untranslated'} .= " <equation>"; | |
625 $self->{options}{'_default_break'} .= " <equation>"; | |
626 | |
627 # errorcode; contains text; Formatted inline | |
628 $self->{options}{'_default_translated'} .= " <errorcode>"; | |
629 $self->{options}{'_default_inline'} .= " <errorcode>"; | |
630 | |
631 # errorname; contains text; Formatted inline | |
632 $self->{options}{'_default_translated'} .= " <errorname>"; | |
633 $self->{options}{'_default_inline'} .= " <errorname>"; | |
634 | |
635 # errortext; contains text; Formatted inline | |
636 $self->{options}{'_default_translated'} .= " <errortext>"; | |
637 $self->{options}{'_default_inline'} .= " <errortext>"; | |
638 | |
639 # errortype; contains text; Formatted inline | |
640 $self->{options}{'_default_translated'} .= " <errortype>"; | |
641 $self->{options}{'_default_inline'} .= " <errortype>"; | |
642 | |
643 # example; does not contain text; Formatted as a displayed block. | |
644 # NOTE: maybe contained in a para | |
645 $self->{options}{'_default_untranslated'} .= " <example>"; | |
646 $self->{options}{'_default_placeholder'} .= " <example>"; | |
647 | |
648 # exceptionname; contains text; Formatted inline | |
649 $self->{options}{'_default_translated'} .= " <exceptionname>"; | |
650 $self->{options}{'_default_inline'} .= " <exceptionname>"; | |
651 | |
652 # extendedlink; does not contain text; | |
653 $self->{options}{'_default_untranslated'} .= " <extendedlink>"; | |
654 $self->{options}{'_default_inline'} .= " <extendedlink>"; | |
655 | |
656 # FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF | |
657 | |
658 # fax; contains text; Formatted inline | |
659 $self->{options}{'_default_translated'} .= " <fax>"; | |
660 $self->{options}{'_default_inline'} .= " <fax>"; | |
661 | |
662 # fieldsynopsis; does not contain text; may be in a para | |
663 $self->{options}{'_default_untranslated'} .= " <fieldsynopsis>"; | |
664 $self->{options}{'_default_inline'} .= " <fieldsynopsis>"; | |
665 | |
666 # figure; does not contain text; Formatted as a displayed block. | |
667 # NOTE: maybe contained in a para | |
668 $self->{options}{'_default_untranslated'} .= " <figure>"; | |
669 $self->{options}{'_default_placeholder'} .= " <figure>"; | |
670 | |
671 # filename; contains text; Formatted inline | |
672 $self->{options}{'_default_translated'} .= " <filename>"; | |
673 $self->{options}{'_default_inline'} .= " <filename>"; | |
674 | |
675 # firstname; contains text; Formatted inline | |
676 $self->{options}{'_default_translated'} .= " <firstname>"; | |
677 $self->{options}{'_default_inline'} .= " <firstname>"; | |
678 | |
679 # firstterm; contains text; Formatted inline | |
680 $self->{options}{'_default_translated'} .= " <firstterm>"; | |
681 $self->{options}{'_default_inline'} .= " <firstterm>"; | |
682 | |
683 # footnote; contains text; | |
684 $self->{options}{'_default_translated'} .= " <footnote>"; | |
685 $self->{options}{'_default_placeholder'} .= " <footnote>"; | |
686 | |
687 # footnoteref; contains text; | |
688 $self->{options}{'_default_translated'} .= " <footnoteref>"; | |
689 $self->{options}{'_default_inline'} .= " <footnoteref>"; | |
690 | |
691 # foreignphrase; contains text; | |
692 $self->{options}{'_default_translated'} .= " <foreignphrase>"; | |
693 $self->{options}{'_default_inline'} .= " <foreignphrase>"; | |
694 | |
695 # formalpara; does not contain text; Formatted as a displayed block. | |
696 $self->{options}{'_default_untranslated'} .= " <formalpara>"; | |
697 $self->{options}{'_default_break'} .= " <formalpara>"; | |
698 | |
699 # funcdef; contains text; Formatted inline | |
700 $self->{options}{'_default_translated'} .= " <funcdef>"; | |
701 $self->{options}{'_default_inline'} .= " <funcdef>"; | |
702 | |
703 # funcparams; contains text; Formatted inline | |
704 $self->{options}{'_default_translated'} .= " <funcparams>"; | |
705 $self->{options}{'_default_inline'} .= " <funcparams>"; | |
706 | |
707 # funcprototype; does not contain text; | |
708 # NOTE: maybe contained in a funcsynopsis, contained in a para | |
709 $self->{options}{'_default_untranslated'} .= " <funcprototype>"; | |
710 $self->{options}{'_default_placeholder'} .= " <funcprototype>"; | |
711 | |
712 # funcsynopsis; does not contain text; | |
713 # NOTE: maybe contained in a para | |
714 $self->{options}{'_default_untranslated'} .= " <funcsynopsis>"; | |
715 $self->{options}{'_default_placeholder'} .= " <funcsynopsis>"; | |
716 | |
717 # funcsynopsisinfo; contains text; verbatim | |
718 # NOTE: maybe contained in a funcsynopsis, contained in a para | |
719 $self->{options}{'_default_translated'} .= " W<funcsynopsisinfo>"; | |
720 $self->{options}{'_default_placeholder'} .= " <funcsynopsisinfo>"; | |
721 | |
722 # function; contains text; Formatted inline | |
723 $self->{options}{'_default_translated'} .= " <function>"; | |
724 $self->{options}{'_default_inline'} .= " <function>"; | |
725 | |
726 # GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG | |
727 | |
728 # glossary; does not contain text; Formatted as a displayed block. | |
729 $self->{options}{'_default_untranslated'} .= " <glossary>"; | |
730 $self->{options}{'_default_break'} .= " <glossary>"; | |
731 | |
732 # glossaryinfo; does not contain text; v4, not in v5 | |
733 $self->{options}{'_default_untranslated'} .= " <glossaryinfo>"; | |
734 $self->{options}{'_default_placeholder'} .= " <glossaryinfo>"; | |
735 | |
736 # glossdef; does not contain text; Formatted as a displayed block. | |
737 $self->{options}{'_default_untranslated'} .= " <glossdef>"; | |
738 $self->{options}{'_default_break'} .= " <glossdef>"; | |
739 | |
740 # glossdiv; does not contain text; Formatted as a displayed block. | |
741 $self->{options}{'_default_untranslated'} .= " <glossdiv>"; | |
742 $self->{options}{'_default_break'} .= " <glossdiv>"; | |
743 | |
744 # glossentry; does not contain text; Formatted as a displayed block. | |
745 $self->{options}{'_default_untranslated'} .= " <glossentry>"; | |
746 $self->{options}{'_default_break'} .= " <glossentry>"; | |
747 | |
748 # glosslist; does not contain text; Formatted as a displayed block. | |
749 $self->{options}{'_default_untranslated'} .= " <glosslist>"; | |
750 $self->{options}{'_default_break'} .= " <glosslist>"; | |
751 | |
752 # glosssee; contains text; Formatted as a displayed block. | |
753 $self->{options}{'_default_translated'} .= " <glosssee>"; | |
754 $self->{options}{'_default_break'} .= " <glosssee>"; | |
755 | |
756 # glossseealso; contains text; Formatted as a displayed block. | |
757 $self->{options}{'_default_translated'} .= " <glossseealso>"; | |
758 $self->{options}{'_default_break'} .= " <glossseealso>"; | |
759 | |
760 # glossterm; contains text; Formatted inline | |
761 $self->{options}{'_default_translated'} .= " <glossterm>"; | |
762 $self->{options}{'_default_inline'} .= " <glossterm>"; | |
763 | |
764 # graphic; does not contain text; Formatted as a displayed block | |
765 # v4, not in v5 | |
766 $self->{options}{'_default_untranslated'} .= " <graphic>"; | |
767 $self->{options}{'_default_inline'} .= " <graphic>"; | |
768 $self->{options}{'_default_attributes'}.=' <graphic>fileref'; | |
769 | |
770 # graphicco; does not contain text; Formatted as a displayed block. | |
771 # v4, not in v5 | |
772 $self->{options}{'_default_untranslated'} .= " <graphicco>"; | |
773 $self->{options}{'_default_placeholder'} .= " <graphicco>"; | |
774 | |
775 # group; does not contain text; Formatted inline | |
776 $self->{options}{'_default_untranslated'} .= " W<group>"; | |
777 $self->{options}{'_default_inline'} .= " <group>"; | |
778 | |
779 # guibutton; contains text; Formatted inline | |
780 $self->{options}{'_default_translated'} .= " <guibutton>"; | |
781 $self->{options}{'_default_inline'} .= " <guibutton>"; | |
782 | |
783 # guiicon; contains text; Formatted inline | |
784 $self->{options}{'_default_translated'} .= " <guiicon>"; | |
785 $self->{options}{'_default_inline'} .= " <guiicon>"; | |
786 | |
787 # guilabel; contains text; Formatted inline | |
788 $self->{options}{'_default_translated'} .= " <guilabel>"; | |
789 $self->{options}{'_default_inline'} .= " <guilabel>"; | |
790 | |
791 # guimenu; contains text; Formatted inline | |
792 $self->{options}{'_default_translated'} .= " <guimenu>"; | |
793 $self->{options}{'_default_inline'} .= " <guimenu>"; | |
794 | |
795 # guimenuitem; contains text; Formatted inline | |
796 $self->{options}{'_default_translated'} .= " <guimenuitem>"; | |
797 $self->{options}{'_default_inline'} .= " <guimenuitem>"; | |
798 | |
799 # guisubmenu; contains text; Formatted inline | |
800 $self->{options}{'_default_translated'} .= " <guisubmenu>"; | |
801 $self->{options}{'_default_inline'} .= " <guisubmenu>"; | |
802 | |
803 # HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH | |
804 | |
805 # hardware; contains text; Formatted inline | |
806 $self->{options}{'_default_translated'} .= " <hardware>"; | |
807 $self->{options}{'_default_inline'} .= " <hardware>"; | |
808 | |
809 # highlights; does not contain text; Formatted inline | |
810 # v4, not in v5 | |
811 $self->{options}{'_default_untranslated'} .= " <highlights>"; | |
812 $self->{options}{'_default_break'} .= " <highlights>"; | |
813 | |
814 # holder; contains text; | |
815 # NOTE: may depend on the copyright container | |
816 $self->{options}{'_default_translated'} .= " <holder>"; | |
817 $self->{options}{'_default_inline'} .= " <holder>"; | |
818 | |
819 # honorific; contains text; Formatted inline | |
820 $self->{options}{'_default_translated'} .= " <honorific>"; | |
821 $self->{options}{'_default_inline'} .= " <honorific>"; | |
822 | |
823 # html:button; contains text; Formatted inline | |
824 $self->{options}{'_default_translated'} .= " <html:button>"; | |
825 $self->{options}{'_default_inline'} .= " <html:button>"; | |
826 | |
827 # html:fieldset; contains text; Formatted inline | |
828 $self->{options}{'_default_translated'} .= " <html:fieldset>"; | |
829 $self->{options}{'_default_inline'} .= " <html:fieldset>"; | |
830 | |
831 # html:form; does not contain text; | |
832 $self->{options}{'_default_translated'} .= " <html:form>"; | |
833 $self->{options}{'_default_inline'} .= " <html:form>"; | |
834 | |
835 # html:input; does not contain text; Formatted inline | |
836 # NOTE: attributes are translatable | |
837 $self->{options}{'_default_translated'} .= " <html:input>"; | |
838 $self->{options}{'_default_inline'} .= " <html:input>"; | |
839 | |
840 # html:label; contains text; Formatted inline | |
841 $self->{options}{'_default_translated'} .= " <html:label>"; | |
842 $self->{options}{'_default_inline'} .= " <html:label>"; | |
843 | |
844 # html:legend; contains text; Formatted inline | |
845 $self->{options}{'_default_translated'} .= " <html:legend>"; | |
846 $self->{options}{'_default_inline'} .= " <html:legend>"; | |
847 | |
848 # html:option; contains text; Formatted inline | |
849 $self->{options}{'_default_translated'} .= " <html:option>"; | |
850 $self->{options}{'_default_inline'} .= " <html:option>"; | |
851 | |
852 # html:select; does not contain text; Formatted inline | |
853 $self->{options}{'_default_translated'} .= " <html:select>"; | |
854 $self->{options}{'_default_inline'} .= " <html:select>"; | |
855 | |
856 # html:textarea; contains text; Formatted as a displayed block. | |
857 $self->{options}{'_default_translated'} .= " <html:textarea>"; | |
858 $self->{options}{'_default_placeholder'} .= " <html:textarea>"; | |
859 | |
860 # imagedata; does not contain text; May be formatted inline or | |
861 # as a displayed block, depending on context | |
862 $self->{options}{'_default_translated'} .= " <imagedata>"; | |
863 $self->{options}{'_default_inline'} .= " <imagedata>"; | |
864 $self->{options}{'_default_attributes'}.=' <imagedata>fileref'; | |
865 | |
866 # imageobject; does not contain text; May be formatted inline or | |
867 # as a displayed block, depending on context | |
868 $self->{options}{'_default_untranslated'} .= " <imageobject>"; | |
869 $self->{options}{'_default_inline'} .= " <imageobject>"; | |
870 | |
871 # imageobjectco; does not contain text; Formatted as a displayed block | |
872 # NOTE: may be in a inlinemediaobject | |
873 # TODO: check if this works when the inlinemediaobject is defined | |
874 # as inline | |
875 $self->{options}{'_default_untranslated'} .= " <imageobjectco>"; | |
876 $self->{options}{'_default_break'} .= " <imageobjectco>"; | |
877 | |
878 # important; does not contain text; Formatted as a displayed block. | |
879 $self->{options}{'_default_untranslated'} .= " <important>"; | |
880 $self->{options}{'_default_break'} .= " <important>"; | |
881 | |
882 # index; does not contain text; Formatted as a displayed block. | |
883 $self->{options}{'_default_untranslated'} .= " <index>"; | |
884 $self->{options}{'_default_break'} .= " <index>"; | |
885 | |
886 # indexdiv; does not contain text; Formatted as a displayed block. | |
887 $self->{options}{'_default_untranslated'} .= " <indexdiv>"; | |
888 $self->{options}{'_default_break'} .= " <indexdiv>"; | |
889 | |
890 # indexentry; does not contain text; Formatted as a displayed block. | |
891 $self->{options}{'_default_untranslated'} .= " <indexentry>"; | |
892 $self->{options}{'_default_break'} .= " <indexentry>"; | |
893 | |
894 # indexinfo; does not contain text; v4, not in v5 | |
895 $self->{options}{'_default_untranslated'} .= " <indexinfo>"; | |
896 $self->{options}{'_default_placeholder'} .= " <indexinfo>"; | |
897 | |
898 # indexterm; does not contain text; | |
899 $self->{options}{'_default_untranslated'} .= " <indexterm>"; | |
900 $self->{options}{'_default_placeholder'} .= " <indexterm>"; | |
901 | |
902 # info; does not contain text; | |
903 $self->{options}{'_default_untranslated'} .= " <info>"; | |
904 $self->{options}{'_default_placeholder'} .= " <info>"; | |
905 | |
906 # informalequation; does not contain text; Formatted as a displayed block. | |
907 $self->{options}{'_default_untranslated'} .= " <informalequation>"; | |
908 $self->{options}{'_default_placeholder'} .= " <informalequation>"; | |
909 | |
910 # informalexample; does not contain text; Formatted as a displayed block. | |
911 # NOTE: can be in a para | |
912 $self->{options}{'_default_untranslated'} .= " <informalexample>"; | |
913 $self->{options}{'_default_break'} .= " <informalexample>"; | |
914 | |
915 # informalfigure; does not contain text; Formatted as a displayed block. | |
916 # NOTE: can be in a para | |
917 $self->{options}{'_default_untranslated'} .= " <informalfigure>"; | |
918 $self->{options}{'_default_break'} .= " <informalfigure>"; | |
919 | |
920 # informaltable; does not contain text; Formatted as a displayed block. | |
921 # NOTE: can be in a para | |
922 $self->{options}{'_default_untranslated'} .= " <informaltable>"; | |
923 $self->{options}{'_default_break'} .= " <informaltable>"; | |
924 | |
925 # initializer; contains text; Formatted inline | |
926 $self->{options}{'_default_translated'} .= " <initializer>"; | |
927 $self->{options}{'_default_inline'} .= " <initializer>"; | |
928 | |
929 # inlineequation; does not contain text; Formatted inline | |
930 $self->{options}{'_default_translated'} .= " W<inlineequation>"; | |
931 $self->{options}{'_default_placeholder'} .= " <inlineequation>"; | |
932 | |
933 # inlinegraphic; does not contain text; Formatted inline | |
934 # empty; v4, not in v5 | |
935 $self->{options}{'_default_translated'} .= " W<inlinegraphic>"; | |
936 $self->{options}{'_default_inline'} .= " <inlinegraphic>"; | |
937 | |
938 # inlinemediaobject; does not contain text; Formatted inline | |
939 $self->{options}{'_default_translated'} .= " <inlinemediaobject>"; | |
940 $self->{options}{'_default_placeholder'} .= " <inlinemediaobject>"; | |
941 | |
942 # interface; contains text; Formatted inline; v4, not in v5 | |
943 $self->{options}{'_default_translated'} .= " <interface>"; | |
944 $self->{options}{'_default_inline'} .= " <interface>"; | |
945 | |
946 # interfacedefinition; contains text; Formatted inline | |
947 # Removed in v4.0 | |
948 $self->{options}{'_default_translated'} .= " <interfacedefinition>"; | |
949 $self->{options}{'_default_inline'} .= " <interfacedefinition>"; | |
950 | |
951 # interfacename; contains text; Formatted inline | |
952 $self->{options}{'_default_translated'} .= " <interfacename>"; | |
953 $self->{options}{'_default_inline'} .= " <interfacename>"; | |
954 | |
955 # invpartnumber; contains text; Formatted inline; v4, not in v5 | |
956 $self->{options}{'_default_translated'} .= " <invpartnumber>"; | |
957 $self->{options}{'_default_inline'} .= " <invpartnumber>"; | |
958 | |
959 # isbn; contains text; Formatted inline; v4, not in v5 | |
960 $self->{options}{'_default_translated'} .= " <isbn>"; | |
961 $self->{options}{'_default_inline'} .= " <isbn>"; | |
962 | |
963 # issn; contains text; Formatted inline; v4, not in v5 | |
964 $self->{options}{'_default_translated'} .= " <issn>"; | |
965 $self->{options}{'_default_inline'} .= " <issn>"; | |
966 | |
967 # issuenum; contains text; Formatted inline or as a displayed block | |
968 # NOTE: could be in the break class | |
969 $self->{options}{'_default_translated'} .= " <issuenum>"; | |
970 $self->{options}{'_default_inline'} .= " <issuenum>"; | |
971 | |
972 # itemizedlist; does not contain text; Formatted as a displayed block. | |
973 $self->{options}{'_default_untranslated'} .= " <itemizedlist>"; | |
974 $self->{options}{'_default_break'} .= " <itemizedlist>"; | |
975 | |
976 # itermset; does not contain text; | |
977 # FIXME | |
978 $self->{options}{'_default_untranslated'} .= " <itermset>"; | |
979 $self->{options}{'_default_inline'} .= " <itermset>"; | |
980 | |
981 # JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ | |
982 | |
983 # jobtitle; contains text; Formatted inline or as a displayed block | |
984 # NOTE: can be in a para | |
985 $self->{options}{'_default_translated'} .= " <jobtitle>"; | |
986 $self->{options}{'_default_inline'} .= " <jobtitle>"; | |
987 | |
988 # KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK | |
989 | |
990 # keycap; contains text; Formatted inline | |
991 $self->{options}{'_default_translated'} .= " <keycap>"; | |
992 $self->{options}{'_default_inline'} .= " <keycap>"; | |
993 | |
994 # keycode; contains text; Formatted inline | |
995 $self->{options}{'_default_translated'} .= " <keycode>"; | |
996 $self->{options}{'_default_inline'} .= " <keycode>"; | |
997 | |
998 # keycombo; does not contain text; Formatted inline | |
999 $self->{options}{'_default_translated'} .= " <keycombo>"; | |
1000 $self->{options}{'_default_inline'} .= " <keycombo>"; | |
1001 | |
1002 # keysym; contains text; Formatted inline | |
1003 $self->{options}{'_default_translated'} .= " <keysym>"; | |
1004 $self->{options}{'_default_inline'} .= " <keysym>"; | |
1005 | |
1006 # keyword; contains text; | |
1007 # NOTE: could be inline | |
1008 $self->{options}{'_default_translated'} .= " <keyword>"; | |
1009 $self->{options}{'_default_break'} .= " <keyword>"; | |
1010 | |
1011 # keywordset; contains text; Formatted inline or as a displayed block | |
1012 # NOTE: could be placeholder/break | |
1013 $self->{options}{'_default_translated'} .= " <keywordset>"; | |
1014 $self->{options}{'_default_break'} .= " <keywordset>"; | |
1015 | |
1016 # LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL | |
1017 | |
1018 # label; contains text; Formatted as a displayed block | |
1019 $self->{options}{'_default_translated'} .= " <label>"; | |
1020 $self->{options}{'_default_break'} .= " <label>"; | |
1021 | |
1022 # legalnotice; contains text; Formatted as a displayed block | |
1023 $self->{options}{'_default_translated'} .= " <legalnotice>"; | |
1024 $self->{options}{'_default_break'} .= " <legalnotice>"; | |
1025 | |
1026 # lhs; contains text; Formatted as a displayed block. | |
1027 # NOTE: it might be better to have the production as verbatim | |
1028 # Keeping the constrainst inline to have it close to the | |
1029 # lhs or rhs. | |
1030 $self->{options}{'_default_translated'} .= " <lhs>"; | |
1031 $self->{options}{'_default_break'} .= " <lhs>"; | |
1032 | |
1033 # lineage; contains text; Formatted inline | |
1034 $self->{options}{'_default_translated'} .= " <lineage>"; | |
1035 $self->{options}{'_default_inline'} .= " <lineage>"; | |
1036 | |
1037 # lineannotation; contains text; Formatted inline | |
1038 $self->{options}{'_default_translated'} .= " <lineannotation>"; | |
1039 $self->{options}{'_default_inline'} .= " <lineannotation>"; | |
1040 | |
1041 # link; contains text; Formatted inline | |
1042 $self->{options}{'_default_translated'} .= " <link>"; | |
1043 $self->{options}{'_default_inline'} .= " <link>"; | |
1044 | |
1045 # listitem; does not contain text; Formatted as a displayed block. | |
1046 $self->{options}{'_default_untranslated'} .= " <listitem>"; | |
1047 $self->{options}{'_default_break'} .= " <listitem>"; | |
1048 | |
1049 # literal; contains text; Formatted inline | |
1050 $self->{options}{'_default_translated'} .= " <literal>"; | |
1051 $self->{options}{'_default_inline'} .= " <literal>"; | |
1052 | |
1053 # literallayout; contains text; verbatim | |
1054 $self->{options}{'_default_translated'} .= " W<literallayout>"; | |
1055 $self->{options}{'_default_placeholder'} .= " <literallayout>"; | |
1056 | |
1057 # locator; does not contain text; | |
1058 $self->{options}{'_default_untranslated'} .= " <locator>"; | |
1059 $self->{options}{'_default_inline'} .= " <locator>"; | |
1060 | |
1061 # lot; does not contain text; Formatted as a displayed block. | |
1062 # v4, not in v5 | |
1063 $self->{options}{'_default_untranslated'} .= " <lot>"; | |
1064 $self->{options}{'_default_break'} .= " <lot>"; | |
1065 | |
1066 # lotentry; contains text; Formatted as a displayed block. | |
1067 # v4, not in v5 | |
1068 $self->{options}{'_default_translated'} .= " <lotentry>"; | |
1069 $self->{options}{'_default_break'} .= " <lotentry>"; | |
1070 | |
1071 # MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
1072 | |
1073 # manvolnum; contains text; | |
1074 $self->{options}{'_default_translated'} .= " <manvolnum>"; | |
1075 $self->{options}{'_default_inline'} .= " <manvolnum>"; | |
1076 | |
1077 # markup; contains text; Formatted inline | |
1078 $self->{options}{'_default_translated'} .= " <markup>"; | |
1079 $self->{options}{'_default_inline'} .= " <markup>"; | |
1080 | |
1081 # mathphrase; contains text; Formatted inline | |
1082 $self->{options}{'_default_translated'} .= " <mathphrase>"; | |
1083 $self->{options}{'_default_inline'} .= " <mathphrase>"; | |
1084 | |
1085 # medialabel; contains text; Formatted inline | |
1086 # v4, not in v5 | |
1087 $self->{options}{'_default_translated'} .= " <medialabel>"; | |
1088 $self->{options}{'_default_inline'} .= " <medialabel>"; | |
1089 | |
1090 # mediaobject; does not contain text; Formatted as a displayed block. | |
1091 $self->{options}{'_default_untranslated'} .= " <mediaobject>"; | |
1092 $self->{options}{'_default_placeholder'} .= " <mediaobject>"; | |
1093 | |
1094 # mediaobjectco; does not contain text; Formatted as a displayed block. | |
1095 $self->{options}{'_default_untranslated'} .= " <mediaobjectco>"; | |
1096 $self->{options}{'_default_placeholder'} .= " <mediaobjectco>"; | |
1097 | |
1098 # member; contains text; Formatted inline | |
1099 $self->{options}{'_default_translated'} .= " <member>"; | |
1100 $self->{options}{'_default_inline'} .= " <member>"; | |
1101 | |
1102 # menuchoice; does not contain text; Formatted inline | |
1103 $self->{options}{'_default_translated'} .= " <menuchoice>"; | |
1104 $self->{options}{'_default_inline'} .= " <menuchoice>"; | |
1105 | |
1106 # methodname; contains text; Formatted inline | |
1107 $self->{options}{'_default_translated'} .= " <methodname>"; | |
1108 $self->{options}{'_default_inline'} .= " <methodname>"; | |
1109 | |
1110 # methodparam; does not contain text; Formatted inline | |
1111 $self->{options}{'_default_translated'} .= " <methodparam>"; | |
1112 $self->{options}{'_default_inline'} .= " <methodparam>"; | |
1113 | |
1114 # methodsynopsis; does not contain text; Formatted inline | |
1115 $self->{options}{'_default_translated'} .= " <methodsynopsis>"; | |
1116 $self->{options}{'_default_inline'} .= " <methodsynopsis>"; | |
1117 | |
1118 # modifier; contains text; Formatted inline | |
1119 $self->{options}{'_default_translated'} .= " <modifier>"; | |
1120 $self->{options}{'_default_inline'} .= " <modifier>"; | |
1121 | |
1122 # mousebutton; contains text; Formatted inline | |
1123 $self->{options}{'_default_translated'} .= " <mousebutton>"; | |
1124 $self->{options}{'_default_inline'} .= " <mousebutton>"; | |
1125 | |
1126 # msg; does not contain text; Formatted as a displayed block. | |
1127 $self->{options}{'_default_untranslated'} .= " <msg>"; | |
1128 $self->{options}{'_default_break'} .= " <msg>"; | |
1129 | |
1130 # msgaud; contains text; Formatted as a displayed block. | |
1131 $self->{options}{'_default_translated'} .= " <msgaud>"; | |
1132 $self->{options}{'_default_break'} .= " <msgaud>"; | |
1133 | |
1134 # msgentry; does not contain text; Formatted as a displayed block. | |
1135 $self->{options}{'_default_untranslated'} .= " <msgentry>"; | |
1136 $self->{options}{'_default_break'} .= " <msgentry>"; | |
1137 | |
1138 # msgexplan; does not contain text; Formatted as a displayed block. | |
1139 $self->{options}{'_default_untranslated'} .= " <msgexplan>"; | |
1140 $self->{options}{'_default_break'} .= " <msgexplan>"; | |
1141 | |
1142 # msginfo; does not contain text; Formatted as a displayed block. | |
1143 $self->{options}{'_default_untranslated'} .= " <msginfo>"; | |
1144 $self->{options}{'_default_break'} .= " <msginfo>"; | |
1145 | |
1146 # msglevel; contains text; Formatted as a displayed block. | |
1147 $self->{options}{'_default_translated'} .= " <msglevel>"; | |
1148 $self->{options}{'_default_break'} .= " <msglevel>"; | |
1149 | |
1150 # msgmain; does not contain text; Formatted as a displayed block. | |
1151 $self->{options}{'_default_untranslated'} .= " <msgmain>"; | |
1152 $self->{options}{'_default_break'} .= " <msgmain>"; | |
1153 | |
1154 # msgorig; contains text; Formatted as a displayed block. | |
1155 $self->{options}{'_default_translated'} .= " <msgorig>"; | |
1156 $self->{options}{'_default_break'} .= " <msgorig>"; | |
1157 | |
1158 # msgrel; does not contain text; Formatted as a displayed block. | |
1159 $self->{options}{'_default_untranslated'} .= " <msgrel>"; | |
1160 $self->{options}{'_default_break'} .= " <msgrel>"; | |
1161 | |
1162 # msgset; does not contain text; Formatted as a displayed block. | |
1163 $self->{options}{'_default_untranslated'} .= " <msgset>"; | |
1164 $self->{options}{'_default_placeholder'} .= " <msgset>"; | |
1165 | |
1166 # msgsub; does not contain text; Formatted as a displayed block. | |
1167 $self->{options}{'_default_untranslated'} .= " <msgsub>"; | |
1168 $self->{options}{'_default_break'} .= " <msgsub>"; | |
1169 | |
1170 # msgtext; does not contain text; Formatted as a displayed block. | |
1171 $self->{options}{'_default_untranslated'} .= " <msgtext>"; | |
1172 $self->{options}{'_default_break'} .= " <msgtext>"; | |
1173 | |
1174 # NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN | |
1175 | |
1176 # nonterminal; contains text; Formatted inline | |
1177 $self->{options}{'_default_translated'} .= " <nonterminal>"; | |
1178 $self->{options}{'_default_inline'} .= " <nonterminal>"; | |
1179 | |
1180 # note; does not contain text; Formatted inline | |
1181 # NOTE: can be in a para | |
1182 $self->{options}{'_default_untranslated'} .= " <note>"; | |
1183 $self->{options}{'_default_inline'} .= " <note>"; | |
1184 | |
1185 # OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO | |
1186 | |
1187 # objectinfo; does not contain text; v3.1 -> v4, not in v5 | |
1188 $self->{options}{'_default_untranslated'} .= " <objectinfo>"; | |
1189 $self->{options}{'_default_placeholder'} .= " <objectinfo>"; | |
1190 | |
1191 # olink; contains text; Formatted inline | |
1192 $self->{options}{'_default_translated'} .= " <olink>"; | |
1193 $self->{options}{'_default_inline'} .= " <olink>"; | |
1194 | |
1195 # ooclass; does not contain text; Formatted inline | |
1196 $self->{options}{'_default_translated'} .= " <ooclass>"; | |
1197 $self->{options}{'_default_inline'} .= " <ooclass>"; | |
1198 | |
1199 # ooexception; contains text; Formatted inline | |
1200 $self->{options}{'_default_translated'} .= " <ooexception>"; | |
1201 $self->{options}{'_default_inline'} .= " <ooexception>"; | |
1202 | |
1203 # oointerface; contains text; Formatted inline | |
1204 $self->{options}{'_default_translated'} .= " <oointerface>"; | |
1205 $self->{options}{'_default_inline'} .= " <oointerface>"; | |
1206 | |
1207 # option; contains text; Formatted inline | |
1208 $self->{options}{'_default_translated'} .= " <option>"; | |
1209 $self->{options}{'_default_inline'} .= " <option>"; | |
1210 | |
1211 # optional; contains text; Formatted inline | |
1212 $self->{options}{'_default_translated'} .= " <optional>"; | |
1213 $self->{options}{'_default_inline'} .= " <optional>"; | |
1214 | |
1215 # orderedlist; does not contain text; Formatted as a displayed block. | |
1216 $self->{options}{'_default_untranslated'} .= " <orderedlist>"; | |
1217 $self->{options}{'_default_placeholder'} .= " <orderedlist>"; | |
1218 | |
1219 # org; does not contain text; Formatted inline or as a | |
1220 # displayed block depending on context | |
1221 $self->{options}{'_default_untranslated'} .= " <org>"; | |
1222 $self->{options}{'_default_inline'} .= " <org>"; | |
1223 | |
1224 # orgdiv; contains text; Formatted inline | |
1225 $self->{options}{'_default_translated'} .= " <orgdiv>"; | |
1226 $self->{options}{'_default_inline'} .= " <orgdiv>"; | |
1227 | |
1228 # orgname; contains text; Formatted inline | |
1229 $self->{options}{'_default_translated'} .= " <orgname>"; | |
1230 $self->{options}{'_default_inline'} .= " <orgname>"; | |
1231 | |
1232 # otheraddr; contains text; Formatted inline | |
1233 $self->{options}{'_default_translated'} .= " <otheraddr>"; | |
1234 $self->{options}{'_default_inline'} .= " <otheraddr>"; | |
1235 | |
1236 # othercredit; does not contain text; Formatted inline or as a | |
1237 # displayed block depending on context | |
1238 $self->{options}{'_default_untranslated'} .= " <othercredit>"; | |
1239 $self->{options}{'_default_inline'} .= " <othercredit>"; | |
1240 | |
1241 # othername; contains text; Formatted inline | |
1242 $self->{options}{'_default_translated'} .= " <othername>"; | |
1243 $self->{options}{'_default_inline'} .= " <othername>"; | |
1244 | |
1245 # PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP | |
1246 | |
1247 # package; contains text; Formatted inline | |
1248 $self->{options}{'_default_translated'} .= " <package>"; | |
1249 $self->{options}{'_default_inline'} .= " <package>"; | |
1250 | |
1251 # pagenums; contains text; Formatted inline | |
1252 $self->{options}{'_default_translated'} .= " <pagenums>"; | |
1253 $self->{options}{'_default_inline'} .= " <pagenums>"; | |
1254 | |
1255 # para; contains text; Formatted as a displayed block | |
1256 $self->{options}{'_default_translated'} .= " <para>"; | |
1257 $self->{options}{'_default_break'} .= " <para>"; | |
1258 | |
1259 # paramdef; contains text; Formatted inline | |
1260 $self->{options}{'_default_translated'} .= " <paramdef>"; | |
1261 $self->{options}{'_default_inline'} .= " <paramdef>"; | |
1262 | |
1263 # parameter; contains text; Formatted inline | |
1264 $self->{options}{'_default_translated'} .= " <parameter>"; | |
1265 $self->{options}{'_default_inline'} .= " <parameter>"; | |
1266 | |
1267 # part; does not contain text; Formatted as a displayed block. | |
1268 $self->{options}{'_default_untranslated'} .= " <part>"; | |
1269 $self->{options}{'_default_break'} .= " <part>"; | |
1270 | |
1271 # partinfo; does not contain text; v4, not in v5 | |
1272 $self->{options}{'_default_untranslated'} .= " <partinfo>"; | |
1273 $self->{options}{'_default_placeholder'} .= " <partinfo>"; | |
1274 | |
1275 # partintro; does not contain text; Formatted as a displayed block. | |
1276 $self->{options}{'_default_untranslated'} .= " <partintro>"; | |
1277 $self->{options}{'_default_break'} .= " <partintro>"; | |
1278 | |
1279 # person; does not contain text; Formatted inline or as a | |
1280 # displayed block depending on context | |
1281 $self->{options}{'_default_untranslated'} .= " <person>"; | |
1282 $self->{options}{'_default_inline'} .= " <person>"; | |
1283 | |
1284 # personblurb; does not contain text; Formatted as a displayed block. | |
1285 $self->{options}{'_default_untranslated'} .= " <personblurb>"; | |
1286 $self->{options}{'_default_placeholder'} .= " <personblurb>"; | |
1287 | |
1288 # personname; contains text; Formatted inline | |
1289 $self->{options}{'_default_translated'} .= " <personname>"; | |
1290 $self->{options}{'_default_inline'} .= " <personname>"; | |
1291 | |
1292 # phone; contains text; Formatted inline | |
1293 $self->{options}{'_default_translated'} .= " <phone>"; | |
1294 $self->{options}{'_default_inline'} .= " <phone>"; | |
1295 | |
1296 # phrase; contains text; Formatted inline | |
1297 $self->{options}{'_default_translated'} .= " <phrase>"; | |
1298 $self->{options}{'_default_inline'} .= " <phrase>"; | |
1299 | |
1300 # pob; contains text; Formatted inline | |
1301 $self->{options}{'_default_translated'} .= " <pob>"; | |
1302 $self->{options}{'_default_inline'} .= " <pob>"; | |
1303 | |
1304 # postcode; contains text; Formatted inline | |
1305 $self->{options}{'_default_translated'} .= " <postcode>"; | |
1306 $self->{options}{'_default_inline'} .= " <postcode>"; | |
1307 | |
1308 # preface; does not contain text; Formatted as a displayed block. | |
1309 $self->{options}{'_default_untranslated'} .= " <preface>"; | |
1310 $self->{options}{'_default_break'} .= " <preface>"; | |
1311 | |
1312 # prefaceinfo; does not contain text; v4, not in v5 | |
1313 $self->{options}{'_default_untranslated'} .= " <prefaceinfo>"; | |
1314 $self->{options}{'_default_placeholder'} .= " <prefaceinfo>"; | |
1315 | |
1316 # primary; contains text; | |
1317 $self->{options}{'_default_translated'} .= " <primary>"; | |
1318 $self->{options}{'_default_break'} .= " <primary>"; | |
1319 | |
1320 # primaryie; contains text; Formatted as a displayed block. | |
1321 $self->{options}{'_default_translated'} .= " <primaryie>"; | |
1322 $self->{options}{'_default_break'} .= " <primaryie>"; | |
1323 | |
1324 # printhistory; does not contain text; Formatted as a displayed block. | |
1325 $self->{options}{'_default_untranslated'} .= " <printhistory>"; | |
1326 $self->{options}{'_default_break'} .= " <printhistory>"; | |
1327 | |
1328 # procedure; does not contain text; Formatted as a displayed block. | |
1329 $self->{options}{'_default_untranslated'} .= " <procedure>"; | |
1330 $self->{options}{'_default_placeholder'} .= " <procedure>"; | |
1331 | |
1332 # production; doesnot contain text; | |
1333 # NOTE: it might be better to have the production as verbatim | |
1334 # Keeping the constrainst inline to have it close to the | |
1335 # lhs or rhs. | |
1336 $self->{options}{'_default_untranslated'} .= " <production>"; | |
1337 $self->{options}{'_default_break'} .= " <production>"; | |
1338 | |
1339 # productionrecap; does not contain text; like production | |
1340 $self->{options}{'_default_untranslated'} .= " <productionrecap>"; | |
1341 $self->{options}{'_default_break'} .= " <productionrecap>"; | |
1342 | |
1343 # productionset; does not contain text; Formatted as a displayed block. | |
1344 $self->{options}{'_default_untranslated'} .= " <productionset>"; | |
1345 $self->{options}{'_default_placeholder'} .= " <productionset>"; | |
1346 | |
1347 # productname; contains text; Formatted inline | |
1348 $self->{options}{'_default_translated'} .= " <productname>"; | |
1349 $self->{options}{'_default_inline'} .= " <productname>"; | |
1350 | |
1351 # productnumber; contains text; Formatted inline | |
1352 $self->{options}{'_default_translated'} .= " <productnumber>"; | |
1353 $self->{options}{'_default_inline'} .= " <productnumber>"; | |
1354 | |
1355 # programlisting; contains text; Formatted as a displayed block. | |
1356 $self->{options}{'_default_translated'} .= " W<programlisting>"; | |
1357 $self->{options}{'_default_placeholder'} .= " <programlisting>"; | |
1358 | |
1359 # programlistingco; contains text; Formatted as a displayed block. | |
1360 $self->{options}{'_default_untranslated'} .= " <programlistingco>"; | |
1361 $self->{options}{'_default_placeholder'} .= " <programlistingco>"; | |
1362 | |
1363 # prompt; contains text; Formatted inline | |
1364 $self->{options}{'_default_translated'} .= " <prompt>"; | |
1365 $self->{options}{'_default_inline'} .= " <prompt>"; | |
1366 | |
1367 # property; contains text; Formatted inline | |
1368 $self->{options}{'_default_translated'} .= " <property>"; | |
1369 $self->{options}{'_default_inline'} .= " <property>"; | |
1370 | |
1371 # pubdate; contains text; Formatted inline | |
1372 $self->{options}{'_default_translated'} .= " <pubdate>"; | |
1373 $self->{options}{'_default_inline'} .= " <pubdate>"; | |
1374 | |
1375 # publisher; does not contain text; Formatted inline or as a displayed block | |
1376 # NOTE: could be in the break class | |
1377 $self->{options}{'_default_translated'} .= " <publisher>"; | |
1378 $self->{options}{'_default_inline'} .= " <publisher>"; | |
1379 | |
1380 # publishername; contains text; Formatted inline or as a displayed block | |
1381 $self->{options}{'_default_translated'} .= " <publishername>"; | |
1382 $self->{options}{'_default_inline'} .= " <publishername>"; | |
1383 | |
1384 # QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ | |
1385 | |
1386 # qandadiv; does not contain text; Formatted as a displayed block. | |
1387 $self->{options}{'_default_untranslated'} .= " <qandadiv>"; | |
1388 $self->{options}{'_default_break'} .= " <qandadiv>"; | |
1389 | |
1390 # qandaentry; does not contain text; Formatted as a displayed block. | |
1391 $self->{options}{'_default_untranslated'} .= " <qandaentry>"; | |
1392 $self->{options}{'_default_break'} .= " <qandaentry>"; | |
1393 | |
1394 # qandaset; does not contain text; Formatted as a displayed block. | |
1395 $self->{options}{'_default_untranslated'} .= " <qandaset>"; | |
1396 $self->{options}{'_default_break'} .= " <qandaset>"; | |
1397 | |
1398 # question; does not contain text; | |
1399 $self->{options}{'_default_untranslated'} .= " <question>"; | |
1400 $self->{options}{'_default_break'} .= " <question>"; | |
1401 | |
1402 # quote; contains text; Formatted inline | |
1403 $self->{options}{'_default_translated'} .= " <quote>"; | |
1404 $self->{options}{'_default_inline'} .= " <quote>"; | |
1405 | |
1406 # RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR | |
1407 | |
1408 # refclass; contains text; Formatted inline or as a displayed block | |
1409 # NOTE: could be in the inline class | |
1410 $self->{options}{'_default_translated'} .= " <refclass>"; | |
1411 $self->{options}{'_default_break'} .= " <refclass>"; | |
1412 | |
1413 # refdescriptor; contains text; Formatted inline or as a displayed block | |
1414 # NOTE: could be in the inline class | |
1415 $self->{options}{'_default_translated'} .= " <refdescriptor>"; | |
1416 $self->{options}{'_default_break'} .= " <refdescriptor>"; | |
1417 | |
1418 # refentry; does not contain text; Formatted as a displayed block | |
1419 $self->{options}{'_default_untranslated'} .= " <refentry>"; | |
1420 $self->{options}{'_default_break'} .= " <refentry>"; | |
1421 | |
1422 # refentryinfo; does not contain text; v4, not in v5 | |
1423 $self->{options}{'_default_untranslated'} .= " <refentryinfo>"; | |
1424 $self->{options}{'_default_placeholder'} .= " <refentryinfo>"; | |
1425 | |
1426 # refentrytitle; contains text; Formatted as a displayed block | |
1427 # FIXME: do not seems to be a block | |
1428 $self->{options}{'_default_translated'} .= " <refentrytitle>"; | |
1429 $self->{options}{'_default_inline'} .= " <refentrytitle>"; | |
1430 | |
1431 # reference; does not contain text; Formatted as a displayed block | |
1432 $self->{options}{'_default_untranslated'} .= " <reference>"; | |
1433 $self->{options}{'_default_break'} .= " <reference>"; | |
1434 | |
1435 # referenceinfo; does not contain text; v4, not in v5 | |
1436 $self->{options}{'_default_untranslated'} .= " <referenceinfo>"; | |
1437 $self->{options}{'_default_placeholder'} .= " <referenceinfo>"; | |
1438 | |
1439 # refmeta; does not contains text; | |
1440 # NOTE: could be in the inline class | |
1441 $self->{options}{'_default_untranslated'} .= " <refmeta>"; | |
1442 $self->{options}{'_default_break'} .= " <refmeta>"; | |
1443 | |
1444 # refmiscinfo; contains text; Formatted inline or as a displayed block | |
1445 # NOTE: could be in the inline class | |
1446 $self->{options}{'_default_translated'} .= " <refmiscinfo>"; | |
1447 $self->{options}{'_default_break'} .= " <refmiscinfo>"; | |
1448 | |
1449 # refname; contains text; Formatted inline or as a displayed block | |
1450 # NOTE: could be in the inline class | |
1451 $self->{options}{'_default_translated'} .= " <refname>"; | |
1452 $self->{options}{'_default_break'} .= " <refname>"; | |
1453 | |
1454 # refnamediv; does not contain text; Formatted as a displayed block | |
1455 $self->{options}{'_default_untranslated'} .= " <refnamediv>"; | |
1456 $self->{options}{'_default_break'} .= " <refnamediv>"; | |
1457 | |
1458 # refpurpose; contains text; Formatted inline | |
1459 $self->{options}{'_default_translated'} .= " <refpurpose>"; | |
1460 $self->{options}{'_default_inline'} .= " <refpurpose>"; | |
1461 | |
1462 # refsect1; does not contain text; Formatted as a displayed block | |
1463 $self->{options}{'_default_untranslated'} .= " <refsect1>"; | |
1464 $self->{options}{'_default_break'} .= " <refsect1>"; | |
1465 | |
1466 # refsect1info; does not contain text; v4, not in v5 | |
1467 $self->{options}{'_default_untranslated'} .= " <refsect1info>"; | |
1468 $self->{options}{'_default_placeholder'} .= " <refsect1info>"; | |
1469 | |
1470 # refsect2; does not contain text; Formatted as a displayed block | |
1471 $self->{options}{'_default_untranslated'} .= " <refsect2>"; | |
1472 $self->{options}{'_default_break'} .= " <refsect2>"; | |
1473 | |
1474 # refsect2info; does not contain text; v4, not in v5 | |
1475 $self->{options}{'_default_untranslated'} .= " <refsect2info>"; | |
1476 $self->{options}{'_default_placeholder'} .= " <refsect2info>"; | |
1477 | |
1478 # refsect3; does not contain text; Formatted as a displayed block | |
1479 $self->{options}{'_default_untranslated'} .= " <refsect3>"; | |
1480 $self->{options}{'_default_break'} .= " <refsect3>"; | |
1481 | |
1482 # refsect3info; does not contain text; v4, not in v5 | |
1483 $self->{options}{'_default_untranslated'} .= " <refsect3info>"; | |
1484 $self->{options}{'_default_placeholder'} .= " <refsect3info>"; | |
1485 | |
1486 # refsection; does not contain text; Formatted as a displayed block | |
1487 $self->{options}{'_default_untranslated'} .= " <refsection>"; | |
1488 $self->{options}{'_default_break'} .= " <refsection>"; | |
1489 | |
1490 # refsectioninfo; does not contain text; v4, not in v5 | |
1491 $self->{options}{'_default_untranslated'} .= " <refsectioninfo>"; | |
1492 $self->{options}{'_default_placeholder'} .= " <refsectioninfo>"; | |
1493 | |
1494 # refsynopsisdiv; does not contain text; Formatted as a displayed block | |
1495 $self->{options}{'_default_untranslated'} .= " <refsynopsisdiv>"; | |
1496 $self->{options}{'_default_break'} .= " <refsynopsisdiv>"; | |
1497 | |
1498 # refsynopsisdivinfo; does not contain text; v4, not in v5 | |
1499 $self->{options}{'_default_untranslated'} .= " <refsynopsisdivinfo>"; | |
1500 $self->{options}{'_default_placeholder'} .= " <refsynopsisdivinfo>"; | |
1501 | |
1502 # releaseinfo; contains text; Formatted inline or as a displayed block | |
1503 # NOTE: could be in the inline class | |
1504 $self->{options}{'_default_translated'} .= " <releaseinfo>"; | |
1505 $self->{options}{'_default_break'} .= " <releaseinfo>"; | |
1506 | |
1507 # remark; contains text; Formatted inline or as a displayed block | |
1508 $self->{options}{'_default_translated'} .= " <remark>"; | |
1509 $self->{options}{'_default_inline'} .= " <remark>"; | |
1510 | |
1511 # replaceable; contains text; Formatted inline | |
1512 $self->{options}{'_default_translated'} .= " <replaceable>"; | |
1513 $self->{options}{'_default_inline'} .= " <replaceable>"; | |
1514 | |
1515 # returnvalue; contains text; Formatted inline | |
1516 $self->{options}{'_default_translated'} .= " <returnvalue>"; | |
1517 $self->{options}{'_default_inline'} .= " <returnvalue>"; | |
1518 | |
1519 # revdescription; contains text; Formatted inline or as a displayed block | |
1520 $self->{options}{'_default_translated'} .= " <revdescription>"; | |
1521 $self->{options}{'_default_break'} .= " <revdescription>"; | |
1522 | |
1523 # revhistory; does not contain text; Formatted as a displayed block | |
1524 $self->{options}{'_default_untranslated'} .= " <revhistory>"; | |
1525 $self->{options}{'_default_break'} .= " <revhistory>"; | |
1526 | |
1527 # revision; does not contain text; | |
1528 $self->{options}{'_default_untranslated'} .= " <revision>"; | |
1529 $self->{options}{'_default_break'} .= " <revision>"; | |
1530 | |
1531 # revnumber; contains text; Formatted inline | |
1532 $self->{options}{'_default_translated'} .= " <revnumber>"; | |
1533 $self->{options}{'_default_inline'} .= " <revnumber>"; | |
1534 | |
1535 # revremark; contains text; Formatted inline or as a displayed block | |
1536 $self->{options}{'_default_translated'} .= " <revremark>"; | |
1537 $self->{options}{'_default_break'} .= " <revremark>"; | |
1538 | |
1539 # rhs; contains text; Formatted as a displayed block. | |
1540 # NOTE: it might be better to have the production as verbatim | |
1541 # Keeping the constrainst inline to have it close to the | |
1542 # lhs or rhs. | |
1543 $self->{options}{'_default_translated'} .= " <rhs>"; | |
1544 $self->{options}{'_default_break'} .= " <rhs>"; | |
1545 | |
1546 # row; does not contain text; | |
1547 $self->{options}{'_default_untranslated'} .= " <row>"; | |
1548 $self->{options}{'_default_break'} .= " <row>"; | |
1549 | |
1550 # SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS | |
1551 | |
1552 # sbr; does not contain text; line break | |
1553 $self->{options}{'_default_untranslated'} .= " <sbr>"; | |
1554 $self->{options}{'_default_break'} .= " <sbr>"; | |
1555 | |
1556 # screen; contains text; verbatim | |
1557 $self->{options}{'_default_translated'} .= " W<screen>"; | |
1558 $self->{options}{'_default_placeholder'} .= " <screen>"; | |
1559 | |
1560 # screenco; does not contain text; Formatted as a displayed block. | |
1561 $self->{options}{'_default_untranslated'} .= " <screenco>"; | |
1562 $self->{options}{'_default_placeholder'} .= " <screenco>"; | |
1563 | |
1564 # screeninfo; does not contain text; v4, not in v5 | |
1565 $self->{options}{'_default_untranslated'} .= " <screeninfo>"; | |
1566 $self->{options}{'_default_placeholder'} .= " <screeninfo>"; | |
1567 | |
1568 # screenshot; does not contain text; Formatted as a displayed block. | |
1569 $self->{options}{'_default_untranslated'} .= " <screenshot>"; | |
1570 $self->{options}{'_default_placeholder'} .= " <screenshot>"; | |
1571 | |
1572 # secondary; contains text; | |
1573 $self->{options}{'_default_translated'} .= " <secondary>"; | |
1574 $self->{options}{'_default_break'} .= " <secondary>"; | |
1575 | |
1576 # secondaryie; contains text; Formatted as a displayed block. | |
1577 $self->{options}{'_default_translated'} .= " <secondaryie>"; | |
1578 $self->{options}{'_default_break'} .= " <secondaryie>"; | |
1579 | |
1580 # sect1; does not contain text; Formatted as a displayed block. | |
1581 $self->{options}{'_default_untranslated'} .= " <sect1>"; | |
1582 $self->{options}{'_default_break'} .= " <sect1>"; | |
1583 | |
1584 # sect1info; does not contain text; v4, not in v5 | |
1585 $self->{options}{'_default_untranslated'} .= " <sect1info>"; | |
1586 $self->{options}{'_default_placeholder'} .= " <sect1info>"; | |
1587 | |
1588 # sect2; does not contain text; Formatted as a displayed block. | |
1589 $self->{options}{'_default_untranslated'} .= " <sect2>"; | |
1590 $self->{options}{'_default_break'} .= " <sect2>"; | |
1591 | |
1592 # sect2info; does not contain text; v4, not in v5 | |
1593 $self->{options}{'_default_untranslated'} .= " <sect2info>"; | |
1594 $self->{options}{'_default_placeholder'} .= " <sect2info>"; | |
1595 | |
1596 # sect3; does not contain text; Formatted as a displayed block. | |
1597 $self->{options}{'_default_untranslated'} .= " <sect3>"; | |
1598 $self->{options}{'_default_break'} .= " <sect3>"; | |
1599 | |
1600 # sect3info; does not contain text; v4, not in v5 | |
1601 $self->{options}{'_default_untranslated'} .= " <sect3info>"; | |
1602 $self->{options}{'_default_placeholder'} .= " <sect3info>"; | |
1603 | |
1604 # sect4; does not contain text; Formatted as a displayed block. | |
1605 $self->{options}{'_default_untranslated'} .= " <sect4>"; | |
1606 $self->{options}{'_default_break'} .= " <sect4>"; | |
1607 | |
1608 # sect4info; does not contain text; v4, not in v5 | |
1609 $self->{options}{'_default_untranslated'} .= " <sect4info>"; | |
1610 $self->{options}{'_default_placeholder'} .= " <sect4info>"; | |
1611 | |
1612 # sect5; does not contain text; Formatted as a displayed block. | |
1613 $self->{options}{'_default_untranslated'} .= " <sect5>"; | |
1614 $self->{options}{'_default_break'} .= " <sect5>"; | |
1615 | |
1616 # sect5info; does not contain text; v4, not in v5 | |
1617 $self->{options}{'_default_untranslated'} .= " <sect5info>"; | |
1618 $self->{options}{'_default_placeholder'} .= " <sect5info>"; | |
1619 | |
1620 # section; does not contain text; Formatted as a displayed block. | |
1621 $self->{options}{'_default_untranslated'} .= " <section>"; | |
1622 $self->{options}{'_default_break'} .= " <section>"; | |
1623 | |
1624 # sectioninfo; does not contain text; v3.1 -> v4, not in v5 | |
1625 $self->{options}{'_default_untranslated'} .= " <sectioninfo>"; | |
1626 $self->{options}{'_default_placeholder'} .= " <sectioninfo>"; | |
1627 | |
1628 # see; contains text; | |
1629 $self->{options}{'_default_translated'} .= " <see>"; | |
1630 $self->{options}{'_default_break'} .= " <see>"; | |
1631 | |
1632 # seealso; contains text; | |
1633 $self->{options}{'_default_translated'} .= " <seealso>"; | |
1634 $self->{options}{'_default_break'} .= " <seealso>"; | |
1635 | |
1636 # seealsoie; contains text; Formatted as a displayed block. | |
1637 $self->{options}{'_default_translated'} .= " <seealsoie>"; | |
1638 $self->{options}{'_default_break'} .= " <seealsoie>"; | |
1639 | |
1640 # seeie; contains text; Formatted as a displayed block. | |
1641 $self->{options}{'_default_translated'} .= " <seeie>"; | |
1642 $self->{options}{'_default_break'} .= " <seeie>"; | |
1643 | |
1644 # seg; contains text; | |
1645 $self->{options}{'_default_translated'} .= " <seg>"; | |
1646 $self->{options}{'_default_break'} .= " <seg>"; | |
1647 | |
1648 # seglistitem; does not contain text; | |
1649 $self->{options}{'_default_untranslated'} .= " <seglistitem>"; | |
1650 $self->{options}{'_default_break'} .= " <seglistitem>"; | |
1651 | |
1652 # segmentedlist; does not contain text; | |
1653 $self->{options}{'_default_untranslated'} .= " <segmentedlist>"; | |
1654 $self->{options}{'_default_break'} .= " <segmentedlist>"; | |
1655 | |
1656 # segtitle; contains text; | |
1657 $self->{options}{'_default_translated'} .= " <segtitle>"; | |
1658 $self->{options}{'_default_break'} .= " <segtitle>"; | |
1659 | |
1660 # seriesinfo; does not contain text; | |
1661 # Removed in v4.0 | |
1662 $self->{options}{'_default_untranslated'} .= " <seriesinfo>"; | |
1663 $self->{options}{'_default_placeholder'} .= " <seriesinfo>"; | |
1664 | |
1665 # seriesvolnums; contains text; Formatted inline | |
1666 # NOTE: could be in the break class | |
1667 $self->{options}{'_default_translated'} .= " <seriesvolnums>"; | |
1668 $self->{options}{'_default_inline'} .= " <seriesvolnums>"; | |
1669 | |
1670 # set; does not contain text; Formatted as a displayed block. | |
1671 $self->{options}{'_default_untranslated'} .= " <set>"; | |
1672 $self->{options}{'_default_break'} .= " <set>"; | |
1673 | |
1674 # setindex; does not contain text; Formatted as a displayed block. | |
1675 $self->{options}{'_default_untranslated'} .= " <setindex>"; | |
1676 $self->{options}{'_default_break'} .= " <setindex>"; | |
1677 | |
1678 # setindexinfo; does not contain text; v4, not in v5 | |
1679 $self->{options}{'_default_untranslated'} .= " <setindexinfo>"; | |
1680 $self->{options}{'_default_placeholder'} .= " <setindexinfo>"; | |
1681 | |
1682 # setinfo; does not contain text; v4, not in v5 | |
1683 $self->{options}{'_default_untranslated'} .= " <setinfo>"; | |
1684 $self->{options}{'_default_placeholder'} .= " <setinfo>"; | |
1685 | |
1686 # sgmltag; contains text; Formatted inline; v4, not in v5 | |
1687 $self->{options}{'_default_translated'} .= " <sgmltag>"; | |
1688 $self->{options}{'_default_inline'} .= " <sgmltag>"; | |
1689 | |
1690 # shortaffil; contains text; Formatted inline or as a | |
1691 # displayed block depending on context | |
1692 $self->{options}{'_default_translated'} .= " <shortaffil>"; | |
1693 $self->{options}{'_default_inline'} .= " <shortaffil>"; | |
1694 | |
1695 # shortcut; does not contain text; Formatted inline | |
1696 $self->{options}{'_default_untranslated'} .= " <shortcut>"; | |
1697 $self->{options}{'_default_inline'} .= " <shortcut>"; | |
1698 | |
1699 # sidebar; does not contain text; Formatted as a displayed block. | |
1700 $self->{options}{'_default_untranslated'} .= " <sidebar>"; | |
1701 $self->{options}{'_default_break'} .= " <sidebar>"; | |
1702 | |
1703 # sidebarinfo; does not contain text; v4, not in v5 | |
1704 $self->{options}{'_default_untranslated'} .= " <sidebarinfo>"; | |
1705 $self->{options}{'_default_placeholder'} .= " <sidebarinfo>"; | |
1706 | |
1707 # simpara; contains text; Formatted as a displayed block. | |
1708 $self->{options}{'_default_translated'} .= " <simpara>"; | |
1709 $self->{options}{'_default_break'} .= " <simpara>"; | |
1710 | |
1711 # simplelist; does not contain text; | |
1712 $self->{options}{'_default_untranslated'} .= " <simplelist>"; | |
1713 $self->{options}{'_default_inline'} .= " <simplelist>"; | |
1714 | |
1715 # simplemsgentry; does not contain text; Formatted as a displayed block. | |
1716 $self->{options}{'_default_untranslated'} .= " <simplemsgentry>"; | |
1717 $self->{options}{'_default_break'} .= " <simplemsgentry>"; | |
1718 | |
1719 # simplesect; does not contain text; Formatted as a displayed block. | |
1720 $self->{options}{'_default_untranslated'} .= " <simplesect>"; | |
1721 $self->{options}{'_default_break'} .= " <simplesect>"; | |
1722 | |
1723 # spanspec; does not contain text; Formatted as a displayed block. | |
1724 $self->{options}{'_default_untranslated'} .= " <spanspec>"; | |
1725 $self->{options}{'_default_break'} .= " <spanspec>"; | |
1726 | |
1727 # state; contains text; Formatted inline | |
1728 $self->{options}{'_default_translated'} .= " <state>"; | |
1729 $self->{options}{'_default_inline'} .= " <state>"; | |
1730 | |
1731 # step; does not contain text; Formatted as a displayed block. | |
1732 $self->{options}{'_default_untranslated'} .= " <step>"; | |
1733 $self->{options}{'_default_break'} .= " <step>"; | |
1734 | |
1735 # stepalternatives; does not contain text; Formatted as a displayed block. | |
1736 $self->{options}{'_default_untranslated'} .= " <stepalternatives>"; | |
1737 $self->{options}{'_default_break'} .= " <stepalternatives>"; | |
1738 | |
1739 # street; contains text; Formatted inline | |
1740 $self->{options}{'_default_translated'} .= " <street>"; | |
1741 $self->{options}{'_default_inline'} .= " <street>"; | |
1742 | |
1743 # structfield; contains text; Formatted inline; v4, not in v5 | |
1744 $self->{options}{'_default_translated'} .= " <structfield>"; | |
1745 $self->{options}{'_default_inline'} .= " <structfield>"; | |
1746 | |
1747 # structname; contains text; Formatted inline; v4, not in v5 | |
1748 $self->{options}{'_default_translated'} .= " <structname>"; | |
1749 $self->{options}{'_default_inline'} .= " <structname>"; | |
1750 | |
1751 # subject; does not contain text; Formatted inline or as a displayed block | |
1752 # NOTE: could be in the inline class | |
1753 $self->{options}{'_default_untranslated'} .= " <subject>"; | |
1754 $self->{options}{'_default_break'} .= " <subject>"; | |
1755 | |
1756 # subjectset; does not contain text; Formatted inline or as a displayed block | |
1757 # NOTE: could be in the inline class | |
1758 $self->{options}{'_default_untranslated'} .= " <subjectset>"; | |
1759 $self->{options}{'_default_break'} .= " <subjectset>"; | |
1760 | |
1761 # subjectterm; contains text; Formatted inline or as a displayed block | |
1762 # NOTE: could be in the inline class | |
1763 $self->{options}{'_default_translated'} .= " <subjectterm>"; | |
1764 $self->{options}{'_default_break'} .= " <subjectterm>"; | |
1765 | |
1766 # subscript; contains text; Formatted inline | |
1767 $self->{options}{'_default_translated'} .= " <subscript>"; | |
1768 $self->{options}{'_default_inline'} .= " <subscript>"; | |
1769 | |
1770 # substeps; does not contain text; Formatted as a displayed block. | |
1771 $self->{options}{'_default_untranslated'} .= " <substeps>"; | |
1772 $self->{options}{'_default_break'} .= " <substeps>"; | |
1773 | |
1774 # subtitle; contains text; Formatted as a displayed block. | |
1775 $self->{options}{'_default_translated'} .= " <subtitle>"; | |
1776 $self->{options}{'_default_break'} .= " <subtitle>"; | |
1777 | |
1778 # superscript; contains text; Formatted inline | |
1779 $self->{options}{'_default_translated'} .= " <superscript>"; | |
1780 $self->{options}{'_default_inline'} .= " <superscript>"; | |
1781 | |
1782 # surname; contains text; Formatted inline | |
1783 $self->{options}{'_default_translated'} .= " <surname>"; | |
1784 $self->{options}{'_default_inline'} .= " <surname>"; | |
1785 | |
1786 #svg:svg | |
1787 | |
1788 # symbol; contains text; Formatted inline | |
1789 $self->{options}{'_default_translated'} .= " <symbol>"; | |
1790 $self->{options}{'_default_inline'} .= " <symbol>"; | |
1791 | |
1792 # synopfragment; does not contain text; Formatted as a displayed block. | |
1793 $self->{options}{'_default_untranslated'} .= " <synopfragment>"; | |
1794 $self->{options}{'_default_placeholder'} .= " <synopfragment>"; | |
1795 | |
1796 # synopfragmentref; contains text; Formatted inline | |
1797 $self->{options}{'_default_translated'} .= " <synopfragmentref>"; | |
1798 $self->{options}{'_default_inline'} .= " <synopfragmentref>"; | |
1799 | |
1800 # synopsis; contains text; verbatim | |
1801 $self->{options}{'_default_translated'} .= " W<synopsis>"; | |
1802 $self->{options}{'_default_placeholder'} .= " <synopsis>"; | |
1803 | |
1804 # systemitem; contains text; Formatted inline | |
1805 $self->{options}{'_default_translated'} .= " <systemitem>"; | |
1806 $self->{options}{'_default_inline'} .= " <systemitem>"; | |
1807 | |
1808 # TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT | |
1809 | |
1810 # table; does not contain text; Formatted as a displayed block. | |
1811 $self->{options}{'_default_untranslated'} .= " <table>"; | |
1812 $self->{options}{'_default_placeholder'} .= " <table>"; | |
1813 | |
1814 # tag; contains text; Formatted inline | |
1815 $self->{options}{'_default_translated'} .= " <tag>"; | |
1816 $self->{options}{'_default_inline'} .= " <tag>"; | |
1817 | |
1818 # task; does not contain text; Formatted as a displayed block. | |
1819 $self->{options}{'_default_untranslated'} .= " <task>"; | |
1820 $self->{options}{'_default_placeholder'} .= " <task>"; | |
1821 | |
1822 # taskprerequisites; does not contain text; Formatted as a displayed block. | |
1823 $self->{options}{'_default_untranslated'} .= " <taskprerequisites>"; | |
1824 $self->{options}{'_default_break'} .= " <taskprerequisites>"; | |
1825 | |
1826 # taskrelated; does not contain text; Formatted as a displayed block. | |
1827 $self->{options}{'_default_untranslated'} .= " <taskrelated>"; | |
1828 $self->{options}{'_default_break'} .= " <taskrelated>"; | |
1829 | |
1830 # tasksummary; does not contain text; Formatted as a displayed block. | |
1831 $self->{options}{'_default_untranslated'} .= " <tasksummary>"; | |
1832 $self->{options}{'_default_break'} .= " <tasksummary>"; | |
1833 | |
1834 # tbody; does not contain text; | |
1835 $self->{options}{'_default_untranslated'} .= " <tbody>"; | |
1836 $self->{options}{'_default_break'} .= " <tbody>"; | |
1837 | |
1838 # td; contains text; | |
1839 $self->{options}{'_default_translated'} .= " <td>"; | |
1840 $self->{options}{'_default_break'} .= " <td>"; | |
1841 | |
1842 # term; contains text; Formatted as a displayed block. | |
1843 $self->{options}{'_default_translated'} .= " <term>"; | |
1844 $self->{options}{'_default_break'} .= " <term>"; | |
1845 | |
1846 # termdef; contains text; Formatted inline | |
1847 $self->{options}{'_default_translated'} .= " <termdef>"; | |
1848 $self->{options}{'_default_inline'} .= " <termdef>"; | |
1849 | |
1850 # tertiary; contains text; Suppressed | |
1851 $self->{options}{'_default_translated'} .= " <tertiary>"; | |
1852 $self->{options}{'_default_placeholder'} .= " <tertiary>"; | |
1853 | |
1854 # tertiaryie; contains text; Formatted as a displayed block. | |
1855 $self->{options}{'_default_translated'} .= " <tertiaryie>"; | |
1856 $self->{options}{'_default_break'} .= " <tertiaryie>"; | |
1857 | |
1858 # textdata; does not contain text; Formatted inline or as a displayed block | |
1859 # NOTE: could be in the inline class | |
1860 $self->{options}{'_default_untranslated'} .= " <textdata>"; | |
1861 $self->{options}{'_default_break'} .= " <textdata>"; | |
1862 $self->{options}{'_default_attributes'}.=' <textdata>fileref'; | |
1863 | |
1864 # textobject; does not contain text; Formatted inline or as a displayed block | |
1865 # NOTE: could be in the inline class | |
1866 $self->{options}{'_default_untranslated'} .= " <textobject>"; | |
1867 $self->{options}{'_default_break'} .= " <textobject>"; | |
1868 | |
1869 # tfoot; does not contain text; | |
1870 $self->{options}{'_default_untranslated'} .= " <tfoot>"; | |
1871 $self->{options}{'_default_break'} .= " <tfoot>"; | |
1872 | |
1873 # tgroup; does not contain text; | |
1874 $self->{options}{'_default_untranslated'} .= " <tgroup>"; | |
1875 $self->{options}{'_default_break'} .= " <tgroup>"; | |
1876 | |
1877 # th; contains text; | |
1878 $self->{options}{'_default_translated'} .= " <th>"; | |
1879 $self->{options}{'_default_break'} .= " <th>"; | |
1880 | |
1881 # thead; does not contain text; | |
1882 $self->{options}{'_default_untranslated'} .= " <thead>"; | |
1883 $self->{options}{'_default_break'} .= " <thead>"; | |
1884 | |
1885 # tip; does not contain text; Formatted as a displayed block. | |
1886 $self->{options}{'_default_untranslated'} .= " <tip>"; | |
1887 $self->{options}{'_default_break'} .= " <tip>"; | |
1888 | |
1889 # title; contains text; Formatted as a displayed block. | |
1890 $self->{options}{'_default_translated'} .= " <title>"; | |
1891 $self->{options}{'_default_break'} .= " <title>"; | |
1892 | |
1893 # titleabbrev; contains text; Formatted inline or as a displayed block | |
1894 # NOTE: could be in the inline class | |
1895 $self->{options}{'_default_translated'} .= " <titleabbrev>"; | |
1896 $self->{options}{'_default_break'} .= " <titleabbrev>"; | |
1897 | |
1898 # toc; does not contain text; Formatted as a displayed block. | |
1899 $self->{options}{'_default_untranslated'} .= " <toc>"; | |
1900 $self->{options}{'_default_break'} .= " <toc>"; | |
1901 | |
1902 # tocback; contains text; Formatted as a displayed block. | |
1903 $self->{options}{'_default_translated'} .= " <tocback>"; | |
1904 $self->{options}{'_default_break'} .= " <tocback>"; | |
1905 | |
1906 # tocchap; does not contain text; Formatted as a displayed block. | |
1907 $self->{options}{'_default_translated'} .= " <tocchap>"; | |
1908 $self->{options}{'_default_break'} .= " <tocchap>"; | |
1909 | |
1910 # tocdiv; does not contain text; Formatted as a displayed block. | |
1911 $self->{options}{'_default_untranslated'} .= " <tocdiv>"; | |
1912 $self->{options}{'_default_break'} .= " <tocdiv>"; | |
1913 | |
1914 # tocentry; contains text; Formatted as a displayed block. | |
1915 $self->{options}{'_default_translated'} .= " <tocentry>"; | |
1916 $self->{options}{'_default_break'} .= " <tocentry>"; | |
1917 | |
1918 # tocfront; does not contain text; Formatted as a displayed block. | |
1919 $self->{options}{'_default_translated'} .= " <tocfront>"; | |
1920 $self->{options}{'_default_break'} .= " <tocfront>"; | |
1921 | |
1922 # toclevel1; does not contain text; Formatted as a displayed block. | |
1923 $self->{options}{'_default_untranslated'} .= " <toclevel1>"; | |
1924 $self->{options}{'_default_break'} .= " <toclevel1>"; | |
1925 | |
1926 # toclevel2; does not contain text; Formatted as a displayed block. | |
1927 $self->{options}{'_default_untranslated'} .= " <toclevel2>"; | |
1928 $self->{options}{'_default_break'} .= " <toclevel2>"; | |
1929 | |
1930 # toclevel3; does not contain text; Formatted as a displayed block. | |
1931 $self->{options}{'_default_untranslated'} .= " <toclevel3>"; | |
1932 $self->{options}{'_default_break'} .= " <toclevel3>"; | |
1933 | |
1934 # toclevel4; does not contain text; Formatted as a displayed block. | |
1935 $self->{options}{'_default_untranslated'} .= " <toclevel4>"; | |
1936 $self->{options}{'_default_break'} .= " <toclevel4>"; | |
1937 | |
1938 # toclevel5; does not contain text; Formatted as a displayed block. | |
1939 $self->{options}{'_default_untranslated'} .= " <toclevel5>"; | |
1940 $self->{options}{'_default_break'} .= " <toclevel5>"; | |
1941 | |
1942 # tocpart; does not contain text; Formatted as a displayed block. | |
1943 $self->{options}{'_default_untranslated'} .= " <tocpart>"; | |
1944 $self->{options}{'_default_break'} .= " <tocpart>"; | |
1945 | |
1946 # token; contains text; Formatted inline | |
1947 $self->{options}{'_default_translated'} .= " <token>"; | |
1948 $self->{options}{'_default_inline'} .= " <token>"; | |
1949 | |
1950 # tr; does not contain text; | |
1951 $self->{options}{'_default_untranslated'} .= " <tr>"; | |
1952 $self->{options}{'_default_break'} .= " <tr>"; | |
1953 | |
1954 # trademark; contains text; Formatted inline | |
1955 $self->{options}{'_default_translated'} .= " <trademark>"; | |
1956 $self->{options}{'_default_inline'} .= " <trademark>"; | |
1957 | |
1958 # type; contains text; Formatted inline | |
1959 $self->{options}{'_default_translated'} .= " <type>"; | |
1960 $self->{options}{'_default_inline'} .= " <type>"; | |
1961 | |
1962 # UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU | |
1963 | |
1964 # ulink; contains text; Formatted inline; v4, not in v5 | |
1965 $self->{options}{'_default_translated'} .= " <ulink>"; | |
1966 $self->{options}{'_default_inline'} .= " <ulink>"; | |
1967 | |
1968 # uri; contains text; Formatted inline | |
1969 $self->{options}{'_default_translated'} .= " <uri>"; | |
1970 $self->{options}{'_default_inline'} .= " <uri>"; | |
1971 | |
1972 # userinput; contains text; Formatted inline | |
1973 $self->{options}{'_default_translated'} .= " <userinput>"; | |
1974 $self->{options}{'_default_inline'} .= " <userinput>"; | |
1975 | |
1976 # VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV | |
1977 | |
1978 # varargs; empty element; | |
1979 $self->{options}{'_default_untranslated'} .= " <varargs>"; | |
1980 $self->{options}{'_default_inline'} .= " <varargs>"; | |
1981 | |
1982 # variablelist; does not contain text; Formatted as a displayed block. | |
1983 $self->{options}{'_default_untranslated'} .= " <variablelist>"; | |
1984 $self->{options}{'_default_placeholder'} .= " <variablelist>"; | |
1985 | |
1986 # varlistentry; does not contain text; Formatted as a displayed block. | |
1987 $self->{options}{'_default_untranslated'} .= " <varlistentry>"; | |
1988 $self->{options}{'_default_break'} .= " <varlistentry>"; | |
1989 | |
1990 # varname; contains text; Formatted inline | |
1991 $self->{options}{'_default_translated'} .= " <varname>"; | |
1992 $self->{options}{'_default_inline'} .= " <varname>"; | |
1993 | |
1994 # videodata; contains text; Formatted inline or as a displayed block | |
1995 $self->{options}{'_default_untranslated'} .= " <videodata>"; | |
1996 $self->{options}{'_default_break'} .= " <videodata>"; | |
1997 $self->{options}{'_default_attributes'}.=' <videodata>fileref'; | |
1998 | |
1999 # videoobject; contains text; Formatted inline or as a displayed block | |
2000 $self->{options}{'_default_untranslated'} .= " <videoobject>"; | |
2001 $self->{options}{'_default_break'} .= " <videoobject>"; | |
2002 | |
2003 # void; empty element; | |
2004 $self->{options}{'_default_untranslated'} .= " <void>"; | |
2005 $self->{options}{'_default_inline'} .= " <void>"; | |
2006 | |
2007 # volumenum; contains text; Formatted inline | |
2008 $self->{options}{'_default_translated'} .= " <volumenum>"; | |
2009 $self->{options}{'_default_inline'} .= " <volumenum>"; | |
2010 | |
2011 # WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW | |
2012 | |
2013 # warning; does not contain text; Formatted as a displayed block. | |
2014 $self->{options}{'_default_untranslated'} .= " <warning>"; | |
2015 $self->{options}{'_default_break'} .= " <warning>"; | |
2016 | |
2017 # wordasword; contains text; Formatted inline | |
2018 $self->{options}{'_default_translated'} .= " <wordasword>"; | |
2019 $self->{options}{'_default_inline'} .= " <wordasword>"; | |
2020 | |
2021 # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
2022 | |
2023 # xref; empty element; | |
2024 $self->{options}{'_default_untranslated'} .= " <xref>"; | |
2025 $self->{options}{'_default_inline'} .= " <xref>"; | |
2026 | |
2027 # YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY | |
2028 | |
2029 # year; contains text; Formatted inline | |
2030 $self->{options}{'_default_translated'} .= " <year>"; | |
2031 $self->{options}{'_default_inline'} .= " <year>"; | |
2032 | |
2033 # ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ | |
2034 | |
2035 $self->{options}{'_default_attributes'}.=' | |
2036 lang | |
2037 xml:lang'; | |
2038 | |
2039 $self->treat_options; | |
2040 } |