Tamil support in the main code and Makefile.
This commit is contained in:
parent
b3f3258498
commit
be5505c4ee
5 changed files with 34 additions and 7 deletions
13
Makefile
13
Makefile
|
|
@ -6,7 +6,7 @@
|
|||
# bill@newbreedsoftware.com
|
||||
# http://www.newbreedsoftware.com/tuxpaint/
|
||||
|
||||
# June 14, 2002 - August 18, 2003
|
||||
# June 14, 2002 - September 14, 2003
|
||||
|
||||
|
||||
# Where to install things:
|
||||
|
|
@ -234,6 +234,7 @@ uninstall:
|
|||
-rm $(LOCALE_PREFIX)ru/LC_MESSAGES/tuxpaint.mo
|
||||
-rm $(LOCALE_PREFIX)sk/LC_MESSAGES/tuxpaint.mo
|
||||
-rm $(LOCALE_PREFIX)sv/LC_MESSAGES/tuxpaint.mo
|
||||
-rm $(LOCALE_PREFIX)ta/LC_MESSAGES/tuxpaint.mo
|
||||
-rm $(LOCALE_PREFIX)tr/LC_MESSAGES/tuxpaint.mo
|
||||
-rm $(LOCALE_PREFIX)wa/LC_MESSAGES/tuxpaint.mo
|
||||
-rm $(LOCALE_PREFIX)zh_CN/LC_MESSAGES/tuxpaint.mo
|
||||
|
|
@ -478,6 +479,11 @@ install-gettext:
|
|||
@cp trans/sv.mo $(LOCALE_PREFIX)sv/LC_MESSAGES/tuxpaint.mo
|
||||
@chmod 644 $(LOCALE_PREFIX)sv/LC_MESSAGES/tuxpaint.mo
|
||||
@#
|
||||
@echo " ta_IN ...Tamil..."
|
||||
@install -d $(LOCALE_PREFIX)ta/LC_MESSAGES
|
||||
@cp trans/ta.mo $(LOCALE_PREFIX)ta/LC_MESSAGES/tuxpaint.mo
|
||||
@chmod 644 $(LOCALE_PREFIX)ta/LC_MESSAGES/tuxpaint.mo
|
||||
@#
|
||||
@echo " tr_TR ...Turkish..."
|
||||
@install -d $(LOCALE_PREFIX)tr/LC_MESSAGES
|
||||
@cp trans/tr.mo $(LOCALE_PREFIX)tr/LC_MESSAGES/tuxpaint.mo
|
||||
|
|
@ -594,6 +600,7 @@ translations: trans \
|
|||
trans/ru.mo \
|
||||
trans/sk.mo \
|
||||
trans/sv.mo \
|
||||
trans/ta.mo \
|
||||
trans/tr.mo \
|
||||
trans/wa.mo \
|
||||
trans/zh_cn.mo
|
||||
|
|
@ -711,6 +718,10 @@ trans/sv.mo: src/messages/sv.po
|
|||
@echo " sv_SE ...Swedish..."
|
||||
@msgfmt src/messages/sv.po -o trans/sv.mo
|
||||
|
||||
trans/ta.mo: src/messages/ta.po
|
||||
@echo " ta_TR ...Tamil..."
|
||||
@msgfmt src/messages/ta.po -o trans/ta.mo
|
||||
|
||||
trans/tr.mo: src/messages/tr.po
|
||||
@echo " tr_TR ...Turkish..."
|
||||
@msgfmt src/messages/tr.po -o trans/tr.mo
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ bill@newbreedsoftware.com
|
|||
http://www.newbreedsoftware.com/tuxpaint/
|
||||
|
||||
|
||||
June 17, 2002 - August 18, 2003
|
||||
June 17, 2002 - September 13, 2003
|
||||
|
||||
|
||||
* Design and Coding:
|
||||
|
|
@ -162,6 +162,9 @@ June 17, 2002 - August 18, 2003
|
|||
* Swedish
|
||||
Daniel Andersson <daniel@septum.org> [retired]
|
||||
|
||||
* Tamil
|
||||
Mugunth <mugunth@thamizha.com>
|
||||
|
||||
* Turkish
|
||||
Doruk Fisek <dfisek@fisek.com.tr>
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,10 @@ bill@newbreedsoftware.com
|
|||
http://www.newbreedsoftware.com/tuxpaint/
|
||||
|
||||
|
||||
2003.Sep.11 (0.9.13) [cvs]
|
||||
2003.Sep.13 (0.9.13) [cvs]
|
||||
* Translated into Tamil [soon]
|
||||
Mugunth <mugunth@thamizha.com>
|
||||
|
||||
* Fixed incorrect tag in HTML documentation. (Bad results in IE)
|
||||
|
||||
* Fixed typo regarding "savedir" in README.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.\" tuxpaint.1 - 2003.09.11
|
||||
.TH TUXPAINT 1 "11 Sep 2003" "0.9.13" "Tux Paint"
|
||||
.\" tuxpaint.1 - 2003.09.14
|
||||
.TH TUXPAINT 1 "14 Sep 2003" "0.9.13" "Tux Paint"
|
||||
.SH NAME
|
||||
tuxpaint -- A drawing program for young children.
|
||||
|
||||
|
|
@ -429,6 +429,7 @@ Mantas Kriauciunas,
|
|||
Arkadiusz Lipiec,
|
||||
Martin,
|
||||
Marco Milanesi,
|
||||
Mugunth,
|
||||
Primoz Peterlin,
|
||||
Milan Plzik,
|
||||
John Popplewell,
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@
|
|||
bill@newbreedsoftware.com
|
||||
http://www.newbreedsoftware.com/tuxpaint/
|
||||
|
||||
June 14, 2002 - September 11, 2003
|
||||
June 14, 2002 - September 14, 2003
|
||||
*/
|
||||
|
||||
|
||||
#define VER_VERSION "0.9.13"
|
||||
#define VER_DATE "2003.09.11"
|
||||
#define VER_DATE "2003.09.14"
|
||||
|
||||
|
||||
/* #define DEBUG */
|
||||
|
|
@ -289,6 +289,7 @@ enum {
|
|||
LANG_RU, /* Russian */
|
||||
LANG_SE, /* Swedish */
|
||||
LANG_SK, /* Slovak */
|
||||
LANG_TA, /* Tamil */
|
||||
LANG_TR, /* Turkish */
|
||||
LANG_WA, /* Walloon */
|
||||
LANG_ZH, /* Chinese */
|
||||
|
|
@ -324,6 +325,7 @@ const char * lang_prefixes[NUM_LANGS] = {
|
|||
"ru",
|
||||
"se",
|
||||
"sk",
|
||||
"ta",
|
||||
"tr",
|
||||
"wa",
|
||||
"zh"
|
||||
|
|
@ -344,6 +346,7 @@ int lang_use_utf8[] = {
|
|||
/* LANG_LT, */
|
||||
/* LANG_PL, */
|
||||
/* LANG_RU, */
|
||||
LANG_TA,
|
||||
LANG_ZH,
|
||||
-1
|
||||
};
|
||||
|
|
@ -3459,6 +3462,7 @@ void show_lang_usage(FILE * f, char * prg)
|
|||
" slovak\n"
|
||||
" spanish espanol\n"
|
||||
" swedish svenska\n"
|
||||
" tamil\n"
|
||||
" turkish\n"
|
||||
" walloon\n"
|
||||
"\n",
|
||||
|
|
@ -4075,6 +4079,11 @@ void setup(int argc, char * argv[])
|
|||
putenv("LANG=ko_KR.UTF-8");
|
||||
putenv("LC_ALL=ko_KR.UTF-8");
|
||||
}
|
||||
else if (strcmp(langstr, "tamil") == 0)
|
||||
{
|
||||
putenv("LANG=ta_IN.UTF-8");
|
||||
putenv("LC_ALL=ta_IN.UTF-8");
|
||||
}
|
||||
else if (strcmp(langstr, "lithuanian") == 0 ||
|
||||
strcmp(langstr, "lietuviu") == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue