How to mark images as untranslatable?
- From: Mario Blättermann <mario blaettermann gmail com>
- To: gnome-doc-list gnome org
- Subject: How to mark images as untranslatable?
- Date: Fri, 28 Sep 2012 21:05:37 +0200
Hi all,
I've migrated Glabels from g-d-u to itstool recently. In the course of
this changes, I've marked some XML tags as untranslatable, like in the
following example:
<tr>
<td its:translate="no"><p><code>x0</code></p></td>
<td><p>Distance from left edge of sheet to the left edge of
the left column of cards/labels in the layout.</p></td>
</tr>
Works fine so far, the XML content from the according table row doesn't
appear anymore in the *.pot translation template. But this affects
textual strings only, it doesn't work for images:
<figure>
<desc><code>Layout</code> parameters</desc>
<media its:translate="no" type="image"
src="figures/glabels-template-layout.png" mime="image/png" style="right">
<p><span>Layout</span> Parameters</p>
</media>
</figure>
This image doesn't contain any translatable things, just some text which
is hardcoded in the Glabels' template syntax and must not be changed in
any case. Where I have to place the its:translate="no" part to let it
disappear from the translation template?
Best Regards,
Mario
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]