Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

the patch fixing some typos in LibreLogo help is attached.

I noticed that there is Gerrit tool for submitting patches, but it seems too complicated for such small help things - so I hope it is fine to send the patch directly to the list.

Regards,
Stan
From 5eb54c32522d4248aa9fc4f58eba7ccd58b8cb7a Mon Sep 17 00:00:00 2001
From: Stanislav Horacek <stanislav.horacek@gmail.com>
Date: Sun, 9 Dec 2012 17:47:42 +0100
Subject: [PATCH] fix typos in LibreLogo help

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

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 &lt;= x &lt;= 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] &amp; 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>
-- 
1.7.10.4


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.