diff options
author | László Németh <nemeth@numbertext.org> | 2012-11-08 12:46:21 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2012-11-08 13:13:17 +0100 |
commit | cdea8177d1053543e285c4a382edb9099792078a (patch) | |
tree | db9f880daa624c3ac03d3629fc9516bd6e87ec7a /librelogo | |
parent | 67f899e1d2db0dccde4b9587a52b7157fe1fb0be (diff) |
LibreLogo fixes (default properties file, help, tooltip)
Change-Id: Id9f878c0cf59e75fbd5e2f056e48f0d6a7da108c
Diffstat (limited to 'librelogo')
-rw-r--r-- | librelogo/source/LibreLogo/LibreLogo.py | 2 | ||||
-rw-r--r-- | librelogo/source/help/en-US/LibreLogo.xhp | 6 | ||||
-rw-r--r-- | librelogo/source/registry/data/org/openoffice/Office/Addons.xcu | 12 |
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"> 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 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&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> |