Added Malay translation.

This commit is contained in:
William Kendrick 2003-08-18 20:43:22 +00:00
parent 1653a8f499
commit 55bcf74449
6 changed files with 64 additions and 16 deletions

View file

@ -6,7 +6,7 @@
# bill@newbreedsoftware.com # bill@newbreedsoftware.com
# http://www.newbreedsoftware.com/tuxpaint/ # http://www.newbreedsoftware.com/tuxpaint/
# June 14, 2002 - August 2, 2003 # June 14, 2002 - August 18, 2003
# Where to install things: # Where to install things:
@ -223,6 +223,8 @@ uninstall:
-rm $(LOCALE_PREFIX)it/LC_MESSAGES/tuxpaint.mo -rm $(LOCALE_PREFIX)it/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)ja/LC_MESSAGES/tuxpaint.mo -rm $(LOCALE_PREFIX)ja/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)ko/LC_MESSAGES/tuxpaint.mo -rm $(LOCALE_PREFIX)ko/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)lt/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)ms/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)nl/LC_MESSAGES/tuxpaint.mo -rm $(LOCALE_PREFIX)nl/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)nn/LC_MESSAGES/tuxpaint.mo -rm $(LOCALE_PREFIX)nn/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)pl/LC_MESSAGES/tuxpaint.mo -rm $(LOCALE_PREFIX)pl/LC_MESSAGES/tuxpaint.mo
@ -431,6 +433,11 @@ install-gettext:
@cp trans/lt.mo $(LOCALE_PREFIX)lt/LC_MESSAGES/tuxpaint.mo @cp trans/lt.mo $(LOCALE_PREFIX)lt/LC_MESSAGES/tuxpaint.mo
@chmod 644 $(LOCALE_PREFIX)lt/LC_MESSAGES/tuxpaint.mo @chmod 644 $(LOCALE_PREFIX)lt/LC_MESSAGES/tuxpaint.mo
@# @#
@echo " ms_MY ...Malay..."
@install -d $(LOCALE_PREFIX)ms/LC_MESSAGES
@cp trans/ms.mo $(LOCALE_PREFIX)ms/LC_MESSAGES/tuxpaint.mo
@chmod 644 $(LOCALE_PREFIX)ms/LC_MESSAGES/tuxpaint.mo
@#
@echo " nn_NO ...Norwegian Nynorsk..." @echo " nn_NO ...Norwegian Nynorsk..."
@install -d $(LOCALE_PREFIX)nn/LC_MESSAGES @install -d $(LOCALE_PREFIX)nn/LC_MESSAGES
@cp trans/nn.mo $(LOCALE_PREFIX)nn/LC_MESSAGES/tuxpaint.mo @cp trans/nn.mo $(LOCALE_PREFIX)nn/LC_MESSAGES/tuxpaint.mo
@ -577,11 +584,12 @@ translations: trans \
trans/ja.mo \ trans/ja.mo \
trans/ko.mo \ trans/ko.mo \
trans/lt.mo \ trans/lt.mo \
trans/ms.mo \
trans/nl.mo \ trans/nl.mo \
trans/nn.mo \ trans/nn.mo \
trans/pl.mo \
trans/pt_br.mo \ trans/pt_br.mo \
trans/pt.mo \ trans/pt.mo \
trans/pl.mo \
trans/ro.mo \ trans/ro.mo \
trans/ru.mo \ trans/ru.mo \
trans/sk.mo \ trans/sk.mo \
@ -663,6 +671,10 @@ trans/lt.mo: src/messages/lt.po
@echo " lt_LT ...Lithuanian..." @echo " lt_LT ...Lithuanian..."
@msgfmt src/messages/lt.po -o trans/lt.mo @msgfmt src/messages/lt.po -o trans/lt.mo
trans/ms.mo: src/messages/ms.po
@echo " ms_MY ...Malay..."
@msgfmt src/messages/ms.po -o trans/ms.mo
trans/nl.mo: src/messages/nl.po trans/nl.mo: src/messages/nl.po
@echo " nl_NL ...Dutch..." @echo " nl_NL ...Dutch..."
@msgfmt src/messages/nl.po -o trans/nl.mo @msgfmt src/messages/nl.po -o trans/nl.mo
@ -670,7 +682,7 @@ trans/nl.mo: src/messages/nl.po
trans/nn.mo: src/messages/nn.po trans/nn.mo: src/messages/nn.po
@echo " nn_NO ...Norwegian..." @echo " nn_NO ...Norwegian..."
@msgfmt src/messages/nn.po -o trans/nn.mo @msgfmt src/messages/nn.po -o trans/nn.mo
trans/pl.mo: src/messages/pl.po trans/pl.mo: src/messages/pl.po
@echo " pl_PL ...Polish..." @echo " pl_PL ...Polish..."
@msgfmt src/messages/pl.po -o trans/pl.mo @msgfmt src/messages/pl.po -o trans/pl.mo

View file

@ -7,7 +7,7 @@ bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/ http://www.newbreedsoftware.com/tuxpaint/
June 17, 2002 - August 2, 2003 June 17, 2002 - August 18, 2003
* Design and Coding: * Design and Coding:
@ -130,6 +130,9 @@ June 17, 2002 - August 2, 2003
Mantas Kriauciunas <monte@mail.lt> Mantas Kriauciunas <monte@mail.lt>
Rita Verbauskaite <verba@centras.lt> Rita Verbauskaite <verba@centras.lt>
* Malay
Muhammad Najmi Ahmad Zabidi <md_najmi@yahoo.com>
* Norwegian * Norwegian
Karl Ove Hufthammer <karl@huftis.org> Karl Ove Hufthammer <karl@huftis.org>

View file

@ -7,7 +7,7 @@ bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/ http://www.newbreedsoftware.com/tuxpaint/
2003.Aug.02 (0.9.12) [cvs] 2003.Aug.18 (0.9.12) [cvs]
* Fixed Mac OS X #include typo. * Fixed Mac OS X #include typo.
Darrell Walisser <walisser@mac.com> Darrell Walisser <walisser@mac.com>
@ -63,9 +63,12 @@ http://www.newbreedsoftware.com/tuxpaint/
used! Makefile will now fall-back and assume $GNOME_PREFIX should be /usr, used! Makefile will now fall-back and assume $GNOME_PREFIX should be /usr,
so that the launcher icon gets installed into the Gnome menu. so that the launcher icon gets installed into the Gnome menu.
* (About to be) translated to Russian * Partially translated to Russian
Dmitriy Ivanov <ace22b@myrealbox.com> Dmitriy Ivanov <ace22b@myrealbox.com>
* Translated to Malay
Muhammad Najmi Ahmad Zabidi <md_najmi@yahoo.com>
* Fixed prompt bug for larger window sizes * Fixed prompt bug for larger window sizes
TOYAMA Shin-ichi <kyone@tky2.3web.ne.jp> TOYAMA Shin-ichi <kyone@tky2.3web.ne.jp>

View file

@ -21,7 +21,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 - August 2, 2003</p> <p>June 14, 2002 - August 18, 2003</p>
</center> </center>
<hr size=2 noshade> <hr size=2 noshade>
@ -523,6 +523,11 @@ New Breed Software</p>
<td><code>lietuviu</code></td> <td><code>lietuviu</code></td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr>
<td><code>malay</code></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr> <tr>
<td><code>norwegian</code></td> <td><code>norwegian</code></td>
<td><code>nynorsk</code></td> <td><code>nynorsk</code></td>
@ -836,10 +841,15 @@ New Breed Software</p>
<td>Korean</td> <td>Korean</td>
</tr> </tr>
<tr> <tr>
<td><code>lt_LT.UTF-8</code> (*)</td> <td><code>lt_LT.UTF-8</code></td>
<td>Lietuviu</td> <td>Lietuviu</td>
<td>Lithuanian</td> <td>Lithuanian</td>
</tr> </tr>
<tr>
<td><code>ms_MY</code></td>
<td>&nbsp;</td>
<td>Malay</td>
</tr>
<tr> <tr>
<td><code>nn_NO</code></td> <td><code>nn_NO</code></td>
<td>Norsk (nynorsk)</td> <td>Norsk (nynorsk)</td>
@ -896,7 +906,7 @@ New Breed Software</p>
<td>Walloon</td> <td>Walloon</td>
</tr> </tr>
<tr> <tr>
<td><code>zh_CN</code></td> <td><code>zh_CN</code> (*)</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>Chinese (Simplified)</td> <td>Chinese (Simplified)</td>
</tr> </tr>

View file

@ -1,5 +1,5 @@
.\" tuxpaint.1 - 2003.08.02 .\" tuxpaint.1 - 2003.08.18
.TH TUXPAINT 1 "02 Aug 2003" "0.9.12" "Tux Paint" .TH TUXPAINT 1 "18 Aug 2003" "0.9.12" "Tux Paint"
.SH NAME .SH NAME
tuxpaint -- A drawing program for young children. tuxpaint -- A drawing program for young children.
@ -259,6 +259,9 @@ german | dutch
greek greek
.TP 2 .TP 2
- -
hebrew
.TP 2
-
hungarian | magyar hungarian | magyar
.TP 2 .TP 2
- -
@ -280,6 +283,9 @@ korean
lithuanian | lietuviu lithuanian | lietuviu
.TP 2 .TP 2
- -
malay
.TP 2
-
norwegian | nynorsk norwegian | nynorsk
.TP 2 .TP 2
- -
@ -295,6 +301,9 @@ romanian
russian | russkiy russian | russkiy
.TP 2 .TP 2
- -
slovak
.TP 2
-
spanish | espanol spanish | espanol
.TP 2 .TP 2
- -
@ -401,6 +410,7 @@ Sam "Criswell" Hart,
Tedi Heriyanto, Tedi Heriyanto,
Pjetur G. Hjaltason, Pjetur G. Hjaltason,
Karl Ove Hufthammer, Karl Ove Hufthammer,
Dmitriy Ivanov,
Rasmus Erik Voel Jensen, Rasmus Erik Voel Jensen,
Wang Jian, Wang Jian,
Kazuhiko, Kazuhiko,
@ -422,8 +432,9 @@ TOYAMA Shin-ichi,
Rita Verbauskaite, Rita Verbauskaite,
Daniel Jose Viana, Daniel Jose Viana,
Charles Vidal, Charles Vidal,
Damian Yerrick,
and and
Damian Yerrick. Muhammad Najmi Ahmad Zabidi.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR tuxpaint-import (1), .BR tuxpaint-import (1),

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 - August 3, 2003 June 14, 2002 - August 18, 2003
*/ */
#define VER_VERSION "0.9.12" #define VER_VERSION "0.9.12"
#define VER_DATE "2003.08.03" #define VER_DATE "2003.08.18"
/* #define DEBUG */ /* #define DEBUG */
@ -279,6 +279,7 @@ enum {
LANG_JA, /* Japanese */ LANG_JA, /* Japanese */
LANG_KO, /* Korean */ LANG_KO, /* Korean */
LANG_LT, /* Lithuanian */ LANG_LT, /* Lithuanian */
LANG_MS, /* Malay */
LANG_NL, /* Dutch */ LANG_NL, /* Dutch */
LANG_NN, /* Norwegian */ LANG_NN, /* Norwegian */
LANG_PL, /* Polish */ LANG_PL, /* Polish */
@ -313,6 +314,7 @@ const char * lang_prefixes[NUM_LANGS] = {
"ja", "ja",
"ko", "ko",
"lt", "lt",
"ms",
"nl", "nl",
"nn", "nn",
"pl", "pl",
@ -3386,6 +3388,7 @@ void show_usage(FILE * f, char * prg)
" italian italiano\n" " italian italiano\n"
" japanese\n" " japanese\n"
" korean\n" " korean\n"
" malay\n"
" lithuanian lietuviu\n" " lithuanian lietuviu\n"
" norwegian nynorsk norsk\n" " norwegian nynorsk norsk\n"
" polish polski\n" " polish polski\n"
@ -3961,6 +3964,11 @@ void setup(int argc, char * argv[])
putenv("LANG=lt_LT"); putenv("LANG=lt_LT");
putenv("LC_ALL=lt_LT"); putenv("LC_ALL=lt_LT");
} }
else if (strcmp(langstr, "malay") == 0)
{
putenv("LANG=ms_MY");
putenv("LC_ALL=ms_MY");
}
else if (strcmp(langstr, "dutch") == 0) else if (strcmp(langstr, "dutch") == 0)
{ {
putenv("LANG=nl_NL@euro"); putenv("LANG=nl_NL@euro");
@ -4040,8 +4048,7 @@ void setup(int argc, char * argv[])
setlocale(LC_ALL, ""); setlocale(LC_ALL, "");
free(langstr); free(langstr);
} }
bindtextdomain("tuxpaint", LOCALEDIR); bindtextdomain("tuxpaint", LOCALEDIR);
bind_textdomain_codeset("tuxpaint", "UTF8"); bind_textdomain_codeset("tuxpaint", "UTF8");
@ -4077,6 +4084,7 @@ void setup(int argc, char * argv[])
#ifndef WIN32 #ifndef WIN32
putenv("SDL_VIDEO_X11_WMCLASS=TuxPaint.TuxPaint"); putenv("SDL_VIDEO_X11_WMCLASS=TuxPaint.TuxPaint");
#endif #endif
/* Init SDL Video: */ /* Init SDL Video: */
@ -11010,6 +11018,7 @@ char * debug_gettext(const char * str)
if (strcmp(str, dgettext(NULL, str)) == 0) if (strcmp(str, dgettext(NULL, str)) == 0)
{ {
printf("NOTRANS: %s\n", str); printf("NOTRANS: %s\n", str);
fflush(stdout);
} }
return(dgettext(NULL, str)); return(dgettext(NULL, str));