Bug 95268 - typo / syntax error in example code in kturtles dokumentation
Summary: typo / syntax error in example code in kturtles dokumentation
Status: RESOLVED FIXED
Alias: None
Product: docs.kde.org
Classification: Websites
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Documentation Editorial Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-16 15:05 UTC by Burkhard Lück
Modified: 2005-02-13 20:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Burkhard Lück 2004-12-16 15:06:00 UTC
Version:           0.6 (using KDE 3.3.89 (CVS >= 20041129), compiled sources)
Compiler:          gcc version 3.3.4 (Debian 1:3.3.4-13)
OS:                Linux (i686) release 2.4.25win4lin

in kturtle_programming-reference.pot one example code in the "learn" section has a wrong syntax, executing the first "learn circle (x)" - example gives an error, while the second "learn circle X" - example works. The parameter for this function has to be written without surrending brackets.
Plese change some parameters in the example-code, so that the whole circles fit in the initial canvas size without wrapping.
patch:
--- src/kde/kde-i18n/templates/docs/kdeedu/kturtle_programming-reference.pot    2004-12-01 17:53:59.000000000 +0100
+++ kturtle_programming-reference.pot   2004-12-16 14:20:00.000000000 +0100
@@ -1919 +1919 @@
-       "learn circle (x) [\n"
+       "learn circle X [\n"
@@ -1944,2 +1944,2 @@
-       "go 30,30 \n"
-       "circle 20\n"
+       "go 130,100 \n"
+       "circle 10\n"
@@ -1947,2 +1947,2 @@
-       "go 40,40 \n"
-       "circle 50"
+       "go 250,140 \n"
+       "circle 15"
Comment 1 Cies Breijs 2005-02-13 20:18:52 UTC
*** Bug has been marked as fixed ***.