Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/translate-toolkit-1.5.1/translate/doc/api/translate.storage.qph-pysrc.html
blob: 7d5ea720899f5d108a7f36d067228a731312e20e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>translate.storage.qph</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="translate-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://translate.sourceforge.net/wiki/toolkit/index">Translate Toolkit</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="translate-module.html">Package&nbsp;translate</a> ::
        <a href="translate.storage-module.html">Package&nbsp;storage</a> ::
        Module&nbsp;qph
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="translate.storage.qph-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="translate.storage.qph-module.html">Module translate.storage.qph</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment">#!/usr/bin/env python</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># -*- coding: utf-8 -*-</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Copyright 2008 Zuza Software Foundation</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># </tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># This file is part of translate.</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># translate is free software; you can redistribute it and/or modify</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># it under the terms of the GNU General Public License as published by</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># the Free Software Foundation; either version 2 of the License, or</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># (at your option) any later version.</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># </tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># translate is distributed in the hope that it will be useful,</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># but WITHOUT ANY WARRANTY; without even the implied warranty of</tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># GNU General Public License for more details.</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># You should have received a copy of the GNU General Public License</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># along with translate; if not, write to the Free Software</tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"><tt class="py-docstring">"""Module for handling Qt Phrase Book (.qph) files.</tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line"><tt class="py-docstring">Extract from the U{Qt Linguist Manual:</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line"><tt class="py-docstring">Translators&lt;http://doc.trolltech.com/4.3/linguist-translators.html&gt;}:</tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"><tt class="py-docstring">.qph Qt Phrase Book Files are human-readable XML files containing standard</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line"><tt class="py-docstring">phrases and their translations. These files are created and updated by Qt</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line"><tt class="py-docstring">Linguist and may be used by any number of projects and applications.</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line"><tt class="py-docstring">A DTD to define the format does not seem to exist, but the following U{code</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line"><tt class="py-docstring">&lt;http://www.google.com/codesearch?hl=en&amp;q=show:gtsFsbhpVeE:KeGnQG0wDCQ:xOXsNYqccyE&amp;sa=N&amp;ct=rd&amp;cs_p=ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-4.0.0-b1.tar.gz&amp;cs_f=qt-x11-opensource-4.0.0-b1/tools/linguist/linguist/phrase.cpp&gt;} </tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line"><tt class="py-docstring">provides the reference implementation for the Qt Linguist product.</tt> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line"> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package translate=translate-module.html,Method translate.storage.base.TranslationStore.translate()=translate.storage.base.TranslationStore-class.html#translate,Method translate.storage.placeables.strelem.StringElem.translate()=translate.storage.placeables.strelem.StringElem-class.html#translate,Method translate.storage.placeables.terminology.TerminologyPlaceable.translate()=translate.storage.placeables.terminology.TerminologyPlaceable-class.html#translate,Method translate.storage.tmx.tmxfile.translate()=translate.storage.tmx.tmxfile-class.html#translate"><a title="translate
translate.storage.base.TranslationStore.translate
translate.storage.placeables.strelem.StringElem.translate
translate.storage.placeables.terminology.TerminologyPlaceable.translate
translate.storage.tmx.tmxfile.translate" class="py-name" href="#" onclick="return doclink('link-0', 'translate', 'link-0');">translate</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Package translate.storage=translate.storage-module.html"><a title="translate.storage" class="py-name" href="#" onclick="return doclink('link-1', 'storage', 'link-1');">storage</a></tt> <tt class="py-keyword">import</tt> <tt id="link-2" class="py-name" targets="Module translate.storage.lisa=translate.storage.lisa-module.html,Module translate.storage.placeables.lisa=translate.storage.placeables.lisa-module.html"><a title="translate.storage.lisa
translate.storage.placeables.lisa" class="py-name" href="#" onclick="return doclink('link-2', 'lisa', 'link-2');">lisa</a></tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">lxml</tt> <tt class="py-keyword">import</tt> <tt class="py-name">etree</tt> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line"> </tt>
<a name="QphUnit"></a><div id="QphUnit-def"><a name="L39"></a><tt class="py-lineno"> 39</tt> <a class="py-toggle" href="#" id="QphUnit-toggle" onclick="return toggle('QphUnit');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="translate.storage.qph.QphUnit-class.html">QphUnit</a><tt class="py-op">(</tt><tt class="py-base-class">lisa</tt><tt class="py-op">.</tt><tt class="py-base-class">LISAunit</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="QphUnit-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="QphUnit-expanded"><a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line">    <tt class="py-docstring">"""A single term in the qph file."""</tt> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line"> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">    <tt id="link-3" class="py-name" targets="Variable translate.storage.lisa.LISAfile.rootNode=translate.storage.lisa.LISAfile-class.html#rootNode,Variable translate.storage.lisa.LISAunit.rootNode=translate.storage.lisa.LISAunit-class.html#rootNode,Variable translate.storage.qph.QphFile.rootNode=translate.storage.qph.QphFile-class.html#rootNode,Variable translate.storage.qph.QphUnit.rootNode=translate.storage.qph.QphUnit-class.html#rootNode,Variable translate.storage.tbx.tbxfile.rootNode=translate.storage.tbx.tbxfile-class.html#rootNode,Variable translate.storage.tbx.tbxunit.rootNode=translate.storage.tbx.tbxunit-class.html#rootNode,Variable translate.storage.tmx.tmxfile.rootNode=translate.storage.tmx.tmxfile-class.html#rootNode,Variable translate.storage.tmx.tmxunit.rootNode=translate.storage.tmx.tmxunit-class.html#rootNode,Variable translate.storage.ts2.tsfile.rootNode=translate.storage.ts2.tsfile-class.html#rootNode,Variable translate.storage.ts2.tsunit.rootNode=translate.storage.ts2.tsunit-class.html#rootNode,Variable translate.storage.xliff.xlifffile.rootNode=translate.storage.xliff.xlifffile-class.html#rootNode,Variable translate.storage.xliff.xliffunit.rootNode=translate.storage.xliff.xliffunit-class.html#rootNode"><a title="translate.storage.lisa.LISAfile.rootNode
translate.storage.lisa.LISAunit.rootNode
translate.storage.qph.QphFile.rootNode
translate.storage.qph.QphUnit.rootNode
translate.storage.tbx.tbxfile.rootNode
translate.storage.tbx.tbxunit.rootNode
translate.storage.tmx.tmxfile.rootNode
translate.storage.tmx.tmxunit.rootNode
translate.storage.ts2.tsfile.rootNode
translate.storage.ts2.tsunit.rootNode
translate.storage.xliff.xlifffile.rootNode
translate.storage.xliff.xliffunit.rootNode" class="py-name" href="#" onclick="return doclink('link-3', 'rootNode', 'link-3');">rootNode</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"phrase"</tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line">    <tt id="link-4" class="py-name" targets="Variable translate.storage.lisa.LISAunit.languageNode=translate.storage.lisa.LISAunit-class.html#languageNode,Variable translate.storage.qph.QphUnit.languageNode=translate.storage.qph.QphUnit-class.html#languageNode,Variable translate.storage.tbx.tbxunit.languageNode=translate.storage.tbx.tbxunit-class.html#languageNode,Variable translate.storage.tmx.tmxunit.languageNode=translate.storage.tmx.tmxunit-class.html#languageNode,Variable translate.storage.ts2.tsunit.languageNode=translate.storage.ts2.tsunit-class.html#languageNode,Variable translate.storage.xliff.xliffunit.languageNode=translate.storage.xliff.xliffunit-class.html#languageNode"><a title="translate.storage.lisa.LISAunit.languageNode
translate.storage.qph.QphUnit.languageNode
translate.storage.tbx.tbxunit.languageNode
translate.storage.tmx.tmxunit.languageNode
translate.storage.ts2.tsunit.languageNode
translate.storage.xliff.xliffunit.languageNode" class="py-name" href="#" onclick="return doclink('link-4', 'languageNode', 'link-4');">languageNode</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"source"</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">    <tt id="link-5" class="py-name" targets="Variable translate.storage.lisa.LISAunit.textNode=translate.storage.lisa.LISAunit-class.html#textNode,Variable translate.storage.qph.QphUnit.textNode=translate.storage.qph.QphUnit-class.html#textNode,Variable translate.storage.tbx.tbxunit.textNode=translate.storage.tbx.tbxunit-class.html#textNode,Variable translate.storage.tmx.tmxunit.textNode=translate.storage.tmx.tmxunit-class.html#textNode,Variable translate.storage.ts2.tsunit.textNode=translate.storage.ts2.tsunit-class.html#textNode,Variable translate.storage.xliff.xliffunit.textNode=translate.storage.xliff.xliffunit-class.html#textNode"><a title="translate.storage.lisa.LISAunit.textNode
translate.storage.qph.QphUnit.textNode
translate.storage.tbx.tbxunit.textNode
translate.storage.tmx.tmxunit.textNode
translate.storage.ts2.tsunit.textNode
translate.storage.xliff.xliffunit.textNode" class="py-name" href="#" onclick="return doclink('link-5', 'textNode', 'link-5');">textNode</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">    <tt id="link-6" class="py-name" targets="Variable translate.storage.lisa.LISAfile.namespace=translate.storage.lisa.LISAfile-class.html#namespace,Variable translate.storage.lisa.LISAunit.namespace=translate.storage.lisa.LISAunit-class.html#namespace,Variable translate.storage.qph.QphFile.namespace=translate.storage.qph.QphFile-class.html#namespace,Variable translate.storage.qph.QphUnit.namespace=translate.storage.qph.QphUnit-class.html#namespace,Variable translate.storage.ts2.tsfile.namespace=translate.storage.ts2.tsfile-class.html#namespace,Variable translate.storage.ts2.tsunit.namespace=translate.storage.ts2.tsunit-class.html#namespace,Variable translate.storage.xliff.xlifffile.namespace=translate.storage.xliff.xlifffile-class.html#namespace,Variable translate.storage.xliff.xliffunit.namespace=translate.storage.xliff.xliffunit-class.html#namespace,Method translate.storage.xml_name.XmlNamer.namespace()=translate.storage.xml_name.XmlNamer-class.html#namespace"><a title="translate.storage.lisa.LISAfile.namespace
translate.storage.lisa.LISAunit.namespace
translate.storage.qph.QphFile.namespace
translate.storage.qph.QphUnit.namespace
translate.storage.ts2.tsfile.namespace
translate.storage.ts2.tsunit.namespace
translate.storage.xliff.xlifffile.namespace
translate.storage.xliff.xliffunit.namespace
translate.storage.xml_name.XmlNamer.namespace" class="py-name" href="#" onclick="return doclink('link-6', 'namespace', 'link-6');">namespace</a></tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line"> </tt>
<a name="QphUnit.createlanguageNode"></a><div id="QphUnit.createlanguageNode-def"><a name="L47"></a><tt class="py-lineno"> 47</tt> <a class="py-toggle" href="#" id="QphUnit.createlanguageNode-toggle" onclick="return toggle('QphUnit.createlanguageNode');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="translate.storage.qph.QphUnit-class.html#createlanguageNode">createlanguageNode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">lang</tt><tt class="py-op">,</tt> <tt class="py-param">text</tt><tt class="py-op">,</tt> <tt class="py-param">purpose</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="QphUnit.createlanguageNode-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="QphUnit.createlanguageNode-expanded"><a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">        <tt class="py-docstring">"""Returns an xml Element setup with given parameters."""</tt> </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line">        <tt class="py-keyword">assert</tt> <tt class="py-name">purpose</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line">        <tt class="py-name">langset</tt> <tt class="py-op">=</tt> <tt class="py-name">etree</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Class translate.misc.ourdom.Element=translate.misc.ourdom.Element-class.html"><a title="translate.misc.ourdom.Element" class="py-name" href="#" onclick="return doclink('link-7', 'Element', 'link-7');">Element</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Function translate.misc.xml_helpers.namespaced()=translate.misc.xml_helpers-module.html#namespaced,Method translate.storage.lisa.LISAfile.namespaced()=translate.storage.lisa.LISAfile-class.html#namespaced,Method translate.storage.lisa.LISAfile.namespaced()=translate.storage.lisa.LISAfile-class.html#namespaced,Method translate.storage.lisa.LISAunit.namespaced()=translate.storage.lisa.LISAunit-class.html#namespaced,Method translate.storage.lisa.LISAunit.namespaced()=translate.storage.lisa.LISAunit-class.html#namespaced,Function translate.storage.odf_io.namespaced()=translate.storage.odf_io-module.html#namespaced"><a title="translate.misc.xml_helpers.namespaced
translate.storage.lisa.LISAfile.namespaced
translate.storage.lisa.LISAfile.namespaced
translate.storage.lisa.LISAunit.namespaced
translate.storage.lisa.LISAunit.namespaced
translate.storage.odf_io.namespaced" class="py-name" href="#" onclick="return doclink('link-8', 'namespaced', 'link-8');">namespaced</a></tt><tt class="py-op">(</tt><tt class="py-name">purpose</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">        <tt class="py-name">langset</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Variable translate.services.lookupclient.text=translate.services.lookupclient-module.html#text,Variable translate.storage.oo.ooline.text=translate.storage.oo.ooline-class.html#text"><a title="translate.services.lookupclient.text
translate.storage.oo.ooline.text" class="py-name" href="#" onclick="return doclink('link-9', 'text', 'link-9');">text</a></tt> <tt class="py-op">=</tt> <tt id="link-10" class="py-name"><a title="translate.services.lookupclient.text
translate.storage.oo.ooline.text" class="py-name" href="#" onclick="return doclink('link-10', 'text', 'link-9');">text</a></tt> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">langset</tt> </tt>
</div><a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line"> </tt>
<a name="QphUnit._getsourcenode"></a><div id="QphUnit._getsourcenode-def"><a name="L54"></a><tt class="py-lineno"> 54</tt> <a class="py-toggle" href="#" id="QphUnit._getsourcenode-toggle" onclick="return toggle('QphUnit._getsourcenode');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="translate.storage.qph.QphUnit-class.html#_getsourcenode">_getsourcenode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="QphUnit._getsourcenode-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="QphUnit._getsourcenode-expanded"><a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">xmlelement</tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Method translate.misc.ini.LineContainer.find()=translate.misc.ini.LineContainer-class.html#find,Method translate.storage.placeables.strelem.StringElem.find()=translate.storage.placeables.strelem.StringElem-class.html#find"><a title="translate.misc.ini.LineContainer.find
translate.storage.placeables.strelem.StringElem.find" class="py-name" href="#" onclick="return doclink('link-11', 'find', 'link-11');">find</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name"><a title="translate.misc.xml_helpers.namespaced
translate.storage.lisa.LISAfile.namespaced
translate.storage.lisa.LISAfile.namespaced
translate.storage.lisa.LISAunit.namespaced
translate.storage.lisa.LISAunit.namespaced
translate.storage.odf_io.namespaced" class="py-name" href="#" onclick="return doclink('link-12', 'namespaced', 'link-8');">namespaced</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name"><a title="translate.storage.lisa.LISAunit.languageNode
translate.storage.qph.QphUnit.languageNode
translate.storage.tbx.tbxunit.languageNode
translate.storage.tmx.tmxunit.languageNode
translate.storage.ts2.tsunit.languageNode
translate.storage.xliff.xliffunit.languageNode" class="py-name" href="#" onclick="return doclink('link-13', 'languageNode', 'link-4');">languageNode</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">     </tt>
<a name="QphUnit._gettargetnode"></a><div id="QphUnit._gettargetnode-def"><a name="L57"></a><tt class="py-lineno"> 57</tt> <a class="py-toggle" href="#" id="QphUnit._gettargetnode-toggle" onclick="return toggle('QphUnit._gettargetnode');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="translate.storage.qph.QphUnit-class.html#_gettargetnode">_gettargetnode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="QphUnit._gettargetnode-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="QphUnit._gettargetnode-expanded"><a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">xmlelement</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name"><a title="translate.misc.ini.LineContainer.find
translate.storage.placeables.strelem.StringElem.find" class="py-name" href="#" onclick="return doclink('link-14', 'find', 'link-11');">find</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name"><a title="translate.misc.xml_helpers.namespaced
translate.storage.lisa.LISAfile.namespaced
translate.storage.lisa.LISAfile.namespaced
translate.storage.lisa.LISAunit.namespaced
translate.storage.lisa.LISAunit.namespaced
translate.storage.odf_io.namespaced" class="py-name" href="#" onclick="return doclink('link-15', 'namespaced', 'link-8');">namespaced</a></tt><tt class="py-op">(</tt><tt class="py-string">"target"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">     </tt>
<a name="QphUnit.getlanguageNodes"></a><div id="QphUnit.getlanguageNodes-def"><a name="L60"></a><tt class="py-lineno"> 60</tt> <a class="py-toggle" href="#" id="QphUnit.getlanguageNodes-toggle" onclick="return toggle('QphUnit.getlanguageNodes');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="translate.storage.qph.QphUnit-class.html#getlanguageNodes">getlanguageNodes</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="QphUnit.getlanguageNodes-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="QphUnit.getlanguageNodes-expanded"><a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line">        <tt class="py-docstring">"""We override this to get source and target nodes."""</tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">        <tt class="py-keyword">def</tt> <tt class="py-def-name">not_none</tt><tt class="py-op">(</tt><tt class="py-param">node</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-keyword">not</tt> <tt class="py-name">node</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-16" class="py-name" targets="Variable translate.convert.po2oo.filter=translate.convert.po2oo-module.html#filter,Variable translate.convert.xliff2oo.filter=translate.convert.xliff2oo-module.html#filter"><a title="translate.convert.po2oo.filter
translate.convert.xliff2oo.filter" class="py-name" href="#" onclick="return doclink('link-16', 'filter', 'link-16');">filter</a></tt><tt class="py-op">(</tt><tt class="py-name">not_none</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name" targets="Method translate.storage.qph.QphUnit._getsourcenode()=translate.storage.qph.QphUnit-class.html#_getsourcenode,Method translate.storage.ts2.tsunit._getsourcenode()=translate.storage.ts2.tsunit-class.html#_getsourcenode"><a title="translate.storage.qph.QphUnit._getsourcenode
translate.storage.ts2.tsunit._getsourcenode" class="py-name" href="#" onclick="return doclink('link-17', '_getsourcenode', 'link-17');">_getsourcenode</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name" targets="Method translate.storage.qph.QphUnit._gettargetnode()=translate.storage.qph.QphUnit-class.html#_gettargetnode,Method translate.storage.ts2.tsunit._gettargetnode()=translate.storage.ts2.tsunit-class.html#_gettargetnode"><a title="translate.storage.qph.QphUnit._gettargetnode
translate.storage.ts2.tsunit._gettargetnode" class="py-name" href="#" onclick="return doclink('link-18', '_gettargetnode', 'link-18');">_gettargetnode</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
</div><a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line"> </tt>
<a name="QphUnit.addnote"></a><div id="QphUnit.addnote-def"><a name="L66"></a><tt class="py-lineno"> 66</tt> <a class="py-toggle" href="#" id="QphUnit.addnote-toggle" onclick="return toggle('QphUnit.addnote');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="translate.storage.qph.QphUnit-class.html#addnote">addnote</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">text</tt><tt class="py-op">,</tt> <tt class="py-param">origin</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="QphUnit.addnote-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="QphUnit.addnote-expanded"><a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line">        <tt class="py-docstring">"""Add a note specifically in a "definition" tag"""</tt> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">        <tt class="py-keyword">assert</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt id="link-19" class="py-name"><a title="translate.services.lookupclient.text
translate.storage.oo.ooline.text" class="py-name" href="#" onclick="return doclink('link-19', 'text', 'link-9');">text</a></tt><tt class="py-op">,</tt> <tt class="py-name">unicode</tt><tt class="py-op">)</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line">        <tt class="py-name">current_notes</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name" targets="Method translate.storage.base.TranslationUnit.getnotes()=translate.storage.base.TranslationUnit-class.html#getnotes,Method translate.storage.cpo.pounit.getnotes()=translate.storage.cpo.pounit-class.html#getnotes,Method translate.storage.fpo.pounit.getnotes()=translate.storage.fpo.pounit-class.html#getnotes,Method translate.storage.omegat.OmegaTUnit.getnotes()=translate.storage.omegat.OmegaTUnit-class.html#getnotes,Method translate.storage.php.phpunit.getnotes()=translate.storage.php.phpunit-class.html#getnotes,Method translate.storage.poxliff.PoXliffUnit.getnotes()=translate.storage.poxliff.PoXliffUnit-class.html#getnotes,Method translate.storage.properties.propunit.getnotes()=translate.storage.properties.propunit-class.html#getnotes,Method translate.storage.pypo.pounit.getnotes()=translate.storage.pypo.pounit-class.html#getnotes,Method translate.storage.qph.QphUnit.getnotes()=translate.storage.qph.QphUnit-class.html#getnotes,Method translate.storage.rc.rcunit.getnotes()=translate.storage.rc.rcunit-class.html#getnotes,Method translate.storage.tmx.tmxunit.getnotes()=translate.storage.tmx.tmxunit-class.html#getnotes,Method translate.storage.ts2.tsunit.getnotes()=translate.storage.ts2.tsunit-class.html#getnotes,Method translate.storage.xliff.xliffunit.getnotes()=translate.storage.xliff.xliffunit-class.html#getnotes"><a title="translate.storage.base.TranslationUnit.getnotes
translate.storage.cpo.pounit.getnotes
translate.storage.fpo.pounit.getnotes
translate.storage.omegat.OmegaTUnit.getnotes
translate.storage.php.phpunit.getnotes
translate.storage.poxliff.PoXliffUnit.getnotes
translate.storage.properties.propunit.getnotes
translate.storage.pypo.pounit.getnotes
translate.storage.qph.QphUnit.getnotes
translate.storage.rc.rcunit.getnotes
translate.storage.tmx.tmxunit.getnotes
translate.storage.ts2.tsunit.getnotes
translate.storage.xliff.xliffunit.getnotes" class="py-name" href="#" onclick="return doclink('link-20', 'getnotes', 'link-20');">getnotes</a></tt><tt class="py-op">(</tt><tt class="py-name">origin</tt><tt class="py-op">)</tt> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name" targets="Method translate.storage.base.TranslationUnit.removenotes()=translate.storage.base.TranslationUnit-class.html#removenotes,Method translate.storage.cpo.pounit.removenotes()=translate.storage.cpo.pounit-class.html#removenotes,Method translate.storage.fpo.pounit.removenotes()=translate.storage.fpo.pounit-class.html#removenotes,Method translate.storage.php.phpunit.removenotes()=translate.storage.php.phpunit-class.html#removenotes,Method translate.storage.properties.propunit.removenotes()=translate.storage.properties.propunit-class.html#removenotes,Method translate.storage.pypo.pounit.removenotes()=translate.storage.pypo.pounit-class.html#removenotes,Method translate.storage.qph.QphUnit.removenotes()=translate.storage.qph.QphUnit-class.html#removenotes,Method translate.storage.rc.rcunit.removenotes()=translate.storage.rc.rcunit-class.html#removenotes,Method translate.storage.tmx.tmxunit.removenotes()=translate.storage.tmx.tmxunit-class.html#removenotes,Method translate.storage.ts2.tsunit.removenotes()=translate.storage.ts2.tsunit-class.html#removenotes,Method translate.storage.xliff.xliffunit.removenotes()=translate.storage.xliff.xliffunit-class.html#removenotes,Method translate.storage.xliff.xliffunit.removenotes()=translate.storage.xliff.xliffunit-class.html#removenotes"><a title="translate.storage.base.TranslationUnit.removenotes
translate.storage.cpo.pounit.removenotes
translate.storage.fpo.pounit.removenotes
translate.storage.php.phpunit.removenotes
translate.storage.properties.propunit.removenotes
translate.storage.pypo.pounit.removenotes
translate.storage.qph.QphUnit.removenotes
translate.storage.rc.rcunit.removenotes
translate.storage.tmx.tmxunit.removenotes
translate.storage.ts2.tsunit.removenotes
translate.storage.xliff.xliffunit.removenotes
translate.storage.xliff.xliffunit.removenotes" class="py-name" href="#" onclick="return doclink('link-21', 'removenotes', 'link-21');">removenotes</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">        <tt class="py-name">note</tt> <tt class="py-op">=</tt> <tt class="py-name">etree</tt><tt class="py-op">.</tt><tt class="py-name">SubElement</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">xmlelement</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="translate.misc.xml_helpers.namespaced
translate.storage.lisa.LISAfile.namespaced
translate.storage.lisa.LISAfile.namespaced
translate.storage.lisa.LISAunit.namespaced
translate.storage.lisa.LISAunit.namespaced
translate.storage.odf_io.namespaced" class="py-name" href="#" onclick="return doclink('link-22', 'namespaced', 'link-8');">namespaced</a></tt><tt class="py-op">(</tt><tt class="py-string">"definition"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">        <tt class="py-name">note</tt><tt class="py-op">.</tt><tt id="link-23" class="py-name"><a title="translate.services.lookupclient.text
translate.storage.oo.ooline.text" class="py-name" href="#" onclick="return doclink('link-23', 'text', 'link-9');">text</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\n"</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name" targets="Method translate.misc.autoencode.autoencode.join()=translate.misc.autoencode.autoencode-class.html#join"><a title="translate.misc.autoencode.autoencode.join" class="py-name" href="#" onclick="return doclink('link-24', 'join', 'link-24');">join</a></tt><tt class="py-op">(</tt><tt id="link-25" class="py-name"><a title="translate.convert.po2oo.filter
translate.convert.xliff2oo.filter" class="py-name" href="#" onclick="return doclink('link-25', 'filter', 'link-16');">filter</a></tt><tt class="py-op">(</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-name">current_notes</tt><tt class="py-op">,</tt> <tt id="link-26" class="py-name"><a title="translate.services.lookupclient.text
translate.storage.oo.ooline.text" class="py-name" href="#" onclick="return doclink('link-26', 'text', 'link-9');">text</a></tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line"> </tt>
<a name="QphUnit.getnotes"></a><div id="QphUnit.getnotes-def"><a name="L74"></a><tt class="py-lineno"> 74</tt> <a class="py-toggle" href="#" id="QphUnit.getnotes-toggle" onclick="return toggle('QphUnit.getnotes');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="translate.storage.qph.QphUnit-class.html#getnotes">getnotes</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">origin</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="QphUnit.getnotes-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="QphUnit.getnotes-expanded"><a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">        <tt class="py-comment">#TODO: consider only responding when origin has certain values</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">notenode</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">xmlelement</tt><tt class="py-op">.</tt><tt id="link-27" class="py-name"><a title="translate.misc.ini.LineContainer.find
translate.storage.placeables.strelem.StringElem.find" class="py-name" href="#" onclick="return doclink('link-27', 'find', 'link-11');">find</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-28" class="py-name"><a title="translate.misc.xml_helpers.namespaced
translate.storage.lisa.LISAfile.namespaced
translate.storage.lisa.LISAfile.namespaced
translate.storage.lisa.LISAunit.namespaced
translate.storage.lisa.LISAunit.namespaced
translate.storage.odf_io.namespaced" class="py-name" href="#" onclick="return doclink('link-28', 'namespaced', 'link-8');">namespaced</a></tt><tt class="py-op">(</tt><tt class="py-string">"definition"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">        <tt class="py-name">comment</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">notenode</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">            <tt class="py-name">comment</tt> <tt class="py-op">=</tt> <tt class="py-name">notenode</tt><tt class="py-op">.</tt><tt id="link-29" class="py-name"><a title="translate.services.lookupclient.text
translate.storage.oo.ooline.text" class="py-name" href="#" onclick="return doclink('link-29', 'text', 'link-9');">text</a></tt> </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">comment</tt> </tt>
</div><a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line"> </tt>
<a name="QphUnit.removenotes"></a><div id="QphUnit.removenotes-def"><a name="L82"></a><tt class="py-lineno"> 82</tt> <a class="py-toggle" href="#" id="QphUnit.removenotes-toggle" onclick="return toggle('QphUnit.removenotes');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="translate.storage.qph.QphUnit-class.html#removenotes">removenotes</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="QphUnit.removenotes-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="QphUnit.removenotes-expanded"><a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">        <tt class="py-docstring">"""Remove all the translator notes."""</tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">        <tt class="py-name">note</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">xmlelement</tt><tt class="py-op">.</tt><tt id="link-30" class="py-name"><a title="translate.misc.ini.LineContainer.find
translate.storage.placeables.strelem.StringElem.find" class="py-name" href="#" onclick="return doclink('link-30', 'find', 'link-11');">find</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-31" class="py-name"><a title="translate.misc.xml_helpers.namespaced
translate.storage.lisa.LISAfile.namespaced
translate.storage.lisa.LISAfile.namespaced
translate.storage.lisa.LISAunit.namespaced
translate.storage.lisa.LISAunit.namespaced
translate.storage.odf_io.namespaced" class="py-name" href="#" onclick="return doclink('link-31', 'namespaced', 'link-8');">namespaced</a></tt><tt class="py-op">(</tt><tt class="py-string">"definition"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">note</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">xmlelement</tt><tt class="py-op">.</tt><tt class="py-name">remove</tt><tt class="py-op">(</tt><tt class="py-name">note</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line"> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line"> </tt>
<a name="QphFile"></a><div id="QphFile-def"><a name="L89"></a><tt class="py-lineno"> 89</tt> <a class="py-toggle" href="#" id="QphFile-toggle" onclick="return toggle('QphFile');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="translate.storage.qph.QphFile-class.html">QphFile</a><tt class="py-op">(</tt><tt class="py-base-class">lisa</tt><tt class="py-op">.</tt><tt class="py-base-class">LISAfile</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="QphFile-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="QphFile-expanded"><a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">    <tt class="py-docstring">"""Class representing a QPH file store."""</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line">    <tt class="py-name">UnitClass</tt> <tt class="py-op">=</tt> <tt id="link-32" class="py-name" targets="Class translate.storage.qph.QphUnit=translate.storage.qph.QphUnit-class.html"><a title="translate.storage.qph.QphUnit" class="py-name" href="#" onclick="return doclink('link-32', 'QphUnit', 'link-32');">QphUnit</a></tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line">    <tt id="link-33" class="py-name" targets="Variable translate.storage.base.TranslationStore.Name=translate.storage.base.TranslationStore-class.html#Name,Variable translate.storage.csvl10n.csvfile.Name=translate.storage.csvl10n.csvfile-class.html#Name,Variable translate.storage.mo.mofile.Name=translate.storage.mo.mofile-class.html#Name,Variable translate.storage.omegat.OmegaTFile.Name=translate.storage.omegat.OmegaTFile-class.html#Name,Variable translate.storage.omegat.OmegaTFileTab.Name=translate.storage.omegat.OmegaTFileTab-class.html#Name,Variable translate.storage.pocommon.pofile.Name=translate.storage.pocommon.pofile-class.html#Name,Variable translate.storage.qm.qmfile.Name=translate.storage.qm.qmfile-class.html#Name,Variable translate.storage.qph.QphFile.Name=translate.storage.qph.QphFile-class.html#Name,Variable translate.storage.tbx.tbxfile.Name=translate.storage.tbx.tbxfile-class.html#Name,Variable translate.storage.tmx.tmxfile.Name=translate.storage.tmx.tmxfile-class.html#Name,Variable translate.storage.ts2.tsfile.Name=translate.storage.ts2.tsfile-class.html#Name,Variable translate.storage.wordfast.WordfastTMFile.Name=translate.storage.wordfast.WordfastTMFile-class.html#Name,Variable translate.storage.xliff.xlifffile.Name=translate.storage.xliff.xlifffile-class.html#Name"><a title="translate.storage.base.TranslationStore.Name
translate.storage.csvl10n.csvfile.Name
translate.storage.mo.mofile.Name
translate.storage.omegat.OmegaTFile.Name
translate.storage.omegat.OmegaTFileTab.Name
translate.storage.pocommon.pofile.Name
translate.storage.qm.qmfile.Name
translate.storage.qph.QphFile.Name
translate.storage.tbx.tbxfile.Name
translate.storage.tmx.tmxfile.Name
translate.storage.ts2.tsfile.Name
translate.storage.wordfast.WordfastTMFile.Name
translate.storage.xliff.xlifffile.Name" class="py-name" href="#" onclick="return doclink('link-33', 'Name', 'link-33');">Name</a></tt> <tt class="py-op">=</tt> <tt class="py-name">_</tt><tt class="py-op">(</tt><tt class="py-string">"Qt Phrase Book"</tt><tt class="py-op">)</tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line">    <tt id="link-34" class="py-name" targets="Variable translate.storage.base.TranslationStore.Mimetypes=translate.storage.base.TranslationStore-class.html#Mimetypes,Variable translate.storage.csvl10n.csvfile.Mimetypes=translate.storage.csvl10n.csvfile-class.html#Mimetypes,Variable translate.storage.mo.mofile.Mimetypes=translate.storage.mo.mofile-class.html#Mimetypes,Variable translate.storage.omegat.OmegaTFile.Mimetypes=translate.storage.omegat.OmegaTFile-class.html#Mimetypes,Variable translate.storage.omegat.OmegaTFileTab.Mimetypes=translate.storage.omegat.OmegaTFileTab-class.html#Mimetypes,Variable translate.storage.pocommon.pofile.Mimetypes=translate.storage.pocommon.pofile-class.html#Mimetypes,Variable translate.storage.qm.qmfile.Mimetypes=translate.storage.qm.qmfile-class.html#Mimetypes,Variable translate.storage.qph.QphFile.Mimetypes=translate.storage.qph.QphFile-class.html#Mimetypes,Variable translate.storage.tbx.tbxfile.Mimetypes=translate.storage.tbx.tbxfile-class.html#Mimetypes,Variable translate.storage.tmx.tmxfile.Mimetypes=translate.storage.tmx.tmxfile-class.html#Mimetypes,Variable translate.storage.ts2.tsfile.Mimetypes=translate.storage.ts2.tsfile-class.html#Mimetypes,Variable translate.storage.wordfast.WordfastTMFile.Mimetypes=translate.storage.wordfast.WordfastTMFile-class.html#Mimetypes,Variable translate.storage.xliff.xlifffile.Mimetypes=translate.storage.xliff.xlifffile-class.html#Mimetypes"><a title="translate.storage.base.TranslationStore.Mimetypes
translate.storage.csvl10n.csvfile.Mimetypes
translate.storage.mo.mofile.Mimetypes
translate.storage.omegat.OmegaTFile.Mimetypes
translate.storage.omegat.OmegaTFileTab.Mimetypes
translate.storage.pocommon.pofile.Mimetypes
translate.storage.qm.qmfile.Mimetypes
translate.storage.qph.QphFile.Mimetypes
translate.storage.tbx.tbxfile.Mimetypes
translate.storage.tmx.tmxfile.Mimetypes
translate.storage.ts2.tsfile.Mimetypes
translate.storage.wordfast.WordfastTMFile.Mimetypes
translate.storage.xliff.xlifffile.Mimetypes" class="py-name" href="#" onclick="return doclink('link-34', 'Mimetypes', 'link-34');">Mimetypes</a></tt>  <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-string">"application/x-qph"</tt><tt class="py-op">]</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line">    <tt id="link-35" class="py-name" targets="Variable translate.storage.base.TranslationStore.Extensions=translate.storage.base.TranslationStore-class.html#Extensions,Variable translate.storage.csvl10n.csvfile.Extensions=translate.storage.csvl10n.csvfile-class.html#Extensions,Variable translate.storage.mo.mofile.Extensions=translate.storage.mo.mofile-class.html#Extensions,Variable translate.storage.omegat.OmegaTFile.Extensions=translate.storage.omegat.OmegaTFile-class.html#Extensions,Variable translate.storage.omegat.OmegaTFileTab.Extensions=translate.storage.omegat.OmegaTFileTab-class.html#Extensions,Variable translate.storage.pocommon.pofile.Extensions=translate.storage.pocommon.pofile-class.html#Extensions,Variable translate.storage.qm.qmfile.Extensions=translate.storage.qm.qmfile-class.html#Extensions,Variable translate.storage.qph.QphFile.Extensions=translate.storage.qph.QphFile-class.html#Extensions,Variable translate.storage.tbx.tbxfile.Extensions=translate.storage.tbx.tbxfile-class.html#Extensions,Variable translate.storage.tmx.tmxfile.Extensions=translate.storage.tmx.tmxfile-class.html#Extensions,Variable translate.storage.ts2.tsfile.Extensions=translate.storage.ts2.tsfile-class.html#Extensions,Variable translate.storage.wordfast.WordfastTMFile.Extensions=translate.storage.wordfast.WordfastTMFile-class.html#Extensions,Variable translate.storage.xliff.xlifffile.Extensions=translate.storage.xliff.xlifffile-class.html#Extensions"><a title="translate.storage.base.TranslationStore.Extensions
translate.storage.csvl10n.csvfile.Extensions
translate.storage.mo.mofile.Extensions
translate.storage.omegat.OmegaTFile.Extensions
translate.storage.omegat.OmegaTFileTab.Extensions
translate.storage.pocommon.pofile.Extensions
translate.storage.qm.qmfile.Extensions
translate.storage.qph.QphFile.Extensions
translate.storage.tbx.tbxfile.Extensions
translate.storage.tmx.tmxfile.Extensions
translate.storage.ts2.tsfile.Extensions
translate.storage.wordfast.WordfastTMFile.Extensions
translate.storage.xliff.xlifffile.Extensions" class="py-name" href="#" onclick="return doclink('link-35', 'Extensions', 'link-35');">Extensions</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-string">"qph"</tt><tt class="py-op">]</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">    <tt id="link-36" class="py-name"><a title="translate.storage.lisa.LISAfile.rootNode
translate.storage.lisa.LISAunit.rootNode
translate.storage.qph.QphFile.rootNode
translate.storage.qph.QphUnit.rootNode
translate.storage.tbx.tbxfile.rootNode
translate.storage.tbx.tbxunit.rootNode
translate.storage.tmx.tmxfile.rootNode
translate.storage.tmx.tmxunit.rootNode
translate.storage.ts2.tsfile.rootNode
translate.storage.ts2.tsunit.rootNode
translate.storage.xliff.xlifffile.rootNode
translate.storage.xliff.xliffunit.rootNode" class="py-name" href="#" onclick="return doclink('link-36', 'rootNode', 'link-3');">rootNode</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"QPH"</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line">    <tt id="link-37" class="py-name" targets="Variable translate.storage.lisa.LISAfile.bodyNode=translate.storage.lisa.LISAfile-class.html#bodyNode,Variable translate.storage.qph.QphFile.bodyNode=translate.storage.qph.QphFile-class.html#bodyNode,Variable translate.storage.tbx.tbxfile.bodyNode=translate.storage.tbx.tbxfile-class.html#bodyNode,Variable translate.storage.tmx.tmxfile.bodyNode=translate.storage.tmx.tmxfile-class.html#bodyNode,Variable translate.storage.ts2.tsfile.bodyNode=translate.storage.ts2.tsfile-class.html#bodyNode,Variable translate.storage.xliff.xlifffile.bodyNode=translate.storage.xliff.xlifffile-class.html#bodyNode"><a title="translate.storage.lisa.LISAfile.bodyNode
translate.storage.qph.QphFile.bodyNode
translate.storage.tbx.tbxfile.bodyNode
translate.storage.tmx.tmxfile.bodyNode
translate.storage.ts2.tsfile.bodyNode
translate.storage.xliff.xlifffile.bodyNode" class="py-name" href="#" onclick="return doclink('link-37', 'bodyNode', 'link-37');">bodyNode</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"QPH"</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">    <tt id="link-38" class="py-name" targets="Variable translate.storage.lisa.LISAfile.XMLskeleton=translate.storage.lisa.LISAfile-class.html#XMLskeleton,Variable translate.storage.qph.QphFile.XMLskeleton=translate.storage.qph.QphFile-class.html#XMLskeleton,Variable translate.storage.tbx.tbxfile.XMLskeleton=translate.storage.tbx.tbxfile-class.html#XMLskeleton,Variable translate.storage.tmx.tmxfile.XMLskeleton=translate.storage.tmx.tmxfile-class.html#XMLskeleton,Variable translate.storage.ts2.tsfile.XMLskeleton=translate.storage.ts2.tsfile-class.html#XMLskeleton,Variable translate.storage.xliff.xlifffile.XMLskeleton=translate.storage.xliff.xlifffile-class.html#XMLskeleton"><a title="translate.storage.lisa.LISAfile.XMLskeleton
translate.storage.qph.QphFile.XMLskeleton
translate.storage.tbx.tbxfile.XMLskeleton
translate.storage.tmx.tmxfile.XMLskeleton
translate.storage.ts2.tsfile.XMLskeleton
translate.storage.xliff.xlifffile.XMLskeleton" class="py-name" href="#" onclick="return doclink('link-38', 'XMLskeleton', 'link-38');">XMLskeleton</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'''&lt;!DOCTYPE QPH&gt;</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line"><tt class="py-string">&lt;QPH&gt;</tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line"><tt class="py-string">&lt;/QPH&gt;</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line"><tt class="py-string">'''</tt> </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">    <tt id="link-39" class="py-name"><a title="translate.storage.lisa.LISAfile.namespace
translate.storage.lisa.LISAunit.namespace
translate.storage.qph.QphFile.namespace
translate.storage.qph.QphUnit.namespace
translate.storage.ts2.tsfile.namespace
translate.storage.ts2.tsunit.namespace
translate.storage.xliff.xlifffile.namespace
translate.storage.xliff.xliffunit.namespace
translate.storage.xml_name.XmlNamer.namespace" class="py-name" href="#" onclick="return doclink('link-39', 'namespace', 'link-6');">namespace</a></tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line"> </tt>
<a name="QphFile.initbody"></a><div id="QphFile.initbody-def"><a name="L103"></a><tt class="py-lineno">103</tt> <a class="py-toggle" href="#" id="QphFile.initbody-toggle" onclick="return toggle('QphFile.initbody');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="translate.storage.qph.QphFile-class.html#initbody">initbody</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="QphFile.initbody-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="QphFile.initbody-expanded"><a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line">        <tt class="py-docstring">"""Initialises self.body so it never needs to be retrieved from the XML again."""</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-40" class="py-name"><a title="translate.storage.lisa.LISAfile.namespace
translate.storage.lisa.LISAunit.namespace
translate.storage.qph.QphFile.namespace
translate.storage.qph.QphUnit.namespace
translate.storage.ts2.tsfile.namespace
translate.storage.ts2.tsunit.namespace
translate.storage.xliff.xlifffile.namespace
translate.storage.xliff.xliffunit.namespace
translate.storage.xml_name.XmlNamer.namespace" class="py-name" href="#" onclick="return doclink('link-40', 'namespace', 'link-6');">namespace</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">document</tt><tt class="py-op">.</tt><tt class="py-name">getroot</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">nsmap</tt><tt class="py-op">.</tt><tt id="link-41" class="py-name" targets="Method translate.misc.dictutils.cidict.get()=translate.misc.dictutils.cidict-class.html#get"><a title="translate.misc.dictutils.cidict.get" class="py-name" href="#" onclick="return doclink('link-41', 'get', 'link-41');">get</a></tt><tt class="py-op">(</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">body</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">document</tt><tt class="py-op">.</tt><tt class="py-name">getroot</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-comment"># The root node contains the units</tt> </tt>
</div><a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line"> </tt>
<a name="QphFile.__str__"></a><div id="QphFile.__str__-def"><a name="L108"></a><tt class="py-lineno">108</tt> <a class="py-toggle" href="#" id="QphFile.__str__-toggle" onclick="return toggle('QphFile.__str__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="translate.storage.qph.QphFile-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="QphFile.__str__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="QphFile.__str__-expanded"><a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line">        <tt class="py-docstring">"""Converts to a string containing the file's XML.</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line"><tt class="py-docstring">        We have to override this to ensure mimic the Qt convention:</tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line"><tt class="py-docstring">            - no XML decleration</tt> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line"><tt class="py-docstring">            - plain DOCTYPE that lxml seems to ignore</tt> </tt>
<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line">        <tt class="py-comment"># A bug in lxml means we have to output the doctype ourselves. For </tt> </tt>
<a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-comment"># more information, see:</tt> </tt>
<a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-comment"># http://codespeak.net/pipermail/lxml-dev/2008-October/004112.html</tt> </tt>
<a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-comment"># The problem was fixed in lxml 2.1.3</tt> </tt>
<a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">output</tt> <tt class="py-op">=</tt> <tt class="py-name">etree</tt><tt class="py-op">.</tt><tt class="py-name">tostring</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">document</tt><tt class="py-op">,</tt> <tt class="py-name">pretty_print</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt>  </tt>
<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line">                <tt class="py-name">xml_declaration</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-name">encoding</tt><tt class="py-op">=</tt><tt class="py-string">'utf-8'</tt><tt class="py-op">)</tt> </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-string">"&lt;!DOCTYPE QPH&gt;"</tt> <tt class="py-keyword">in</tt> <tt class="py-name">output</tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-number">30</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line">            <tt class="py-name">output</tt> <tt class="py-op">=</tt> <tt class="py-string">"&lt;!DOCTYPE QPH&gt;"</tt> <tt class="py-op">+</tt> <tt class="py-name">output</tt> </tt>
<a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">output</tt> </tt>
</div></div><a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="translate-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://translate.sourceforge.net/wiki/toolkit/index">Translate Toolkit</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed Nov 25 17:19:41 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>