From 423f6ddce98baa4b74e5e43df6d0c9c850a0835f Mon Sep 17 00:00:00 2001
From: William Kendrick
Date: Sun, 16 May 2004 19:21:24 +0000
Subject: [PATCH] Added skeleton for Croatian translation.
---
Makefile | 13 +-
docs/AUTHORS.txt | 7 +-
docs/CHANGES.txt | 7 +-
docs/README.txt | 6 +-
docs/html/README.html | 12 +-
src/manpage/tuxpaint.1 | 13 +-
src/messages/hr.po | 479 +++++++++++++++++++++++++++++++++++++++++
src/tuxpaint.c | 12 +-
8 files changed, 536 insertions(+), 13 deletions(-)
create mode 100644 src/messages/hr.po
diff --git a/Makefile b/Makefile
index f74eadf99..430ed9196 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
# bill@newbreedsoftware.com
# http://www.newbreedsoftware.com/tuxpaint/
-# June 14, 2002 - May 9, 2004
+# June 14, 2002 - May 16, 2004
# Where to install things:
@@ -222,6 +222,7 @@ uninstall:
-rm $(LOCALE_PREFIX)fi/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)fr/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)he/LC_MESSAGES/tuxpaint.mo
+ -rm $(LOCALE_PREFIX)hr/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)hu/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)id/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)is/LC_MESSAGES/tuxpaint.mo
@@ -402,6 +403,11 @@ install-gettext:
@cp trans/zh_cn.mo $(LOCALE_PREFIX)zh_CN/LC_MESSAGES/tuxpaint.mo
@chmod 644 $(LOCALE_PREFIX)zh_CN/LC_MESSAGES/tuxpaint.mo
@#
+ @echo " hr_HR ...Croatian..."
+ @install -d $(LOCALE_PREFIX)hr/LC_MESSAGES
+ @cp trans/hr.mo $(LOCALE_PREFIX)hr/LC_MESSAGES/tuxpaint.mo
+ @chmod 644 $(LOCALE_PREFIX)hr/LC_MESSAGES/tuxpaint.mo
+ @#
@echo " cs_CZ ...Czech..."
@install -d $(LOCALE_PREFIX)cs/LC_MESSAGES
@cp trans/cs.mo $(LOCALE_PREFIX)cs/LC_MESSAGES/tuxpaint.mo
@@ -671,6 +677,7 @@ translations: trans \
trans/fi.mo \
trans/fr.mo \
trans/he.mo \
+ trans/hr.mo \
trans/hu.mo \
trans/id.mo \
trans/is.mo \
@@ -762,6 +769,10 @@ trans/he.mo: src/messages/he.po
@echo " he_IL ...Hebrew..."
@msgfmt src/messages/he.po -o trans/he.mo
+trans/hr.mo: src/messages/hr.po
+ @echo " hr_HR ...Croatian..."
+ @msgfmt src/messages/hr.po -o trans/hr.mo
+
trans/hu.mo: src/messages/hu.po
@echo " hu_HU ...Hungarian..."
@msgfmt src/messages/hu.po -o trans/hu.mo
diff --git a/docs/AUTHORS.txt b/docs/AUTHORS.txt
index e0bb6ef3a..f972162d0 100644
--- a/docs/AUTHORS.txt
+++ b/docs/AUTHORS.txt
@@ -7,7 +7,7 @@ bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
-June 17, 2002 - May 9, 2004
+June 17, 2002 - May 16, 2004
* Design and Coding:
@@ -82,7 +82,7 @@ June 17, 2002 - May 9, 2004
* Basque
Juan Irigoien
- * Belarusian (coming soon)
+ * Belarusian
Eugene Zelenko
* Breton
@@ -96,6 +96,9 @@ June 17, 2002 - May 9, 2004
* Chinese
Wang Jian
+
+ * Croatian
+ Nedjeljko Jedvaj
* Czech
Peter Sterba
diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt
index d8fc62869..1ba39dc74 100644
--- a/docs/CHANGES.txt
+++ b/docs/CHANGES.txt
@@ -7,7 +7,7 @@ bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
-2004.May.13 (0.9.14) [cvs]
+2004.May.16 (0.9.14) [cvs]
* Fixed "--noprint=yes" not working under Windows and BeOS.
Thanks to Adam Moore for pointing out this bug!
Bill Kendrick & Mark K. Kim
@@ -18,9 +18,12 @@ http://www.newbreedsoftware.com/tuxpaint/
* Fixed crash bug when translated text ends in a space.
Mark K. Kim & John Popplewell
- * Support for Belarusian. [Not translated yet]
+ * Belarusian translation created.
Eugene Zelenko
+ * Support for Croatian [not translated yet]
+ Nedjeljko Jedvaj [will translate]
+
* Welsh translation created.
Kevin Donnelly
diff --git a/docs/README.txt b/docs/README.txt
index d31625d2d..0e73c70d6 100644
--- a/docs/README.txt
+++ b/docs/README.txt
@@ -9,7 +9,7 @@
bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
- June 14, 2002 - May 9, 2004
+ June 14, 2002 - May 16, 2004
----------------------------------------------------------------------
@@ -382,6 +382,8 @@ Options
|--------------------+------------------+---------|
|chinese | | |
|--------------------+------------------+---------|
+ |croatian |hrvatski | |
+ |--------------------+------------------+---------|
|czech |cesky | |
|--------------------+------------------+---------|
|danish |dansk | |
@@ -612,6 +614,8 @@ Options
|---------------+-------------------+--------------------|
|he_IL (*) | |Hebrew |
|---------------+-------------------+--------------------|
+ |hr_HR |Hrvatski |Croatian |
+ |---------------+-------------------+--------------------|
|hu_HU |Magyar |Hungarian |
|---------------+-------------------+--------------------|
|id_ID |Bahasa Indonesia |Indonesian |
diff --git a/docs/html/README.html b/docs/html/README.html
index 9380043c1..0378fb538 100644
--- a/docs/html/README.html
+++ b/docs/html/README.html
@@ -23,7 +23,7 @@ New Breed Software
bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
-June 14, 2002 - May 9, 2004
+June 14, 2002 - May 16, 2004
@@ -513,6 +513,11 @@ New Breed Software
|
|
+
+ croatian |
+ hrvatski |
+ |
+
czech |
cesky |
@@ -936,6 +941,11 @@ New Breed Software
|
Hebrew |
+
+ hr_HR |
+ Hrvatski |
+ Croatian |
+
hu_HU |
Magyar |
diff --git a/src/manpage/tuxpaint.1 b/src/manpage/tuxpaint.1
index 297042785..1d3bea654 100644
--- a/src/manpage/tuxpaint.1
+++ b/src/manpage/tuxpaint.1
@@ -1,5 +1,5 @@
-.\" tuxpaint.1 - 2004.05.09
-.TH TUXPAINT 1 "09 May 2004" "0.9.14" "Tux Paint"
+.\" tuxpaint.1 - 2004.05.16
+.TH TUXPAINT 1 "16 May 2004" "0.9.14" "Tux Paint"
.SH NAME
tuxpaint -- A drawing program for young children.
@@ -270,10 +270,13 @@ british | british-english
catalan | catala
.TP 2
-
-czech | cesky
+chinese
.TP 2
-
-chinese
+croatian | hrvatski
+.TP 2
+-
+czech | cesky
.TP 2
-
danish | dansk
@@ -461,6 +464,7 @@ Karl Ove Hufthammer,
Roland Illig,
Juan Irigoien,
Dmitriy Ivanov,
+Nedjeljko Jedvaj,
Aleksandar Jelenak,
Rasmus Erik Voel Jensen,
Wang Jian,
@@ -497,6 +501,7 @@ Eugene Zelenko.
.SH "SEE ALSO"
.BR tuxpaint-import (1),
+.BR tuxpaint-config (1),
.BR xpaint (1),
.BR gpaint (1),
.BR gimp (1)
diff --git a/src/messages/hr.po b/src/messages/hr.po
new file mode 100644
index 000000000..82edef884
--- /dev/null
+++ b/src/messages/hr.po
@@ -0,0 +1,479 @@
+# Croatian translation of Tux Paint
+# Copyright (C) 2004 Tux Paint Team.
+# Nedjeljko Jedvaj , 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: TuxPaint\n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2004-05-16 12:06-0800\n"
+"Last-Translator: Nedjeljko Jedvaj \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\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 "QUIT? QUIT? QUIT?"
+
+#: tuxpaint.c:796 tuxpaint.c:800 tuxpaint.c:804 tuxpaint.c:818 tuxpaint.c:828
+#: tuxpaint.c:8360 tuxpaint.c:9065
+msgid "Yes"
+msgstr ""
+
+#: tuxpaint.c:797 tuxpaint.c:801 tuxpaint.c:805 tuxpaint.c:819 tuxpaint.c:829
+#: tuxpaint.c:8363
+msgid "No"
+msgstr ""
+
+#: tuxpaint.c:799
+msgid "If you quit, you'll lose your picture! Save it?"
+msgstr ""
+
+#: tuxpaint.c:803
+msgid "Save your picture first?"
+msgstr ""
+
+#: tuxpaint.c:807
+msgid "Can't open that picture!"
+msgstr ""
+
+#: tuxpaint.c:808 tuxpaint.c:815 tuxpaint.c:822 tuxpaint.c:825
+msgid "OK"
+msgstr ""
+
+#: tuxpaint.c:810
+msgid "Starting a new picture will erase the current one!"
+msgstr ""
+
+#: tuxpaint.c:811
+msgid "That's OK!"
+msgstr ""
+
+#: tuxpaint.c:812
+msgid "Never mind!"
+msgstr ""
+
+#: tuxpaint.c:814
+msgid "There are no saved files!"
+msgstr ""
+
+#: tuxpaint.c:817
+msgid "Print your picture now?"
+msgstr ""
+
+#: tuxpaint.c:821
+msgid "Your picture has been printed!"
+msgstr ""
+
+#: tuxpaint.c:824
+msgid "You can't print yet!"
+msgstr ""
+
+#: tuxpaint.c:827
+msgid "Erase this picture?"
+msgstr ""
+
+#: tuxpaint.c:5416 tools.h:52
+msgid "Open"
+msgstr ""
+
+#: tuxpaint.c:5421
+msgid "Erase"
+msgstr ""
+
+#: tuxpaint.c:5426
+msgid "Back"
+msgstr ""
+
+#: tuxpaint.c:9064
+msgid "Save over the older version of this picture?"
+msgstr ""
+
+#: tuxpaint.c:9066
+msgid "No, save a new file"
+msgstr ""
+
+#: tuxpaint.c:9885
+msgid "Choose the picture you want, then click 'Open'."
+msgstr ""
+
+#: colors.h:62
+msgid "Black!"
+msgstr ""
+
+#: colors.h:63
+msgid "White!"
+msgstr ""
+
+#: colors.h:64
+msgid "Red!"
+msgstr ""
+
+#: colors.h:65
+msgid "Pink!"
+msgstr ""
+
+#: colors.h:66
+msgid "Orange!"
+msgstr ""
+
+#: colors.h:67
+msgid "Yellow!"
+msgstr ""
+
+#: colors.h:68
+msgid "Lime!"
+msgstr ""
+
+#: colors.h:69
+msgid "Green!"
+msgstr ""
+
+#: colors.h:70
+msgid "Cyan!"
+msgstr ""
+
+#: colors.h:71
+msgid "Blue!"
+msgstr ""
+
+#: colors.h:72
+msgid "Purple!"
+msgstr ""
+
+#: colors.h:73
+msgid "Fuchsia!"
+msgstr ""
+
+#: colors.h:74
+msgid "Brown!"
+msgstr ""
+
+#: colors.h:75
+msgid "Gray!"
+msgstr ""
+
+#: colors.h:76
+msgid "Silver!"
+msgstr ""
+
+#: great.h:20
+msgid "Great!"
+msgstr ""
+
+#: great.h:21
+msgid "Cool!"
+msgstr ""
+
+#: great.h:22
+msgid "Keep it up!"
+msgstr ""
+
+#: great.h:23
+msgid "Good job!"
+msgstr ""
+
+#: magic.h:48
+msgid "Rainbow"
+msgstr ""
+
+#: magic.h:49
+msgid "Sparkles"
+msgstr ""
+
+#: magic.h:51
+msgid "Mirror"
+msgstr ""
+
+#: magic.h:52
+msgid "Flip"
+msgstr ""
+
+#: magic.h:54
+msgid "Blur"
+msgstr ""
+
+#: magic.h:55
+msgid "Blocks"
+msgstr ""
+
+#: magic.h:57
+msgid "Negative"
+msgstr ""
+
+#: magic.h:58
+msgid "Fade"
+msgstr ""
+
+#: magic.h:60
+msgid "Chalk"
+msgstr ""
+
+#: magic.h:61
+msgid "Drip"
+msgstr ""
+
+#: magic.h:63
+msgid "Thick"
+msgstr ""
+
+#: magic.h:64
+msgid "Thin"
+msgstr ""
+
+#: magic.h:66
+msgid "Fill"
+msgstr ""
+
+#: magic.h:73
+msgid "You can draw in rainbow colors!"
+msgstr ""
+
+#: magic.h:74
+msgid "Click and move to draw sparkles."
+msgstr ""
+
+#: magic.h:76
+msgid "Click to make a mirror image."
+msgstr ""
+
+#: magic.h:77
+msgid "Click to flip the picture upside-down."
+msgstr ""
+
+#: magic.h:79
+msgid "Click and move the mouse around to blur the picture."
+msgstr ""
+
+#: magic.h:80
+msgid "Click and move the mouse around to make the picture blocky."
+msgstr ""
+
+#: magic.h:82
+msgid "Click and move the mouse around to draw a negative."
+msgstr ""
+
+#: magic.h:83
+msgid "Click and move to fade the colors."
+msgstr ""
+
+#: magic.h:85
+msgid "Click and move the mouse around to turn the picture into a chalk drawing."
+msgstr ""
+
+#: magic.h:86
+msgid "Click and move the mouse around to make the picture drip."
+msgstr ""
+
+#: magic.h:88
+msgid "Click and move the mouse to thicken the picture."
+msgstr ""
+
+#: magic.h:89
+msgid "Click and move the mouse to thin the picture."
+msgstr ""
+
+#: magic.h:91
+msgid "Click in the picture to fill that area with color."
+msgstr ""
+
+#: shapes.h:141 shapes.h:142
+msgid "Square"
+msgstr ""
+
+#: shapes.h:143 shapes.h:144
+msgid "Rectangle"
+msgstr ""
+
+#: shapes.h:145 shapes.h:146
+msgid "Circle"
+msgstr ""
+
+#: shapes.h:147 shapes.h:148 shapes.h:167 shapes.h:168
+msgid "Oval"
+msgstr ""
+
+#: shapes.h:149 shapes.h:150
+msgid "Triangle"
+msgstr ""
+
+#: shapes.h:151 shapes.h:152
+msgid "Pentagon"
+msgstr ""
+
+#: shapes.h:153 shapes.h:154
+msgid "Diamond"
+msgstr ""
+
+#: shapes.h:161 shapes.h:162
+msgid "A square has four sides, each the same length."
+msgstr ""
+
+#: shapes.h:163 shapes.h:164
+msgid "A rectangle has four sides."
+msgstr ""
+
+#: shapes.h:165 shapes.h:166
+msgid "A circle is exactly round."
+msgstr ""
+
+#: shapes.h:169 shapes.h:170
+# fuzzy
+msgid "A triangle has three sides."
+msgstr ""
+
+#: shapes.h:171 shapes.h:172
+msgid "A pentagon has five sides."
+msgstr ""
+
+#: shapes.h:173 shapes.h:174
+msgid "A diamond is a square, turned around slightly."
+msgstr ""
+
+#: titles.h:37
+msgid "Tools"
+msgstr ""
+
+#: titles.h:38
+msgid "Colors"
+msgstr ""
+
+#: titles.h:39
+msgid "Brushes"
+msgstr ""
+
+#: titles.h:40
+msgid "Stamps"
+msgstr ""
+
+#: titles.h:41 tools.h:45
+msgid "Shapes"
+msgstr ""
+
+#: titles.h:42
+msgid "Letters"
+msgstr ""
+
+#: titles.h:43 tools.h:47
+msgid "Magic"
+msgstr ""
+
+#: tools.h:42
+msgid "Paint"
+msgstr ""
+
+#: tools.h:43
+msgid "Stamp"
+msgstr ""
+
+#: tools.h:44
+msgid "Lines"
+msgstr ""
+
+#: tools.h:46
+msgid "Text"
+msgstr ""
+
+#: tools.h:48
+msgid "Undo"
+msgstr ""
+
+#: tools.h:49
+msgid "Redo"
+msgstr ""
+
+#: tools.h:50
+msgid "Eraser"
+msgstr ""
+
+#: tools.h:51
+msgid "New"
+msgstr ""
+
+#: tools.h:53
+msgid "Save"
+msgstr ""
+
+#: tools.h:54
+msgid "Print"
+msgstr ""
+
+#: tools.h:55
+msgid "Quit"
+msgstr ""
+
+#: tools.h:62
+msgid "Pick a color and a brush shape to draw with."
+msgstr ""
+
+#: tools.h:63
+msgid "Pick a picture to stamp around your drawing."
+msgstr ""
+
+#: tools.h:64
+msgid "Click to start drawing a line. Let go to complete it."
+msgstr ""
+
+#: tools.h:65
+msgid ""
+"Pick a shape. Click to pick the center, drag, then let go when it is the "
+"size you want. Move around to rotate it, and click to draw it."
+msgstr ""
+
+#: tools.h:66
+msgid "Choose a style of text. Click on your drawing and you can start typing."
+msgstr ""
+
+#: tools.h:67
+msgid "Pick a magical effect to use on your drawing!"
+msgstr ""
+
+#: tools.h:68
+msgid "Undo!"
+msgstr ""
+
+#: tools.h:69
+msgid "Redo!"
+msgstr ""
+
+#: tools.h:70
+msgid "Eraser!"
+msgstr ""
+
+#: tools.h:71
+msgid "You now have a blank sheet to draw on!"
+msgstr ""
+
+#: tools.h:72
+msgid "Open..."
+msgstr ""
+
+#: tools.h:73
+msgid "Your image has been saved!"
+msgstr ""
+
+#: tools.h:74
+msgid "Printing..."
+msgstr ""
+
+#: tools.h:75
+msgid "Bye bye!"
+msgstr ""
+
+#: tools.h:78
+msgid "Let go of the button to complete the line."
+msgstr ""
+
+#: tools.h:79
+msgid "Hold the button to stretch the shape."
+msgstr ""
+
+#: tools.h:80
+msgid "Move the mouse to rotate the shape. Click to draw it."
+msgstr ""
+
+#: tools.h:81
+msgid "Ok then... Let's keep drawing this one!"
+msgstr ""
diff --git a/src/tuxpaint.c b/src/tuxpaint.c
index ed095b0ba..fcd203005 100644
--- a/src/tuxpaint.c
+++ b/src/tuxpaint.c
@@ -21,12 +21,12 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- June 14, 2002 - May 9, 2004
+ June 14, 2002 - May 16, 2004
*/
#define VER_VERSION "0.9.14"
-#define VER_DATE "2004.05.09"
+#define VER_DATE "2004.05.16"
/* #define DEBUG */
@@ -3804,6 +3804,7 @@ void show_lang_usage(FILE * f, char * prg)
/* en_GB */ " british british-english\n"
/* ca */ " catalan catala\n"
/* zh_CN */ " chinese\n"
+/* hr */ " croatian hrvatski\n"
/* cs */ " czech cesky\n"
/* da */ " danish dansk\n"
/* nl */ " dutch nederlands\n"
@@ -3869,6 +3870,7 @@ void show_locale_usage(FILE * f, char * prg)
" de_DE (German Deutsch)\n"
" el_GR (Greek)\n"
" he_IL (Hebrew)\n"
+ " hr_HR (Croatian Hrvatski)\n"
" hu_HU (Hungarian Magyar)\n"
" is_IS (Icelandic Islenska)\n"
" id_ID (Indonesian Bahasa Indonesia)\n"
@@ -4400,6 +4402,12 @@ void setup(int argc, char * argv[])
putenv("LANG=C");
putenv("LC_ALL=C");
}
+ else if (strcmp(langstr, "croatian") == 0 ||
+ strcmp(langstr, "hrvatski") == 0)
+ {
+ putenv("LANG=hr_HR");
+ putenv("LC_ALL=hr_HR");
+ }
else if (strcmp(langstr, "catalan") == 0 ||
strcmp(langstr, "catala") == 0)
{