Prepared code, Makefile and Docs for imminent Slovenian translation.

This commit is contained in:
William Kendrick 2004-03-17 13:54:29 +00:00
parent 24ccece8f6
commit a2960dce52
7 changed files with 63 additions and 13 deletions

View file

@ -6,7 +6,7 @@
# bill@newbreedsoftware.com
# http://www.newbreedsoftware.com/tuxpaint/
# June 14, 2002 - March 4, 2004
# June 14, 2002 - March 17, 2004
# Where to install things:
@ -505,6 +505,11 @@ install-gettext:
@cp trans/sk.mo $(LOCALE_PREFIX)sk/LC_MESSAGES/tuxpaint.mo
@chmod 644 $(LOCALE_PREFIX)sk/LC_MESSAGES/tuxpaint.mo
@#
@echo " sl_SI ...Slovenian..."
@install -d $(LOCALE_PREFIX)sl/LC_MESSAGES
@cp trans/sl.mo $(LOCALE_PREFIX)sl/LC_MESSAGES/tuxpaint.mo
@chmod 644 $(LOCALE_PREFIX)sl/LC_MESSAGES/tuxpaint.mo
@#
@echo " es_ES ...Spanish..."
@install -d $(LOCALE_PREFIX)es/LC_MESSAGES
@cp trans/es.mo $(LOCALE_PREFIX)es/LC_MESSAGES/tuxpaint.mo
@ -653,6 +658,7 @@ translations: trans \
trans/ro.mo \
trans/ru.mo \
trans/sk.mo \
trans/sl.mo \
trans/sr.mo \
trans/sv.mo \
trans/ta.mo \
@ -781,6 +787,10 @@ trans/sk.mo: src/messages/sk.po
@echo " sk_SK ...Slovak..."
@msgfmt src/messages/sk.po -o trans/sk.mo
trans/sl.mo: src/messages/sl.po
@echo " sl_SI ...Slovenian..."
@msgfmt src/messages/sl.po -o trans/sl.mo
trans/sr.mo: src/messages/sr.po
@echo " sr_YU ...Serbian..."
@msgfmt src/messages/sr.po -o trans/sr.mo

View file

@ -7,7 +7,7 @@ bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
June 17, 2002 - March 4, 2004
June 17, 2002 - March 17, 2004
* Design and Coding:
@ -169,12 +169,15 @@ June 17, 2002 - March 4, 2004
* Serbian
Aleksandar Jelenak <jelenak@netlinkplus.net>
* Spanish
Gabriel Gazzan <ggabriel@internet.com.uy>
* Slovak
Milan Plzik <mmp@golem.gymzv.sk>
* Slovenian
Urska Colner <ursacol02@users.sourceforge.net>
* Spanish
Gabriel Gazzan <ggabriel@internet.com.uy>
* Swedish
Daniel Andersson <daniel@septum.org> [retired]

View file

@ -7,13 +7,16 @@ bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
2004.Mar.04 (0.9.14) [cvs]
2004.Mar.17 (0.9.14) [cvs]
* Afrikaans translation created.
Petri Jooste <rkwjpj@puk.ac.za>
* Serbian translation created.
Aleksandar Jelenak <jelenak@netlinkplus.net>
* Slovenian translation created.
Urska Colner <ursacol02@users.sourceforge.net>
* Korean language file (ko.po) update.
Mark K. Kim <tuxNO_SOLICITATIONpaint-dev@cbreak.org>

View file

@ -23,7 +23,7 @@ New Breed Software</p>
<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>
<p>June 14, 2002 - March 4, 2004</p>
<p>June 14, 2002 - March 17, 2004</p>
</center>
<hr size=2 noshade>
@ -623,6 +623,11 @@ New Breed Software</p>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><code>slovenian</code></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><code>swedish</code></td>
<td><code>svenska</code></td>
@ -982,15 +987,20 @@ New Breed Software</p>
<td>Slovak</td>
</tr>
<tr>
<td><code>sv_SE@euro</code></td>
<td>Svenska</td>
<td>Swedish</td>
<td><code>sl_SI</code></td>
<td>&nbsp;</td>
<td>Slovenian</td>
</tr>
<tr>
<td><code>sr_YU</code></td>
<td>&nbsp;</td>
<td>Serbian</td>
</tr>
<tr>
<td><code>sv_SE@euro</code></td>
<td>Svenska</td>
<td>Swedish</td>
</tr>
<tr>
<td><code>ta_IN</code> (*)</td>
<td>&nbsp;</td>

View file

@ -1,5 +1,5 @@
.\" tuxpaint.1 - 2004.03.04
.TH TUXPAINT 1 "04 Mar 2004" "0.9.14" "Tux Paint"
.\" tuxpaint.1 - 2004.03.17
.TH TUXPAINT 1 "17 Mar 2004" "0.9.14" "Tux Paint"
.SH NAME
tuxpaint -- A drawing program for young children.
@ -437,6 +437,7 @@ Herman Bruyninckx,
Laurentiu Buzdugan,
Pere Pujal Carabantes,
Jacques Chion,
Urska Colner,
Ricardo Cruz,
Doruk Fisek,
Dovix,

14
src/messages/sl.po Normal file
View file

@ -0,0 +1,14 @@
# Dummy PO
msgid ""
msgstr ""
"POT-Creation-Date: \n"
"PO-Revision-Date: 2004-03-17 00:00+0100\n"
"Last-Translator: na <na@na.na>\n"
"Language-Team: na <na@na.na>\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: tuxpaint.c:795
msgid "Do you really want to quit?"
msgstr "REALLY?"

View file

@ -26,7 +26,7 @@
#define VER_VERSION "0.9.14"
#define VER_DATE "2004.03.04"
#define VER_DATE "2004.03.17"
/* #define DEBUG */
@ -316,6 +316,7 @@ enum {
LANG_RO, /* Romanian */
LANG_RU, /* Russian */
LANG_SK, /* Slovak */
LANG_SL, /* Slovenian */
LANG_SR, /* Serbian */
LANG_SV, /* Swedish */
LANG_TA, /* Tamil */
@ -356,6 +357,7 @@ const char * lang_prefixes[NUM_LANGS] = {
"ro",
"ru",
"sk",
"sl",
"sr",
"sv",
"ta",
@ -3812,6 +3814,7 @@ void show_lang_usage(FILE * f, char * prg)
" romanian\n"
" russian russkiy\n"
" slovak\n"
" slovenian\n"
" spanish espanol\n"
" swedish svenska\n"
" tamil\n"
@ -3863,6 +3866,7 @@ void show_locale_usage(FILE * f, char * prg)
" ro_RO (Romanian)\n"
" ru_RU (Russian Russkiy)\n"
" sk_SK (Slovak)\n"
" sl_SI (Slovenian)\n"
" sr_YU (Serbian)\n"
" es_ES (Spanish Espanol)\n"
" sv_SE (Swedish Svenska)\n"
@ -4547,6 +4551,11 @@ void setup(int argc, char * argv[])
putenv("LANG=sk_SK");
putenv("LC_ALL=sk_SK");
}
else if (strcmp(langstr, "slovenian") == 0)
{
putenv("LANG=sl_SI");
putenv("LC_ALL=sl_SI");
}
else if (strcmp(langstr, "serbian") == 0)
{
putenv("LANG=sr_YU");