[Libreoffice-commits] .: librelogo/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Nov 8 04:14:53 PST 2012
librelogo/source/LibreLogo/LibreLogo.py | 2 -
librelogo/source/help/en-US/LibreLogo.xhp | 6 ++---
librelogo/source/registry/data/org/openoffice/Office/Addons.xcu | 12 ----------
3 files changed, 5 insertions(+), 15 deletions(-)
New commits:
commit cdea8177d1053543e285c4a382edb9099792078a
Author: László Németh <nemeth at numbertext.org>
Date: Thu Nov 8 12:46:21 2012 +0100
LibreLogo fixes (default properties file, help, tooltip)
Change-Id: Id9f878c0cf59e75fbd5e2f056e48f0d6a7da108c
diff --git a/librelogo/source/LibreLogo/LibreLogo.py b/librelogo/source/LibreLogo/LibreLogo.py
index acea6dc..fd33a53 100644
--- a/librelogo/source/LibreLogo/LibreLogo.py
+++ b/librelogo/source/LibreLogo/LibreLogo.py
@@ -1262,7 +1262,7 @@ def __compil__(s):
__loadlang__(_.lng, __l12n__(_.lng))
except:
__trace__()
- _.lng = 'en'
+ _.lng = 'en_US'
if not _.lng in __comp__:
__loadlang__(_.lng, __l12n__(_.lng))
diff --git a/librelogo/source/help/en-US/LibreLogo.xhp b/librelogo/source/help/en-US/LibreLogo.xhp
index 0d21a86..2a4bd87 100644
--- a/librelogo/source/help/en-US/LibreLogo.xhp
+++ b/librelogo/source/help/en-US/LibreLogo.xhp
@@ -74,12 +74,12 @@
<paragraph role="heading" level="2" xml-lang="en-US" id="hd_530">Other features of LibreLogo</paragraph>
<list type="unordered">
<listitem>
- <paragraph role="listitem" xml-lang="en-US" id="par_540">The colon is optional before the variables (like in the Berkeley Logo)</paragraph>
+ <paragraph role="listitem" xml-lang="en-US" id="par_540">The colon is optional before the variable names.</paragraph>
<paragraph role="code" xml-lang="en-US" id="par_550"> TO triangle size<br/> REPEAT 3 [ FORWARD size LEFT 120 ]<br/> END<br/></paragraph>
</listitem>
<listitem>
- <paragraph role="paragraph" xml-lang="en-US" id="par_560">String notation supports also orthographical and Python syntax:</paragraph>
- <paragraph role="code" xml-lang="en-US" id="par_570"> PRINT "word" ; original Logo syntax<br/> PRINT âArbitrary text.â ; orthography, Writer<br/> PRINT 'Arbitrary text.' ; Python syntax<br/></paragraph>
+ <paragraph role="paragraph" xml-lang="en-US" id="par_560">String notation supports also orthographical and Python syntax.</paragraph>
+ <paragraph role="code" xml-lang="en-US" id="par_570"> PRINT "word ; original Logo syntax<br/> PRINT âArbitrary text.â ; orthography, Writer<br/> PRINT 'Arbitrary text.' ; Python syntax<br/></paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US" id="par_580">Python list and string handling</paragraph>
diff --git a/librelogo/source/registry/data/org/openoffice/Office/Addons.xcu b/librelogo/source/registry/data/org/openoffice/Office/Addons.xcu
index 0220f78..3f608d7 100644
--- a/librelogo/source/registry/data/org/openoffice/Office/Addons.xcu
+++ b/librelogo/source/registry/data/org/openoffice/Office/Addons.xcu
@@ -130,17 +130,7 @@
<value>vnd.sun.star.script:librelogo.oxt|LibreLogo|LibreLogo.py$commandline?language=Python&location=user:uno_packages</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
- <value xml:lang="en-US">FORWARD (fd), BACK (bk), LEFT (lt), RIGHT (rt) ⢠fd 72, bk 1cm + 1in + 1", lt 90, rt 1.5h
-REPEAT num [ commands ], REPCOUNT ⢠repeat 100 [ fd repcount lt 91 ]
-PENUP (pu), PENDOWN (pd), FILL, CLOSE, HOME, CLEARSCREEN (cs), PENSIZE (ps 5)
-PENCOLOR (pc), FILLCOLOR (fc) ⢠pc âredâ, pc 0xff0000, fc [255, 0, 0], fc any
-POSITION (pos), HEADING (seth) ⢠pos [0, 0], pos pagesize, seth 60, seth [0, 0]
-CIRCLE, ELLIPSE, BOX, RECTANGLE ⢠circle 10 ellipse [5, 9] box 10 rectangle [5, 2]
-LABEL, TEXT, PRINT ⢠label âSome textâ, circle 200 text âcenter of the actual shapeâ
-FONTFAMILY âFontâ FONTSIZE 9 FONTCOLOR âredâ FONTWEIGHT âboldâ
-TO name arguments ... END, TO name arguments, OUTPUT return_value, END
-RANDOM, SQRT, INT, COUNT, ABS, SIN, COS, INPUT ⢠ps random 100, print count âstringâ
-PICTURE (pic) [ ... ] ⢠group different shapes: pic [ fd 100 circle 50 ]</value>
+ <value xml:lang="en-US">Logo command line (press F1 here for help)</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
More information about the Libreoffice-commits
mailing list