Added Basque translation. Fixed Bokmal Makefile stuff.

This commit is contained in:
William Kendrick 2003-12-18 14:49:21 +00:00
parent 6503cd50ec
commit bfaf56bd52
5 changed files with 41 additions and 5 deletions

View file

@ -207,6 +207,7 @@ uninstall:
-rm -r $(DATA_PREFIX) -rm -r $(DATA_PREFIX)
-rm -r $(DOC_PREFIX) -rm -r $(DOC_PREFIX)
-rm $(MAN_PREFIX)/man1/tuxpaint.1.gz -rm $(MAN_PREFIX)/man1/tuxpaint.1.gz
-rm $(LOCALE_PREFIX)bs/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)ca/LC_MESSAGES/tuxpaint.mo -rm $(LOCALE_PREFIX)ca/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)cs/LC_MESSAGES/tuxpaint.mo -rm $(LOCALE_PREFIX)cs/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)da/LC_MESSAGES/tuxpaint.mo -rm $(LOCALE_PREFIX)da/LC_MESSAGES/tuxpaint.mo
@ -344,6 +345,11 @@ install-gettext:
@cp trans/pt_br.mo $(LOCALE_PREFIX)pt_BR/LC_MESSAGES/tuxpaint.mo @cp trans/pt_br.mo $(LOCALE_PREFIX)pt_BR/LC_MESSAGES/tuxpaint.mo
@chmod 644 $(LOCALE_PREFIX)pt_BR/LC_MESSAGES/tuxpaint.mo @chmod 644 $(LOCALE_PREFIX)pt_BR/LC_MESSAGES/tuxpaint.mo
@# @#
@echo " bs_BA ...Basque..."
@install -d $(LOCALE_PREFIX)bs/LC_MESSAGES
@cp trans/bs.mo $(LOCALE_PREFIX)bs/LC_MESSAGES/tuxpaint.mo
@chmod 644 $(LOCALE_PREFIX)bs/LC_MESSAGES/tuxpaint.mo
@#
@echo " en_GB ...British English..." @echo " en_GB ...British English..."
@install -d $(LOCALE_PREFIX)en_GB/LC_MESSAGES @install -d $(LOCALE_PREFIX)en_GB/LC_MESSAGES
@cp trans/en_gb.mo $(LOCALE_PREFIX)en_GB/LC_MESSAGES/tuxpaint.mo @cp trans/en_gb.mo $(LOCALE_PREFIX)en_GB/LC_MESSAGES/tuxpaint.mo
@ -578,6 +584,7 @@ obj/BeOS_Print.o: src/BeOS_Print.cpp obj src/BeOS_print.h
# Build the translation files for gettext # Build the translation files for gettext
translations: trans \ translations: trans \
trans/bs.mo \
trans/ca.mo \ trans/ca.mo \
trans/cs.mo \ trans/cs.mo \
trans/da.mo \ trans/da.mo \
@ -597,6 +604,7 @@ translations: trans \
trans/lt.mo \ trans/lt.mo \
trans/ms.mo \ trans/ms.mo \
trans/nl.mo \ trans/nl.mo \
trans/nb.mo \
trans/nn.mo \ trans/nn.mo \
trans/pl.mo \ trans/pl.mo \
trans/pt_br.mo \ trans/pt_br.mo \
@ -615,6 +623,10 @@ trans:
@echo "...Preparing translation files..." @echo "...Preparing translation files..."
@mkdir trans @mkdir trans
trans/bs.mo: src/messages/bs.po
@echo " bs_BA ...Basque..."
@msgfmt src/messages/bs.po -o trans/bs.mo
trans/ca.mo: src/messages/ca.po trans/ca.mo: src/messages/ca.po
@echo " ca_ES ...Catalan..." @echo " ca_ES ...Catalan..."
@msgfmt src/messages/ca.po -o trans/ca.mo @msgfmt src/messages/ca.po -o trans/ca.mo

View file

@ -23,7 +23,7 @@ New Breed Software</p>
<p><a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a><br> <p><a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a><br>
<a href="http://www.newbreedsoftware.com/tuxpaint/">http://www.newbreedsoftware.com/tuxpaint/</a></p> <a href="http://www.newbreedsoftware.com/tuxpaint/">http://www.newbreedsoftware.com/tuxpaint/</a></p>
<p>June 14, 2002 - September 29, 2003</p> <p>June 14, 2002 - December 18, 2003</p>
</center> </center>
<hr size=2 noshade> <hr size=2 noshade>
@ -466,6 +466,11 @@ New Breed Software</p>
<td><code>american-english</code></td> <td><code>american-english</code></td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr>
<td><code>basque</code></td>
<td><code>euskara</code></td>
<td>&nbsp;</td>
</tr>
<tr> <tr>
<td><code>bokmal</code></td> <td><code>bokmal</code></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -818,6 +823,11 @@ New Breed Software</p>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>English</td> <td>English</td>
</tr> </tr>
<tr>
<td><code>bs_BA</code></td>
<td>Basque</td>
<td>Euskara</td>
</tr>
<tr> <tr>
<td><code>ca_ES</code></td> <td><code>ca_ES</code></td>
<td>Catalan</td> <td>Catalan</td>

View file

@ -1,5 +1,5 @@
.\" tuxpaint.1 - 2003.09.27 .\" tuxpaint.1 - 2003.12.18
.TH TUXPAINT 1 "27 Sep 2003" "0.9.13" "Tux Paint" .TH TUXPAINT 1 "18 Dec 2003" "0.9.13" "Tux Paint"
.SH NAME .SH NAME
tuxpaint -- A drawing program for young children. tuxpaint -- A drawing program for young children.
@ -249,6 +249,8 @@ listed below:
english | american-english english | american-english
.TP 2 .TP 2
- -
basque | euskara
-
bokmal bokmal
.TP 2 .TP 2
- -

View file

@ -7,12 +7,12 @@
bill@newbreedsoftware.com bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/ http://www.newbreedsoftware.com/tuxpaint/
June 14, 2002 - November 14, 2003 June 14, 2002 - December 18, 2003
*/ */
#define VER_VERSION "0.9.13" #define VER_VERSION "0.9.13"
#define VER_DATE "2003.11.14" #define VER_DATE "2003.12.18"
/* #define DEBUG */ /* #define DEBUG */
@ -3632,6 +3632,7 @@ void show_lang_usage(FILE * f, char * prg)
"\n" "\n"
"LANGUAGE may be one of:\n" "LANGUAGE may be one of:\n"
" english american-english\n" " english american-english\n"
" basque euskara\n"
" bokmal\n" " bokmal\n"
" brazilian brazilian-portuguese portugues-brazilian\n" " brazilian brazilian-portuguese portugues-brazilian\n"
" british british-english\n" " british british-english\n"
@ -3681,6 +3682,7 @@ void show_locale_usage(FILE * f, char * prg)
"\n" "\n"
"LOCALE may be one of:\n" "LOCALE may be one of:\n"
" C (English American English)\n" " C (English American English)\n"
" bs_BA (Baque Euskara)\n"
" nb_NO (Bokmal)\n" " nb_NO (Bokmal)\n"
" pt_BR (Brazilian Brazilian Portuguese Portugues Brazilian)\n" " pt_BR (Brazilian Brazilian Portuguese Portugues Brazilian)\n"
" en_GN (British British English)\n" " en_GN (British British English)\n"
@ -4289,6 +4291,16 @@ void setup(int argc, char * argv[])
putenv("LANG=ja_JP.UTF-8"); putenv("LANG=ja_JP.UTF-8");
putenv("LC_ALL=ja_JP.UTF-8"); putenv("LC_ALL=ja_JP.UTF-8");
} }
else if (strcmp(langstr, "bokmal") == 0)
{
putenv("LANG=nb_NN");
putenv("LC_ALL=nb_NN");
}
else if (strcmp(langstr, "basque") == 0 || strcmp(langstr, "euskara") == 0)
{
putenv("LANG=bs_BA");
putenv("LC_ALL=bs_BA");
}
else if (strcmp(langstr, "korean") == 0) else if (strcmp(langstr, "korean") == 0)
{ {
putenv("LANG=ko_KR.UTF-8"); putenv("LANG=ko_KR.UTF-8");