hgbook

annotate tools/po4a/lib/Locale/Po4a/Docbook.pm @ 652:751ee9bf2e8d

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