Enabling zulu in tuxpaint

This commit is contained in:
Pere Pujal i Carabantes 2014-03-18 23:30:49 +00:00
parent cad732cf30
commit 28c604997e
4 changed files with 21 additions and 2 deletions

View file

@ -1301,6 +1301,11 @@ New Breed Software</p>
<td>&nbsp;</td> <td>&nbsp;</td>
<td><code>zapotec</code></td> <td><code>zapotec</code></td>
</tr> </tr>
<tr>
<td><code>zulu</code></td>
<td>&nbsp;</td>
<td><code>zulu</code></td>
</tr>
</table> </table>
</blockquote> </blockquote>
</dd> </dd>
@ -2182,7 +2187,13 @@ New Breed Software</p>
<td>Zapotec (Miahuatlan)</td> <td>Zapotec (Miahuatlan)</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
</table> <tr>
<td><code>zu_ZA</code></td>
<td>&nbsp;</td>
<td>Zulu</td>
<td>&nbsp;</td>
</tr>
</table>
<p><b>(*)</b> - These languages require their own fonts, since they <p><b>(*)</b> - These languages require their own fonts, since they
are not represented using a Latin character set, like the others. are not represented using a Latin character set, like the others.

View file

@ -157,6 +157,7 @@ const char *lang_prefixes[NUM_LANGS] = {
"zam", "zam",
"zh_CN", "zh_CN",
"zh_TW", "zh_TW",
"zu",
}; };
@ -361,7 +362,8 @@ static const language_to_locale_struct language_to_locale_array[] = {
{"zapotec", "zam.UTF-8"}, {"zapotec", "zam.UTF-8"},
{"miahuatlan-zapotec", "zam.UTF-8"}, {"miahuatlan-zapotec", "zam.UTF-8"},
{"khmer", "km_KH.UTF-8"}, {"khmer", "km_KH.UTF-8"},
{"malayalam", "ml_IN.UTF-8"} {"malayalam", "ml_IN.UTF-8"},
{"zulu", "zu_ZA.UTF-8"}
}; };
/* FIXME: All this should REALLY be array-based!!! */ /* FIXME: All this should REALLY be array-based!!! */
@ -478,6 +480,7 @@ static void show_lang_usage(int exitcode)
/* cy */ " welsh cymraeg\n" /* cy */ " welsh cymraeg\n"
/* xh */ " xhosa\n" /* xh */ " xhosa\n"
/* zam */" zapotec miahuatlan-zapotec\n" /* zam */" zapotec miahuatlan-zapotec\n"
/* zu */ " zulu\n"
"\n", prg); "\n", prg);
exit(exitcode); exit(exitcode);
} }
@ -596,6 +599,7 @@ static void show_locale_usage(FILE * f, const char *const prg)
" cy_GB (Welsh Cymraeg)\n" " cy_GB (Welsh Cymraeg)\n"
" xh_ZA (Xhosa)\n" " xh_ZA (Xhosa)\n"
" zam (Zapoteco-Miahuatlan)\n" " zam (Zapoteco-Miahuatlan)\n"
" zu_ZA (Zulu)\n"
"\n", prg); "\n", prg);
} }

View file

@ -143,6 +143,7 @@ enum
LANG_ZH_CN, /* Chinese (Simplified) */ LANG_ZH_CN, /* Chinese (Simplified) */
LANG_ZH_TW, /* Chinese (Traditional) */ LANG_ZH_TW, /* Chinese (Traditional) */
LANG_ZAM, /* Zapotec (Miahuatlan) */ LANG_ZAM, /* Zapotec (Miahuatlan) */
LANG_ZU, /* Zulu */
NUM_LANGS NUM_LANGS
}; };

View file

@ -795,6 +795,9 @@ xhosa
.TP 2 .TP 2
- -
zapotec | miahuatlan-zapotec zapotec | miahuatlan-zapotec
.TP 2
-
zulu
.RE .RE
.PD .PD