diff --git a/Makefile b/Makefile
index 42f186d37..6d6d6b452 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
# bill@newbreedsoftware.com
# http://www.newbreedsoftware.com/tuxpaint/
-# June 14, 2002 - August 2, 2003
+# June 14, 2002 - August 18, 2003
# Where to install things:
@@ -223,6 +223,8 @@ uninstall:
-rm $(LOCALE_PREFIX)it/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)ja/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)nn/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
@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..."
@install -d $(LOCALE_PREFIX)nn/LC_MESSAGES
@cp trans/nn.mo $(LOCALE_PREFIX)nn/LC_MESSAGES/tuxpaint.mo
@@ -577,11 +584,12 @@ translations: trans \
trans/ja.mo \
trans/ko.mo \
trans/lt.mo \
+ trans/ms.mo \
trans/nl.mo \
trans/nn.mo \
+ trans/pl.mo \
trans/pt_br.mo \
trans/pt.mo \
- trans/pl.mo \
trans/ro.mo \
trans/ru.mo \
trans/sk.mo \
@@ -663,6 +671,10 @@ trans/lt.mo: src/messages/lt.po
@echo " lt_LT ...Lithuanian..."
@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
@echo " nl_NL ...Dutch..."
@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
@echo " nn_NO ...Norwegian..."
@msgfmt src/messages/nn.po -o trans/nn.mo
-
+
trans/pl.mo: src/messages/pl.po
@echo " pl_PL ...Polish..."
@msgfmt src/messages/pl.po -o trans/pl.mo
diff --git a/docs/AUTHORS.txt b/docs/AUTHORS.txt
index 9c78ef1ad..64bf2303a 100644
--- a/docs/AUTHORS.txt
+++ b/docs/AUTHORS.txt
@@ -7,7 +7,7 @@ bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
-June 17, 2002 - August 2, 2003
+June 17, 2002 - August 18, 2003
* Design and Coding:
@@ -130,6 +130,9 @@ June 17, 2002 - August 2, 2003
Mantas Kriauciunas
Rita Verbauskaite
+ * Malay
+ Muhammad Najmi Ahmad Zabidi
+
* Norwegian
Karl Ove Hufthammer
diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt
index 9d5c49d0e..e51fdc3f9 100644
--- a/docs/CHANGES.txt
+++ b/docs/CHANGES.txt
@@ -7,7 +7,7 @@ bill@newbreedsoftware.com
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.
Darrell Walisser
@@ -63,9 +63,12 @@ http://www.newbreedsoftware.com/tuxpaint/
used! Makefile will now fall-back and assume $GNOME_PREFIX should be /usr,
so that the launcher icon gets installed into the Gnome menu.
- * (About to be) translated to Russian
+ * Partially translated to Russian
Dmitriy Ivanov
+ * Translated to Malay
+ Muhammad Najmi Ahmad Zabidi
+
* Fixed prompt bug for larger window sizes
TOYAMA Shin-ichi
diff --git a/docs/html/README.html b/docs/html/README.html
index e3b30b4b3..86d53064f 100644
--- a/docs/html/README.html
+++ b/docs/html/README.html
@@ -21,7 +21,7 @@ New Breed Software
bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
-June 14, 2002 - August 2, 2003
+June 14, 2002 - August 18, 2003
@@ -523,6 +523,11 @@ New Breed Software
lietuviu |
|
+
+ malay |
+ |
+ |
+
norwegian |
nynorsk |
@@ -836,10 +841,15 @@ New Breed Software
Korean |
- lt_LT.UTF-8 (*) |
+ lt_LT.UTF-8 |
Lietuviu |
Lithuanian |
+
+ ms_MY |
+ |
+ Malay |
+
nn_NO |
Norsk (nynorsk) |
@@ -896,7 +906,7 @@ New Breed Software
Walloon |
- zh_CN |
+ zh_CN (*) |
|
Chinese (Simplified) |
diff --git a/src/manpage/tuxpaint.1 b/src/manpage/tuxpaint.1
index e6ef2ed91..5d5bd1aba 100644
--- a/src/manpage/tuxpaint.1
+++ b/src/manpage/tuxpaint.1
@@ -1,5 +1,5 @@
-.\" tuxpaint.1 - 2003.08.02
-.TH TUXPAINT 1 "02 Aug 2003" "0.9.12" "Tux Paint"
+.\" tuxpaint.1 - 2003.08.18
+.TH TUXPAINT 1 "18 Aug 2003" "0.9.12" "Tux Paint"
.SH NAME
tuxpaint -- A drawing program for young children.
@@ -259,6 +259,9 @@ german | dutch
greek
.TP 2
-
+hebrew
+.TP 2
+-
hungarian | magyar
.TP 2
-
@@ -280,6 +283,9 @@ korean
lithuanian | lietuviu
.TP 2
-
+malay
+.TP 2
+-
norwegian | nynorsk
.TP 2
-
@@ -295,6 +301,9 @@ romanian
russian | russkiy
.TP 2
-
+slovak
+.TP 2
+-
spanish | espanol
.TP 2
-
@@ -401,6 +410,7 @@ Sam "Criswell" Hart,
Tedi Heriyanto,
Pjetur G. Hjaltason,
Karl Ove Hufthammer,
+Dmitriy Ivanov,
Rasmus Erik Voel Jensen,
Wang Jian,
Kazuhiko,
@@ -422,8 +432,9 @@ TOYAMA Shin-ichi,
Rita Verbauskaite,
Daniel Jose Viana,
Charles Vidal,
+Damian Yerrick,
and
-Damian Yerrick.
+Muhammad Najmi Ahmad Zabidi.
.SH "SEE ALSO"
.BR tuxpaint-import (1),
diff --git a/src/tuxpaint.c b/src/tuxpaint.c
index d678260dc..56a63b8e9 100644
--- a/src/tuxpaint.c
+++ b/src/tuxpaint.c
@@ -7,12 +7,12 @@
bill@newbreedsoftware.com
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_DATE "2003.08.03"
+#define VER_DATE "2003.08.18"
/* #define DEBUG */
@@ -279,6 +279,7 @@ enum {
LANG_JA, /* Japanese */
LANG_KO, /* Korean */
LANG_LT, /* Lithuanian */
+ LANG_MS, /* Malay */
LANG_NL, /* Dutch */
LANG_NN, /* Norwegian */
LANG_PL, /* Polish */
@@ -313,6 +314,7 @@ const char * lang_prefixes[NUM_LANGS] = {
"ja",
"ko",
"lt",
+ "ms",
"nl",
"nn",
"pl",
@@ -3386,6 +3388,7 @@ void show_usage(FILE * f, char * prg)
" italian italiano\n"
" japanese\n"
" korean\n"
+ " malay\n"
" lithuanian lietuviu\n"
" norwegian nynorsk norsk\n"
" polish polski\n"
@@ -3961,6 +3964,11 @@ void setup(int argc, char * argv[])
putenv("LANG=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)
{
putenv("LANG=nl_NL@euro");
@@ -4040,8 +4048,7 @@ void setup(int argc, char * argv[])
setlocale(LC_ALL, "");
free(langstr);
}
-
-
+
bindtextdomain("tuxpaint", LOCALEDIR);
bind_textdomain_codeset("tuxpaint", "UTF8");
@@ -4077,6 +4084,7 @@ void setup(int argc, char * argv[])
#ifndef WIN32
putenv("SDL_VIDEO_X11_WMCLASS=TuxPaint.TuxPaint");
#endif
+
/* Init SDL Video: */
@@ -11010,6 +11018,7 @@ char * debug_gettext(const char * str)
if (strcmp(str, dgettext(NULL, str)) == 0)
{
printf("NOTRANS: %s\n", str);
+ fflush(stdout);
}
return(dgettext(NULL, str));