summaryrefslogtreecommitdiff
path: root/librelogo
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2012-11-08 12:46:21 +0100
committerLászló Németh <nemeth@numbertext.org>2012-11-08 13:13:17 +0100
commitcdea8177d1053543e285c4a382edb9099792078a (patch)
treedb9f880daa624c3ac03d3629fc9516bd6e87ec7a /librelogo
parent67f899e1d2db0dccde4b9587a52b7157fe1fb0be (diff)
LibreLogo fixes (default properties file, help, tooltip)
Change-Id: Id9f878c0cf59e75fbd5e2f056e48f0d6a7da108c
Diffstat (limited to 'librelogo')
-rw-r--r--librelogo/source/LibreLogo/LibreLogo.py2
-rw-r--r--librelogo/source/help/en-US/LibreLogo.xhp6
-rw-r--r--librelogo/source/registry/data/org/openoffice/Office/Addons.xcu12
3 files changed, 5 insertions, 15 deletions
diff --git a/librelogo/source/LibreLogo/LibreLogo.py b/librelogo/source/LibreLogo/LibreLogo.py
index acea6dc90d20..fd33a53ceffe 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 0d21a8664fef..2a4bd87ed453 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">&#160;TO&#160;triangle&#160;size<br/>&#160;&#160;&#160;REPEAT&#160;3&#160;[&#160;FORWARD&#160;size&#160;LEFT&#160;120&#160;]<br/>&#160;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">&#160;PRINT&#160;"word" ;&#160;original&#160;Logo&#160;syntax<br/>&#160;PRINT&#160;“Arbitrary&#160;text.” ;&#160;orthography,&#160;Writer<br/>&#160;PRINT&#160;'Arbitrary&#160;text.' ;&#160;Python&#160;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">&#160;PRINT&#160;"word ;&#160;original&#160;Logo&#160;syntax<br/>&#160;PRINT&#160;“Arbitrary&#160;text.” ;&#160;orthography,&#160;Writer<br/>&#160;PRINT&#160;'Arbitrary&#160;text.' ;&#160;Python&#160;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 0220f78a5dd3..3f608d7302a1 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&amp;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>