[Libreoffice-commits] .: Branch 'libreoffice-4-0' - source/text

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Dec 9 09:49:12 PST 2012


 source/text/swriter/librelogo/LibreLogo.xhp |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit d9d28ebb575e96e742d6590a28dd59c62b89dc4e
Author: Stanislav Horacek <stanislav.horacek at gmail.com>
Date:   Sun Dec 9 17:47:42 2012 +0100

    fix typos in LibreLogo help

diff --git a/source/text/swriter/librelogo/LibreLogo.xhp b/source/text/swriter/librelogo/LibreLogo.xhp
index cac667b..f8ab88e 100644
--- a/source/text/swriter/librelogo/LibreLogo.xhp
+++ b/source/text/swriter/librelogo/LibreLogo.xhp
@@ -171,7 +171,7 @@
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1340">POINT</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_1350"> POINT ; draw a point with size and color of the pen<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1360">LABEL</paragraph>
-<paragraph role="logocode" xml-lang="en-US" id="par_1370"> LABEL “text” ; print text in the turte position<br/> LABEL 'text' ; see above<br/> LABEL "text ; see above (only for single words)<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1370"> LABEL “text” ; print text in the turtle position<br/> LABEL 'text' ; see above<br/> LABEL "text ; see above (only for single words)<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1380">TEXT</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_1390"> CIRCLE 10 TEXT “text” ; set text of the actual drawing object<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_1400">Font settings</paragraph>
@@ -281,7 +281,7 @@
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2360">SIN</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_2370"> PRINT SIN 90 * PI/180 ; print 1.0 (sinus of 90° in radians)<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2380">COS</paragraph>
-<paragraph role="logocode" xml-lang="en-US" id="par_2390"> PRINT COS 0 * PI/180 ; print 1.0 (sinus of 0° in radians)<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2390"> PRINT COS 0 * PI/180 ; print 1.0 (cosinus of 0° in radians)<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2400">ROUND</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_2410"> PRINT ROUND 3.8 ; print 4 (rounding 3.8)<br/> PRINT ROUND RANDOM 100 ; random integer number (0 <= x <= 100)<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2420">ABS</paragraph>
@@ -291,7 +291,7 @@
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2460">SET</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_2470"> ; Convert list to Python set<br/> PRINT SET [4, 5, 6, 6] ; print {4, 5, 6}<br/> PRINT SET [4, 5, 6, 6] | SET [4, 1, 9] ; print {1, 4, 5, 6, 9}, union<br/> PRINT SET [4, 5, 6, 6] & SET [4, 1, 9] ; print {4}, intersection<br/> PRINT SET ([4, 5, 6, 6]) - SET [4, 1, 9] ; print {5, 6}, difference<br/> PRINT SET [4, 5, 6, 6] ^ SET [4, 1, 9] ; print {1, 5, 6, 9}, symmetric difference  <br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2480">RANGE</paragraph>
-<paragraph role="logocode" xml-lang="en-US" id="par_2490"> ; Python-like list generation<br/> PRINT RANGE 10 ; print [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]<br/> PRINT RANGE 3 10 ; print [3, 4, 5, 6, 7, 8, 9]<br/> PRINT RANGE 3 10 3 ; print [3, 6, 9]<br/> <br/> FOR i in RANGE 10 50 10 [ ; loop for [10, 20, 30, 40]<br/>   FORWARD i<br/>   LEFT 90<br/> ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2490"> ; Python-like list generation<br/> PRINT RANGE 10 ; print [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]<br/> PRINT RANGE 3 10 ; print [3, 4, 5, 6, 7, 8, 9]<br/> PRINT RANGE 3 10 3 ; print [3, 6, 9]<br/> <br/> FOR i IN RANGE 10 50 10 [ ; loop for [10, 20, 30, 40]<br/>   FORWARD i<br/>   LEFT 90<br/> ]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2500">LIST</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_2510"> ; remove the repeating elements of a list using set and list conversion<br/> PRINT LIST (SET [1, 3, 5, 5, 2, 1]) ; print [1, 3, 5, 2]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2520">TUPLE</paragraph>
@@ -301,7 +301,7 @@
 <paragraph role="paragraph" xml-lang="en-US" id="par_2560">It returns with a sorted list.</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_2570"> PRINT SORTED [5, 1, 3, 4] ; print [1, 3, 4, 5]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2580">SUB</paragraph>
-<paragraph role="paragraph" xml-lang="en-US" id="par_2590">Substitue character sequences using regex (regular expression) patterns.</paragraph>
+<paragraph role="paragraph" xml-lang="en-US" id="par_2590">Substitute character sequences using regex (regular expression) patterns.</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_2600"> PRINT SUB (“t”, “T”, “text”) ; print “Text”, replacing “t” with “T”<br/> PRINT SUB (“(.)”, “\\1\\1”, “text”) ; print “tteexxtt”, doubling every characters<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2610">SEARCH</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_2620">Search character sequences patterns using regex patterns.</paragraph>


More information about the Libreoffice-commits mailing list