From kde-i18n-doc Sun Jun 30 12:39:24 2002 From: Stefan =?iso-8859-1?q?Asserh=E4ll?= Date: Sun, 30 Jun 2002 12:39:24 +0000 To: kde-i18n-doc Subject: I18n for Kolf X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=102544074702667 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-00=_8vvH9alUHifkitX" --Boundary-00=_8vvH9alUHifkitX Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Hello, Here is a patch to fix some i18n issues for Kolf: 1. I18n strings in *.h files were not included for translation. Fixed in Makefile.am. 2. I18n strings from libkdegames were not translated. Fixed by removing comment in main.cpp. 3. I18n strings in course files (names and signs) were not available for translation. Fixed by removing illegal trailing "\s" in tutorial.kolf and courses/Medium.kolf. Ok to commit to CVS? / Stefan Asserhäll --Boundary-00=_8vvH9alUHifkitX Content-Type: text/x-diff; charset="us-ascii"; name="kolf.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kolf.diff" Index: Makefile.am =================================================================== RCS file: /home/kde/kdegames/kolf/Makefile.am,v retrieving revision 1.15 diff -u -3 -p -r1.15 Makefile.am --- Makefile.am 19 Jun 2002 23:41:13 -0000 1.15 +++ Makefile.am 30 Jun 2002 11:57:25 -0000 @@ -50,8 +50,8 @@ magic_DATA = kolf.magic METASOURCES = AUTO -messages: rc.cpp - $(XGETTEXT) *.cpp -o $(podir)/kolf.pot +messages: rc.cpp canvasitem.h game.h + $(XGETTEXT) *.cpp canvasitem.h game.h -o $(podir)/kolf.pot install-data-local: rm -rf $(DESTDIR)$(kde_appsdir)/Games/kolf.desktop Index: main.cpp =================================================================== RCS file: /home/kde/kdegames/kolf/main.cpp,v retrieving revision 1.9 diff -u -3 -p -r1.9 main.cpp --- main.cpp 20 Jun 2002 21:23:09 -0000 1.9 +++ main.cpp 30 Jun 2002 11:57:25 -0000 @@ -65,7 +65,7 @@ int main(int argc, char **argv) QApplication::setColorSpec(QApplication::ManyColor); KApplication a; - //KGlobal::locale()->insertCatalogue("libkdegames"); + KGlobal::locale()->insertCatalogue("libkdegames"); args->clear(); Index: tutorial.kolf =================================================================== RCS file: /home/kde/kdegames/kolf/tutorial.kolf,v retrieving revision 1.14 diff -u -3 -p -r1.14 tutorial.kolf --- tutorial.kolf 22 Jun 2002 18:33:55 -0000 1.14 +++ tutorial.kolf 30 Jun 2002 11:57:25 -0000 @@ -16,7 +16,7 @@ maxstrokes=10 par=2 [1-sign@2,2|3] -Comment=

Welcome

to the tutorial course for Kolf!\s +Comment=

Welcome

to the tutorial course for Kolf! botWallVisible=true height=74 leftWallVisible=true @@ -371,7 +371,7 @@ maxstrokes=10 par=3 [4-sign@6,3|3] -Comment=The steepness of a slope is shown when you press Up Arrow or the right mouse button. Steepness goes from 8 (steepest) to 1 (shallowest).\s +Comment=The steepness of a slope is shown when you press Up Arrow or the right mouse button. Steepness goes from 8 (steepest) to 1 (shallowest). botWallVisible=true height=158 leftWallVisible=true @@ -480,7 +480,7 @@ topWallVisible=true width=138 [6-sign@3,5|4] -Comment=

Puddles (Water)

Hitting into a puddle (blue) adds a penalty stroke to your score, and your ball is placed outside the puddle.\s +Comment=

Puddles (Water)

Hitting into a puddle (blue) adds a penalty stroke to your score, and your ball is placed outside the puddle. botWallVisible=true height=145 leftWallVisible=true @@ -505,7 +505,7 @@ maxstrokes=10 par=2 [7-sign@130,2|4] -Comment=

Windmills

Windmills (brown base with moving arm) have brown walls (or half walls). The windmill arm's speed may vary by hole.\s +Comment=

Windmills

Windmills (brown base with moving arm) have brown walls (or half walls). The windmill arm's speed may vary by hole. botWallVisible=true height=206 leftWallVisible=true Index: courses/Medium.kolf =================================================================== RCS file: /home/kde/kdegames/kolf/courses/Medium.kolf,v retrieving revision 1.12 diff -u -3 -p -r1.12 Medium.kolf --- courses/Medium.kolf 25 Jun 2002 01:11:52 -0000 1.12 +++ courses/Medium.kolf 30 Jun 2002 11:57:26 -0000 @@ -1,7 +1,7 @@ [0-course@-50,-50] -Name=Medium Course\s +Name=Medium Course author=Jason Katz-Brown -name=Medium Course\s +name=Medium Course [1-ball@342,322] dummykey=true --Boundary-00=_8vvH9alUHifkitX--