From b37ccf2b0ea270da9d1824bc21eb77faec220ce3 Mon Sep 17 00:00:00 2001 From: William Kendrick Date: Fri, 11 Jun 2004 09:09:17 +0000 Subject: [PATCH] Initial Hindi import. --- Makefile | 13 +- docs/AUTHORS.txt | 5 +- docs/CHANGES.txt | 5 +- src/manpage/tuxpaint.1 | 5 +- src/messages/hi.po | 507 +++++++++++++++++++++++++++++++++++++++++ src/tuxpaint.c | 14 +- 6 files changed, 542 insertions(+), 7 deletions(-) create mode 100644 src/messages/hi.po diff --git a/Makefile b/Makefile index 701739959..149575ad0 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # bill@newbreedsoftware.com # http://www.newbreedsoftware.com/tuxpaint/ -# June 14, 2002 - June 5, 2004 +# June 14, 2002 - June 11, 2004 # Where to install things: @@ -236,6 +236,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)hi/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 @@ -497,6 +498,11 @@ install-gettext: @cp trans/he.mo $(LOCALE_PREFIX)he/LC_MESSAGES/tuxpaint.mo @chmod 644 $(LOCALE_PREFIX)he/LC_MESSAGES/tuxpaint.mo @# + @echo " hi_IN ...Hindi..." + @install -d $(LOCALE_PREFIX)hi/LC_MESSAGES + @cp trans/hi.mo $(LOCALE_PREFIX)hi/LC_MESSAGES/tuxpaint.mo + @chmod 644 $(LOCALE_PREFIX)hi/LC_MESSAGES/tuxpaint.mo + @# @echo " hu_HU ...Hungarian..." @install -d $(LOCALE_PREFIX)hu/LC_MESSAGES @cp trans/hu.mo $(LOCALE_PREFIX)hu/LC_MESSAGES/tuxpaint.mo @@ -726,6 +732,7 @@ translations: trans \ trans/fi.mo \ trans/fr.mo \ trans/he.mo \ + trans/hi.mo \ trans/hr.mo \ trans/hu.mo \ trans/id.mo \ @@ -819,6 +826,10 @@ trans/he.mo: src/messages/he.po @echo " he_IL ...Hebrew..." @msgfmt src/messages/he.po -o trans/he.mo +trans/hi.mo: src/messages/hi.po + @echo " hi_IN ...Hindi..." + @msgfmt src/messages/hi.po -o trans/hi.mo + trans/hr.mo: src/messages/hr.po @echo " hr_HR ...Croatian..." @msgfmt src/messages/hr.po -o trans/hr.mo diff --git a/docs/AUTHORS.txt b/docs/AUTHORS.txt index 1519f4aeb..bf0fb3fec 100644 --- a/docs/AUTHORS.txt +++ b/docs/AUTHORS.txt @@ -7,7 +7,7 @@ bill@newbreedsoftware.com http://www.newbreedsoftware.com/tuxpaint/ -June 17, 2002 - June 5, 2004 +June 17, 2002 - June 10, 2004 * Design and Coding: @@ -129,6 +129,9 @@ June 17, 2002 - June 5, 2004 * Greek The Greek Linux i18n Team [NOTE: mailing list] + * Hindi + Ankit Malik + * Hungarian Török Gábor [e-mail bad!?] diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index 7d6ebf9f5..4ed7ef159 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -7,7 +7,7 @@ bill@newbreedsoftware.com http://www.newbreedsoftware.com/tuxpaint/ -2004.May.30 (0.9.14) [cvs] +2004.Jun.11 (0.9.14) [cvs] * Cleaned up desktop entry file. Karl Ove Hufthammer @@ -47,6 +47,9 @@ http://www.newbreedsoftware.com/tuxpaint/ Simplified also now looks for "zh_cn.ttf" font, not "zh.ttf" (was too ambiguous). + * Hindi translation created. + Ankit Malik + * Welsh translation created. Kevin Donnelly diff --git a/src/manpage/tuxpaint.1 b/src/manpage/tuxpaint.1 index 2f8ff6d93..ecb86761f 100644 --- a/src/manpage/tuxpaint.1 +++ b/src/manpage/tuxpaint.1 @@ -1,5 +1,5 @@ -.\" tuxpaint.1 - 2004.06.05 -.TH TUXPAINT 1 "05 Jun 2004" "0.9.14" "Tux Paint" +.\" tuxpaint.1 - 2004.06.10 +.TH TUXPAINT 1 "10 Jun 2004" "0.9.14" "Tux Paint" .SH NAME tuxpaint -- A drawing program for young children. @@ -491,6 +491,7 @@ Ines Kovacevic, Mantas Kriauciunas, Arkadiusz Lipiec, Dag H. Loras, +Ankit Malik, Martin, Marco Milanesi, Mugunth, diff --git a/src/messages/hi.po b/src/messages/hi.po new file mode 100644 index 000000000..52bbe635f --- /dev/null +++ b/src/messages/hi.po @@ -0,0 +1,507 @@ +# TuxPaint translation file +# Copyright (C) 2004 Bill Kendrick +# This file is distributed under the same license as the TuxPaint package. +# Ankit Malik , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: 0.9.14\n" +"Report-Msgid-Bugs-To: tuxpaint-i18n@tux4kids.net\n" +"POT-Creation-Date: 2004-03-22 11:23-0800\n" +"PO-Revision-Date: 2004-05-26 08:44+0100\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: tuxpaint.c:809 +msgid "Do you really want to quit?" +msgstr "@yaa Aap sahI mao T@sapoMT kao baMd krnaa caahto hO ?" + +#: tuxpaint.c:810 +#: tuxpaint.c:814 +#: tuxpaint.c:818 +#: tuxpaint.c:832 +#: tuxpaint.c:842 +#: tuxpaint.c:8442 +#: tuxpaint.c:9149 +msgid "Yes" +msgstr "ha^M" + +#: tuxpaint.c:811 +#: tuxpaint.c:815 +#: tuxpaint.c:819 +#: tuxpaint.c:833 +#: tuxpaint.c:843 +#: tuxpaint.c:8445 +msgid "No" +msgstr "nahIM" + +#: tuxpaint.c:813 +msgid "If you quit, you’ll lose your picture! Save it?" +msgstr "Agar Aap jaa rho tao Aapka kama naYT hao jaaegaa, @yaa Aap caahto hO ik hma Aapka kama saova kro ?" + +#: tuxpaint.c:817 +msgid "Save your picture first?" +msgstr "kyaa phlao kama kao saova kro ?" + +#: tuxpaint.c:821 +msgid "Can’t open that picture!" +msgstr "Kaolanao maoM Asamaqa- !" + +#: tuxpaint.c:822 +#: tuxpaint.c:829 +#: tuxpaint.c:836 +#: tuxpaint.c:839 +msgid "OK" +msgstr "ha^MM" + +#: tuxpaint.c:824 +msgid "Starting a new picture will erase the current one!" +msgstr "nayaa kama SauRrU krnao sao puranaa kama naYT hao jaaegaa" + +#: tuxpaint.c:825 +msgid "That’s OK!" +msgstr "zIk hO" + +#: tuxpaint.c:826 +msgid "Never mind!" +msgstr "jaanao dao" + +#: tuxpaint.c:828 +msgid "There are no saved files!" +msgstr "yaha^M tao kuC BaI nahIM hO" + +#: tuxpaint.c:831 +msgid "Print your picture now?" +msgstr "iPrnT krU @yaa" + +#: tuxpaint.c:835 +msgid "Your picture has been printed!" +msgstr "iPrnT hao gayaI" + +#: tuxpaint.c:838 +msgid "You can’t print yet!" +msgstr "ABaI iPrnT nahIM kr sakto" + +#: tuxpaint.c:841 +msgid "Erase this picture?" +msgstr "naYT k$ @yaa ?" + +#: tuxpaint.c:5495 +#: tools.h:52 +msgid "Open" +msgstr "Kaolaao" + +#: tuxpaint.c:5500 +msgid "Erase" +msgstr "naYT kr" + +#: tuxpaint.c:5505 +msgid "Back" +msgstr "pICo" + +#: tuxpaint.c:9148 +msgid "Save over the older version of this picture?" +msgstr "puranao kama pr ilaKao" + +#: tuxpaint.c:9150 +msgid "No, save a new file" +msgstr "nayaa kama banaaAao" + +#: tuxpaint.c:10007 +msgid "Choose the picture you want, then click “Open”." +msgstr "kama kao cauna kr 'Kaolaao'." + +#: colors.h:62 +msgid "Black!" +msgstr "kalaa" + +#: colors.h:63 +msgid "White!" +msgstr "saFod" + +#: colors.h:64 +msgid "Red!" +msgstr "laala" + +#: colors.h:65 +msgid "Pink!" +msgstr "gaulaabaI" + +#: colors.h:66 +msgid "Orange!" +msgstr "santra" + +#: colors.h:67 +msgid "Yellow!" +msgstr "PaIlaa" + +#: colors.h:68 +msgid "Lime!" +msgstr "naIMbaU" + +#: colors.h:69 +msgid "Green!" +msgstr "hra" + +#: colors.h:70 +msgid "Cyan!" +msgstr "naIlaa 1" + +#: colors.h:71 +msgid "Blue!" +msgstr "naIlaa 2" + +#: colors.h:72 +msgid "Purple!" +msgstr "prpla" + +#: colors.h:73 +msgid "Fuchsia!" +msgstr "FucsaIa" + +#: colors.h:74 +msgid "Brown!" +msgstr "BaUra" + +#: colors.h:75 +msgid "Gray!" +msgstr "gro" + +#: colors.h:76 +msgid "Silver!" +msgstr "caaMdI" + +#: great.h:20 +msgid "Great!" +msgstr "SaabaaSa" + +#: great.h:21 +msgid "Cool!" +msgstr "AcCa" + +#: great.h:22 +msgid "Keep it up!" +msgstr "vaah" + +#: great.h:23 +msgid "Good job!" +msgstr "svacC kama hO" + +#: magic.h:48 +msgid "Rainbow" +msgstr "satrMgaI" + +#: magic.h:49 +msgid "Sparkles" +msgstr "iglaTrsa" + +#: magic.h:51 +msgid "Mirror" +msgstr "SaISaa" + +#: magic.h:52 +msgid "Flip" +msgstr "}lTa" + +#: magic.h:54 +msgid "Blur" +msgstr "QauMQlaa" + +#: magic.h:55 +msgid "Blocks" +msgstr "blaa@sa" + +#: magic.h:57 +msgid "Negative" +msgstr "]lTo rMga" + +#: magic.h:58 +msgid "Fade" +msgstr "FoD" + +#: magic.h:60 +msgid "Chalk" +msgstr "caak" + +#: magic.h:61 +msgid "Drip" +msgstr "igarta huAa" + +#: magic.h:63 +msgid "Thick" +msgstr "maaoTa" + +#: magic.h:64 +msgid "Thin" +msgstr "dubalaa" + +#: magic.h:66 +msgid "Fill" +msgstr "Barao" + +#: magic.h:73 +msgid "You can draw in rainbow colors!" +msgstr "satrMgaI kama krao" + +#: magic.h:74 +msgid "Click and move to draw sparkles." +msgstr "iglaTrsa krao" + +#: magic.h:76 +msgid "Click to make a mirror image." +msgstr "SaISao mao doKao" + +#: magic.h:77 +msgid "Click to flip the picture upside-down." +msgstr "]lTa krao" + +#: 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 "blaaksa krao." + +#: magic.h:82 +msgid "Click and move the mouse around to draw a negative." +msgstr "rMga ]lTo krao" + +#: magic.h:83 +msgid "Click and move to fade the colors." +msgstr "foD krao" + +#: magic.h:85 +msgid "Click and move the mouse around to turn the picture into a chalk drawing." +msgstr "caak krao." + +#: magic.h:86 +msgid "Click and move the mouse around to make the picture drip." +msgstr "iD/p krao" + +#: magic.h:88 +msgid "Click and move the mouse to thicken the picture." +msgstr "maaoTa krao" + +#: magic.h:89 +msgid "Click and move the mouse to thin the picture." +msgstr "ptlaa krao" + +#: magic.h:91 +msgid "Click in the picture to fill that area with color." +msgstr "rMga Barao" + +#: shapes.h:141 +#: shapes.h:142 +msgid "Square" +msgstr "caaokar 1" + +#: shapes.h:143 +#: shapes.h:144 +msgid "Rectangle" +msgstr "caaokar 2" + +#: shapes.h:145 +#: shapes.h:146 +msgid "Circle" +msgstr "gaaola 1" + +#: shapes.h:147 +#: shapes.h:148 +#: shapes.h:167 +#: shapes.h:168 +msgid "Oval" +msgstr "gaaola 2" + +#: shapes.h:149 +#: shapes.h:150 +msgid "Triangle" +msgstr "i~kaaona" + +#: shapes.h:151 +#: shapes.h:152 +msgid "Pentagon" +msgstr "poMNTagana" + +#: shapes.h:153 +#: shapes.h:154 +msgid "Diamond" +msgstr "DaemND" + +#: shapes.h:161 +#: shapes.h:162 +msgid "A square has four sides, each the same length." +msgstr "caaokar 1 kI caar roKae^M barabar haotI hO ." + +#: shapes.h:163 +#: shapes.h:164 +msgid "A rectangle has four sides." +msgstr "caaokar 2 kI caar roKae^M haotI hO ." + +#: shapes.h:165 +#: shapes.h:166 +msgid "A circle is exactly round." +msgstr "yah gaaolaa haota hO" + +#: shapes.h:169 +#: shapes.h:170 +msgid "A triangle has three sides." +msgstr "yah i~kaaoNa hO" + +#: shapes.h:171 +#: shapes.h:172 +msgid "A pentagon has five sides." +msgstr "yah poNTagaNa hO" + +#: shapes.h:173 +#: shapes.h:174 +msgid "A diamond is a square, turned around slightly." +msgstr "yah DaemND hO" + +#: titles.h:37 +msgid "Tools" +msgstr "AaOjaar" + +#: titles.h:38 +msgid "Colors" +msgstr "rMga" + +#: titles.h:39 +msgid "Brushes" +msgstr "barSa" + +#: titles.h:40 +msgid "Stamps" +msgstr "sTa^mp" + +#: titles.h:41 +#: tools.h:45 +msgid "Shapes" +msgstr "Aakar" + +#: titles.h:42 +msgid "Letters" +msgstr "A@Sar" + +#: titles.h:43 +#: tools.h:47 +msgid "Magic" +msgstr "jaadU" + +#: tools.h:42 +msgid "Paint" +msgstr "rMga" + +#: tools.h:43 +msgid "Stamp" +msgstr "sTa^mp" + +#: tools.h:44 +msgid "Lines" +msgstr "roKae^M" + +#: tools.h:46 +msgid "Text" +msgstr "ilaKnaa" + +#: tools.h:48 +msgid "Undo" +msgstr "AnDU" + +#: tools.h:49 +msgid "Redo" +msgstr "rIDU" + +#: tools.h:50 +msgid "Eraser" +msgstr "rbar" + +#: tools.h:51 +msgid "New" +msgstr "nayaa kama" + +#: tools.h:53 +msgid "Save" +msgstr "saova" + +#: tools.h:54 +msgid "Print" +msgstr "ipRMT" + +#: tools.h:55 +msgid "Quit" +msgstr "baMd krao" + +#: tools.h:62 +msgid "Pick a color and a brush shape to draw with." +msgstr "rMga AaOr bruSa ]zaAao." + +#: tools.h:63 +msgid "Pick a picture to stamp around your drawing." +msgstr "sTamp ko ilae klaa ]zaAao" + +#: tools.h:64 +msgid "Click to start drawing a line. Let go to complete it." +msgstr "roKa banaaAao" + +#: 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 "Aakarao ko ilae AaOjaar." + +#: tools.h:66 +msgid "Choose a style of text. Click on your drawing and you can start typing." +msgstr "ilaKnao ko ilae ZMga caunaao." + +#: tools.h:67 +msgid "Pick a magical effect to use on your drawing!" +msgstr "jaadU ka AaOjaar caunaao" + +#: tools.h:68 +msgid "Undo!" +msgstr "AnDU" + +#: tools.h:69 +msgid "Redo!" +msgstr "rIDU" + +#: tools.h:70 +msgid "Eraser!" +msgstr "rbar" + +#: tools.h:71 +msgid "You now have a blank sheet to draw on!" +msgstr "Aapko pasa kama ko ilae KalaI pRYT hO" + +#: tools.h:72 +msgid "Open…" +msgstr "Kalaao" + +#: tools.h:73 +msgid "Your image has been saved!" +msgstr "Aapka kama saova hao gayaa hO" + +#: tools.h:74 +msgid "Printing…" +msgstr "PaRinTMga …" + +#: tools.h:75 +msgid "Bye bye!" +msgstr "AcCa ifr imalaoMgao" + +#: tools.h:78 +msgid "Let go of the button to complete the line." +msgstr "pUrI roKa banaanao ko ilae KIcaaoM" + +#: tools.h:79 +msgid "Hold the button to stretch the shape." +msgstr "Aakar kao baDa krnao ko ilae KIcaaoM" + +#: tools.h:80 +msgid "Move the mouse to rotate the shape. Click to draw it." +msgstr "Aakar kao Gaumaanao ko ilae GaumaaAao" + +#: tools.h:81 +msgid "OK then… Let’s keep drawing this one!" +msgstr "calaao kama kao jaaraI rKto hbk1O" + diff --git a/src/tuxpaint.c b/src/tuxpaint.c index bdaf4df47..b36d886fd 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 - June 1, 2004 + June 14, 2002 - June 11, 2004 */ #define VER_VERSION "0.9.14" -#define VER_DATE "2004.06.01" +#define VER_DATE "2004.06.11" /* #define DEBUG */ @@ -302,6 +302,7 @@ enum { LANG_FI, /* Finnish */ LANG_FR, /* French */ LANG_HE, /* Hebrew */ + LANG_HI, /* Hindi */ LANG_HR, /* Croatian */ LANG_HU, /* Hungarian */ LANG_ID, /* Indonesian */ @@ -349,6 +350,7 @@ const char * lang_prefixes[NUM_LANGS] = { "fi", "fr", "he", + "hi", "hr", "hu", "id", @@ -388,6 +390,7 @@ int lang_use_unicode[] = { int lang_use_utf8[] = { LANG_EL, LANG_HE, + LANG_HI, LANG_JA, LANG_KO, LANG_TA, @@ -3828,6 +3831,7 @@ void show_lang_usage(FILE * f, char * prg) /* de */ " german deutsch\n" /* el */ " greek\n" /* he */ " hebrew\n" +/* hi */ " hindi\n" /* hu */ " hungarian magyar\n" /* is */ " icelandic islenska\n" /* id */ " indonesian bahasa-indonesia\n" @@ -3886,6 +3890,7 @@ void show_locale_usage(FILE * f, char * prg) " de_DE (German Deutsch)\n" " el_GR (Greek)\n" " he_IL (Hebrew)\n" + " hi_IN (Hindi)\n" " hr_HR (Croatian Hrvatski)\n" " hu_HU (Hungarian Magyar)\n" " is_IS (Icelandic Islenska)\n" @@ -4497,6 +4502,11 @@ void setup(int argc, char * argv[]) putenv("LANG=he_IL"); putenv("LC_ALL=he_IL"); } + else if (strcmp(langstr, "hindi") == 0) + { + putenv("LANG=hi_IN"); + putenv("LC_ALL=hi_IN"); + } else if (strcmp(langstr, "hungarian") == 0 || strcmp(langstr, "magyar") == 0) {