Removed HTML character entiy reference info (not longer supported).
This commit is contained in:
parent
2a9a7d02ce
commit
d864af9952
1 changed files with 12 additions and 41 deletions
|
|
@ -2149,8 +2149,8 @@ New Breed Software</p>
|
||||||
(e.g., "<code>picture.png</code>"'s description is stored in
|
(e.g., "<code>picture.png</code>"'s description is stored in
|
||||||
"<code>picture.txt</code>" in the same directory.)</p>
|
"<code>picture.txt</code>" in the same directory.)</p>
|
||||||
|
|
||||||
<p>The first line of the text file will be used as the default
|
<p>The first line of the text file will be used as the US English
|
||||||
description of the stamp's image.</p>
|
description of the stamp's image. It must be encoded in UTF-8.</p>
|
||||||
|
|
||||||
<h4>Language Support</h4>
|
<h4>Language Support</h4>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
|
|
@ -2158,48 +2158,19 @@ New Breed Software</p>
|
||||||
translations of the description, to be displayed when Tux Paint
|
translations of the description, to be displayed when Tux Paint
|
||||||
is running in a different locale (like French or Spanish).</p>
|
is running in a different locale (like French or Spanish).</p>
|
||||||
|
|
||||||
<p>There are three ways of placing translated descriptions in
|
<p>The beginning of the line should correspond to the language code
|
||||||
a stamp's "<code>.txt</code>" file. In each case, the beginning
|
of the language in question (e.g., "<code>fr</code>" for French, and
|
||||||
of the line should correspond to the locale code of the language
|
"<code>zh_tw</code>" for Traditional Chinese), followed by
|
||||||
in question (e.g., "<code>de</code>" for German,
|
"<code>.utf8=</code>" and the translated description (encoded
|
||||||
"<code>fr</code>" for French, etc.).</p>
|
in UTF-8).</p>
|
||||||
|
|
||||||
<ul>
|
<p>There are scripts in the "<code>po</code>" directory for converting
|
||||||
<li><p>Lines beginning with "<code><b>xx</b>=</code>"
|
the text files to PO format (and back) for easy translation to
|
||||||
(where "<code>xx</code>" is the locale code) will be
|
different languages. Therefore you should never add or change translations
|
||||||
considered plain ASCII. That is, any special characters on the
|
in the .txt files directly.</p>
|
||||||
line will be interpreted literally.</p>
|
|
||||||
|
|
||||||
<p>For example, "<code>es=¡Niños!</code>", will come
|
|
||||||
out literally as "¡Niños!"</p>
|
|
||||||
|
|
||||||
<li><p>Lines beginning with "<code><b>xx</b>.esc=</code>" can contain
|
|
||||||
special 'escape sequences' which allow you to create a
|
|
||||||
description using special ASCII characters (like "á" and
|
|
||||||
"þ") without the need to figure out how to get those
|
|
||||||
characters in the file with whatever editor you chose to use.</p>
|
|
||||||
|
|
||||||
<p>The escape sequences are identical to those used in HTML
|
|
||||||
to display ASCII characters 161 through 255. The sequence begins
|
|
||||||
with a "<code>&</code>" (ampersand), and ends with a
|
|
||||||
"<code>;</code>" (semicolon). See the documentation file
|
|
||||||
"ESCAPES.txt" for a list of escapable characters.</p>
|
|
||||||
|
|
||||||
<p>For example, "<code>es.esc=&iexcl;Ni&ntilde;os!</code>",
|
|
||||||
will come out as "¡Niños!"</p>
|
|
||||||
|
|
||||||
<p><b>Note:</b> As in HTML, if you want an actual ampersand ("&")
|
|
||||||
in your description when using the "<code><b>xx</b>.esc</code>"
|
|
||||||
method ,you'll need to escape it: "<code>&amp;</code>".<p>
|
|
||||||
|
|
||||||
<li><p>Lines beginning with "<code><b>xx</b>.utf8=</code>" can be
|
|
||||||
used to use UTF-8 encoded text for the description's translation.
|
|
||||||
You'll need an editor capable of saving UTF-8 encoded files.</p>
|
|
||||||
</ul><p>
|
|
||||||
|
|
||||||
<p>If no translation is available for the language Tux Paint
|
<p>If no translation is available for the language Tux Paint
|
||||||
is currently running in, the default string (the first line, which
|
is currently running in, the US English text is used.</p>
|
||||||
is typically in English) is used.</p>
|
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<h4>Windows Users</h4>
|
<h4>Windows Users</h4>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue