diff options
Diffstat (limited to 'tde-i18n-nb/data/tdeedu/kturtle')
-rw-r--r-- | tde-i18n-nb/data/tdeedu/kturtle/arkfarge.logo | 33 | ||||
-rw-r--r-- | tde-i18n-nb/data/tdeedu/kturtle/blomst.logo | 26 | ||||
-rw-r--r-- | tde-i18n-nb/data/tdeedu/kturtle/gangetabell.logo | 15 | ||||
-rw-r--r-- | tde-i18n-nb/data/tdeedu/kturtle/kde.logo | 119 | ||||
-rw-r--r-- | tde-i18n-nb/data/tdeedu/kturtle/krusedull.logo | 13 | ||||
-rw-r--r-- | tde-i18n-nb/data/tdeedu/kturtle/kvadrat.logo | 8 | ||||
-rw-r--r-- | tde-i18n-nb/data/tdeedu/kturtle/kvadrathjul.logo | 22 | ||||
-rw-r--r-- | tde-i18n-nb/data/tdeedu/kturtle/logohighlightstyle.nb.xml | 134 | ||||
-rw-r--r-- | tde-i18n-nb/data/tdeedu/kturtle/logokeywords.nb.xml | 237 | ||||
-rw-r--r-- | tde-i18n-nb/data/tdeedu/kturtle/pil.logo | 23 | ||||
-rw-r--r-- | tde-i18n-nb/data/tdeedu/kturtle/reklame.logo | 125 | ||||
-rw-r--r-- | tde-i18n-nb/data/tdeedu/kturtle/tilfeldige-navn.logo | 18 | ||||
-rw-r--r-- | tde-i18n-nb/data/tdeedu/kturtle/trekant.logo | 8 | ||||
-rw-r--r-- | tde-i18n-nb/data/tdeedu/kturtle/trekanthjul.logo | 24 |
14 files changed, 805 insertions, 0 deletions
diff --git a/tde-i18n-nb/data/tdeedu/kturtle/arkfarge.logo b/tde-i18n-nb/data/tdeedu/kturtle/arkfarge.logo new file mode 100644 index 00000000000..aa9bfd900d5 --- /dev/null +++ b/tde-i18n-nb/data/tdeedu/kturtle/arkfarge.logo @@ -0,0 +1,33 @@ +# Fargedemonstrasjon. + +arkfarge 255,255,255 +skjul + +gjenta 5 [ + +for c = 0 til 255 [ + arkfarge 255-c,255,255 +] +for c = 0 til 255 [ + arkfarge 0,255-c,255 +] +for c = 0 til 255 [ + arkfarge c,0,255 +] +for c = 0 til 255 [ + arkfarge 255,c,255-c +] +for c = 0 til 255 [ + arkfarge 255,255-c,0 +] +for c = 0 til 255 [ + arkfarge 255,0,c +] +for c = 0 til 255 [ + arkfarge 255-c,0,255-c +] +for c = 0 til 255 [ + arkfarge c,c,c +] + +]
\ No newline at end of file diff --git a/tde-i18n-nb/data/tdeedu/kturtle/blomst.logo b/tde-i18n-nb/data/tdeedu/kturtle/blomst.logo new file mode 100644 index 00000000000..02ebc9f2c03 --- /dev/null +++ b/tde-i18n-nb/data/tdeedu/kturtle/blomst.logo @@ -0,0 +1,26 @@ +# Tegner en fin blomst. + +nullstill +arkstørrelse 170, 170 +arkfarge 255, 55, 140 +gåtil 45, 120 +strekfarge 160, 0, 255 +strekbredde 3 + +gjenta 8 [ + gjenta 4 [ + frem 20 + snuhøyre 30 + ] + gjenta 7 [ + frem 10 + snuhøyre 15 + ] + gjenta 9 [ + frem 3 + snuhøyre 10 + ] +] + +gåtil 145, 145 +retning 0
\ No newline at end of file diff --git a/tde-i18n-nb/data/tdeedu/kturtle/gangetabell.logo b/tde-i18n-nb/data/tdeedu/kturtle/gangetabell.logo new file mode 100644 index 00000000000..12983894d94 --- /dev/null +++ b/tde-i18n-nb/data/tdeedu/kturtle/gangetabell.logo @@ -0,0 +1,15 @@ +# Skriver opp gangetabeller. + +nullstill +arkstørrelse 300,250 +skjul +løftpenn +gåtil 10, 0 + +n = tekstinn "Skriv inn tallet du vil se gangetabellen til:" + +for x = 0 til 10 [ + bak 20 + r = x * n + skriv x," × ",n," = ",r +] diff --git a/tde-i18n-nb/data/tdeedu/kturtle/kde.logo b/tde-i18n-nb/data/tdeedu/kturtle/kde.logo new file mode 100644 index 00000000000..d6ef38d3726 --- /dev/null +++ b/tde-i18n-nb/data/tdeedu/kturtle/kde.logo @@ -0,0 +1,119 @@ +# Tegner KDE-logoen. +# Copyright © 2005 Andy Teijelo <ateijelo@uh.cu>. +# GNU General Public License version 2. + +nullstill +arkstørrelse 620, 480 +arkfarge 10,50,200 +strekfarge 255,255,255 +strekbredde 3 + +gåtil 294,280 + +snuhøyre 81 +frem 50 +snuvenstre 81 +frem 90 +snuhøyre 145 +frem 120 +snuvenstre 72 +frem 55 +snuvenstre 108 +frem 116 +snuhøyre 73 +frem 112 +snuvenstre 115 +frem 55 +snuvenstre 65 +frem 113 +snuhøyre 142 +frem 92 +snuvenstre 96 +frem 50 +snuvenstre 84 +frem 209 + +gåtil 358,322 + +retning -112.5 + +gjenta 4 +[ + gjenta 2 + [ + frem 6 + snuhøyre 3.75 + ] + + snuvenstre 63 + frem 43 + snuhøyre 39 + frem 3 + snuhøyre 39 + frem 32 + snuhøyre 39 + frem 3 + snuhøyre 39 + frem 43 + snuvenstre 63 + + gjenta 2 + [ + frem 6 + snuhøyre 3.75 + ] +] + +frem 4 +snuhøyre 112.5 +frem 25 + +snuhøyre 58 +gjenta 21 +[ + frem 13.5 + snuvenstre 10 +] + +frem 9 +snuhøyre 117 +frem 34 +snuvenstre 60 +frem 8 +snuhøyre 62 + +frem 25 +snuhøyre 39 +frem 3 +snuhøyre 39 +frem 32 +snuhøyre 39 +frem 3 +snuhøyre 39 +frem 43 +snuvenstre 63 + +gjenta 2 +[ + frem 6 + snuhøyre 3.75 +] + +gåtil 320,395 +retning 90 + +strekbredde 5 + +gjenta 4 +[ + frem 160 + gjenta 6 + [ + frem 4 + snuvenstre 15 + + ] + frem 160 +] + +gåtil 320,440
\ No newline at end of file diff --git a/tde-i18n-nb/data/tdeedu/kturtle/krusedull.logo b/tde-i18n-nb/data/tdeedu/kturtle/krusedull.logo new file mode 100644 index 00000000000..31533f0a014 --- /dev/null +++ b/tde-i18n-nb/data/tdeedu/kturtle/krusedull.logo @@ -0,0 +1,13 @@ +# Tegner en krusedull. + +nullstill +løftpenn +frem 50 +senkpenn + +gjenta 4 [ + for x = 1 til 100 [ + frem 10 + snuhøyre 100 - x + ] +]
\ No newline at end of file diff --git a/tde-i18n-nb/data/tdeedu/kturtle/kvadrat.logo b/tde-i18n-nb/data/tdeedu/kturtle/kvadrat.logo new file mode 100644 index 00000000000..ccdf7fd1c61 --- /dev/null +++ b/tde-i18n-nb/data/tdeedu/kturtle/kvadrat.logo @@ -0,0 +1,8 @@ +# Tegner et kvadrat. + +nullstill + +gjenta 4 [ + frem 100 + snuvenstre 90 +] diff --git a/tde-i18n-nb/data/tdeedu/kturtle/kvadrathjul.logo b/tde-i18n-nb/data/tdeedu/kturtle/kvadrathjul.logo new file mode 100644 index 00000000000..74e6b74e8a8 --- /dev/null +++ b/tde-i18n-nb/data/tdeedu/kturtle/kvadrathjul.logo @@ -0,0 +1,22 @@ +# Tegner et hjul av kvadrater. + +lær kvadrat X [ + gjenta 4 [ + frem X + snuvenstre 90 + ] +] + +nullstill +arkstørrelse 400, 400 +gåtil 150,200 +strekbredde 5 +skjul + +gjenta 12 [ + løftpenn + frem 30 + senkpenn + kvadrat 80 + snuhøyre 30 +] diff --git a/tde-i18n-nb/data/tdeedu/kturtle/logohighlightstyle.nb.xml b/tde-i18n-nb/data/tdeedu/kturtle/logohighlightstyle.nb.xml new file mode 100644 index 00000000000..81d35a67e23 --- /dev/null +++ b/tde-i18n-nb/data/tdeedu/kturtle/logohighlightstyle.nb.xml @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language> +<!-- Logo syntax highlightning v0.2 by Cies Breijs --> +<language name="nb" version="0.2" kateversion="2.1" section="Logo" extensions="*.logo;*.lgo;*.LOGO;*.Logo" mimetype="text/x-logosrc;text/x-logo;application/x-logo" priority="9" casesensitive="0"> + + +<highlighting> + <list name="metafunctions"> + <item> lær </item> + </list> + + <list name="statements"> + <item> kjør </item> + <item> tøm </item> + <item> gåtil </item> + <item> gå </item> + <item> gx </item> + <item> gy </item> + <item> frem </item> + <item> fr </item> + <item> bak </item> + <item> ba </item> + <item> retning </item> + <item> snuvenstre </item> + <item> sv </item> + <item> snuhøyre </item> + <item> sh </item> + <item> midten </item> + <item> strekbredde </item> + <item> sb </item> + <item> løftpenn </item> + <item> lp </item> + <item> senkpenn </item> + <item> sp </item> + <item> strekfarge </item> + <item> sf </item> + <item> arkfarge </item> + <item> af </item> + <item> arkstørrelse </item> + <item> as </item> + <item> vis </item> + <item> skjul </item> + <item> trykk </item> + <item> endre </item> + <item> melding </item> + <item> tekstinn </item> + <item> skriv </item> + <item> skrift </item> + <item> skriftstørrelse </item> + <item> ss </item> + <item> tilfeldig </item> + <item> rundtpå </item> + <item> rundtav </item> + <item> nullstill </item> + </list> + + <list name="controllers"> + <item> mens </item> + <item> forhver </item> + <item> i </item> + <item> for </item> + <item> til </item> + <item> utfør </item> + <item> gjenta </item> + <item> hvis </item> + <item> ellers </item> + <item> tilbake </item> + <item> avbryt </item> + <item> vent </item> + </list> + + <list name="boolops"> + <item> og </item> + <item> eller </item> + <item> ikke </item> + </list> + + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + + <keyword attribute="MetaFunctions" String="metafunctions" context="#stay"/> + <keyword attribute="Statements" String="statements" context="#stay"/> + <keyword attribute="Execution Controllers" String="controllers" context="#stay"/> + <keyword attribute="Boolean Operators" String="boolops" context="#stay"/> + + <RegExpr attribute="Expressers" String="([!=><][=]|[><])" context="#stay"/> + <RegExpr attribute="Normal" String="[a-zA-Z_][a-zA-Z_0-9]+" context="#stay"/> + <RegExpr attribute="Number" String="([0-9]+\.[0-9]*|\.[0-9]+)?|[0-9]*" context="#stay"/> + <RegExpr attribute="Comment" String="#.*$" context="#stay"/> + <RegExpr attribute="Operator" String="[+*/\(\)-]" context="#stay"/> + <RegExpr attribute="Scopes" String="[\[\]]" context="#stay"/> + <DetectChar attribute="String" char=""" context="String"/> + </context> + + <context name="String" attribute="String" lineEndContext="#stay"> + <HlCStringChar attribute="String" context="#stay"/> + <RegExpr attribute="Operator" String="%[a-zA-Z]" context="#stay"/> + <DetectChar attribute="String" char=""" context="#pop"/> + </context> + + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Normal" defStyleNum="dsNormal"/> + <itemData name="MetaFunctions" defStyleNum="dsKeyword" color="#00bb00" selColor="#ffffff" bold="1" italic="0"/> + <itemData name="Statements" defStyleNum="dsKeyword" color="#006600" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Execution Controllers" defStyleNum="dsKeyword" color="#006600" selColor="#ffffff" bold="1" italic="0"/> + <itemData name="Expressers" defStyleNum="dsKeyword" color="#1e99cc" selColor="#ffffff" bold="1" italic="0"/> + <itemData name="Boolean Operators" defStyleNum="dsKeyword" color="#9922cc" selColor="#ffffff" bold="1" italic="0"/> + <itemData name="Scopes" defStyleNum="dsKeyword" color="#00bb00" selColor="#ffffff" bold="1" italic="0"/> + <itemData name="Number" defStyleNum="dsFloat" color="#0000ff" selColor="#00eeff" bold="0" italic="0"/> + <itemData name="Comment" defStyleNum="dsComment" color="#999922" selColor="#888888" bold="0" italic="0"/> + <itemData name="String" defStyleNum="dsString" color="#800000" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Raw String" defStyleNum="dsString" color="#800000" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Operator" defStyleNum="dsOthers" color="#888888" selColor="#ffffff" bold="0" italic="0"/> + </itemDatas> +</highlighting> + + +<general> + + <folding indentationsensitive="0" /> + + <comments> + <comment name="singleLine" start="#" /> + </comments> + + <keywords casesensitive="0" /> + +</general> + + +</language> diff --git a/tde-i18n-nb/data/tdeedu/kturtle/logokeywords.nb.xml b/tde-i18n-nb/data/tdeedu/kturtle/logokeywords.nb.xml new file mode 100644 index 00000000000..04673dffb3c --- /dev/null +++ b/tde-i18n-nb/data/tdeedu/kturtle/logokeywords.nb.xml @@ -0,0 +1,237 @@ +<?xml version="1.0"?> +<!DOCTYPE logokeywords> + +<logokeywords lang="nb" ver="0.01"> + +<!-- scope --> + <command name="begin"> + <keyword>[</keyword> + </command> + + <command name="end"> + <keyword>]</keyword> + </command> + + + +<!-- +TO THE TRANSLATORS: + +Translate the terms between the KEYWORD tags to the appropriate term in your language. +You might want to checkout what terms other Logo languages have chosen in the past (google is your friend). +Make sure to see the scripts and the README file in the tdeedu/kturtle/scripts directory, they help you! +If you did not read it allready: there is a chapter on how to translate KTurtle in the KTurtle documentation. + +Thanks for your efford, we love you! +--> + + + + +<!-- execution controllers --> + <command name="while"> + <keyword>mens</keyword> + </command> + + <command name="if"> + <keyword>hvis</keyword> + </command> + + <command name="else"> + <keyword>ellers</keyword> + </command> + + <command name="for"> + <keyword>for</keyword> + </command> + + <command name="to"> + <keyword>til</keyword> + </command> + + <command name="return"> + <keyword>tilbake</keyword> + </command> + + <command name="break"> + <keyword>avbryt</keyword> + </command> + + <command name="foreach"> + <keyword>forhver</keyword> + </command> + + <command name="in"> + <keyword>i</keyword> + </command> + + <command name="do"> + <keyword>utfør</keyword> + </command> + + <command name="repeat"> + <keyword>gjenta</keyword> + </command> + + <command name="wait"> + <keyword>vent</keyword> + </command> + + +<!-- boolean operators --> + <command name="and"> + <keyword>og</keyword> + </command> + + <command name="or"> + <keyword>eller</keyword> + </command> + + <command name="not"> + <keyword>ikke</keyword> + </command> + + +<!-- the meta command --> + <command name="learn"> + <keyword>lær</keyword> + </command> + + +<!-- normal keywords --> + <command name="run"> + <keyword>kjør</keyword> + </command> + + <command name="clear"> + <keyword>tøm</keyword> + </command> + + <command name="go"> + <keyword>gåtil</keyword> + <alias>gå</alias> + </command> + + <command name="gox"> + <keyword>gåtilx</keyword> + <alias>gx</alias> + </command> + + <command name="goy"> + <keyword>gåtily</keyword> + <alias>gy</alias> + </command> + + <command name="forward"> + <keyword>frem</keyword> + <alias>fr</alias> + </command> + + <command name="backward"> + <keyword>bak</keyword> + <alias>ba</alias> + </command> + + <command name="direction"> + <keyword>retning</keyword> + <alias>ret</alias> + </command> + + <command name="turnleft"> + <keyword>snuvenstre</keyword> + <alias>sv</alias> + </command> + + <command name="turnright"> + <keyword>snuhøyre</keyword> + <alias>sh</alias> + </command> + + <command name="center"> + <keyword>midten</keyword> + </command> + + <command name="setpenwidth"> + <keyword>strekbredde</keyword> + <alias>sb</alias> + </command> + + <command name="penup"> + <keyword>løftpenn</keyword> + <alias>lp</alias> + </command> + + <command name="pendown"> + <keyword>senkpenn</keyword> + <alias>sp</alias> + </command> + + <command name="setfgcolor"> + <keyword>strekfarge</keyword> + <alias>sf</alias> + </command> + + <command name="setbgcolor"> + <keyword>arkfarge</keyword> + <alias>af</alias> + </command> + + <command name="resizecanvas"> + <keyword>arkstørrelse</keyword> + <alias>as</alias> + </command> + + <command name="spriteshow"> + <keyword>vis</keyword> + </command> + + <command name="spritehide"> + <keyword>skjul</keyword> + </command> + + <command name="spritepress"> + <keyword>trykk</keyword> + </command> + + <command name="spritechange"> + <keyword>endre</keyword> + </command> + + <command name="message"> + <keyword>melding</keyword> + </command> + + <command name="inputwindow"> + <keyword>tekstinn</keyword> + </command> + + <command name="print"> + <keyword>skriv</keyword> + </command> + + <command name="fonttype"> + <keyword>skrift</keyword> + </command> + + <command name="fontsize"> + <keyword>skriftstørrelse</keyword> + <alias>ss</alias> + </command> + + <command name="random"> + <keyword>tilfeldig</keyword> + </command> + + <command name="wrapon"> + <keyword>rundtpå</keyword> + </command> + + <command name="wrapoff"> + <keyword>rundtav</keyword> + </command> + + <command name="reset"> + <keyword>nullstill</keyword> + </command> + +</logokeywords> diff --git a/tde-i18n-nb/data/tdeedu/kturtle/pil.logo b/tde-i18n-nb/data/tdeedu/kturtle/pil.logo new file mode 100644 index 00000000000..a0795b28e03 --- /dev/null +++ b/tde-i18n-nb/data/tdeedu/kturtle/pil.logo @@ -0,0 +1,23 @@ +# Tegner en rød pil. + +nullstill + +arkstørrelse 200, 200 +arkfarge 0, 0, 0 +strekfarge 255, 0, 0 +strekbredde 5 +tøm + +gåtil 20,20 +retning 135 + +frem 200 +snuvenstre 135 +frem 100 +snuvenstre 135 +frem 141 +snuvenstre 135 +frem 100 +snuvenstre 45 + +gåtil 40, 100 diff --git a/tde-i18n-nb/data/tdeedu/kturtle/reklame.logo b/tde-i18n-nb/data/tdeedu/kturtle/reklame.logo new file mode 100644 index 00000000000..6cd93ab2d6d --- /dev/null +++ b/tde-i18n-nb/data/tdeedu/kturtle/reklame.logo @@ -0,0 +1,125 @@ +# Reklame for KTurtle. + +nullstill +arkstørrelse 400,190 +strekbredde 10 + + +lær K x,y [ + ret 0 + gå x,y + ba 75 + gå x+40,y + ret -140 + fr 60 + ba 10 + sv 85 + fr 50 +] + +lær T x,y [ + gå x,y + ret 90 + fr 50 + ba 25 + ret 180 + fr 70 +] + +lær u x,y [ + gå x,y + ret 180 + fr 47 + sv 45 + fr 7 + sv 45 + fr 20 + sv 45 + fr 7 + sv 45 + fr 47 +] + +lær r x,y [ + gå x,y + ret 180 + fr 55 + gå x,y+15 + ret 45 + løftpenn + fr 4 + senkpenn + fr 10 + sh 45 + fr 10 +] + +lær t x,y [ + ret 180 + gå x,y + fr 67 + sv 45 + fr 7 + sv 45 + fr 10 + gå x,y+30 + ret 90 + fr 10 +] + +lær l x,y [ + ret 180 + gå x,y + fr 77 +] + +lær e x,y [ + gå x,y+30 + ret 90 + fr 50 + sv 90 + fr 15 + sv 45 + fr 15 + sv 45 + fr 20 + sv 45 + fr 15 + sv 45 + fr 25 + sv 45 + fr 15 + sv 45 + fr 25 +] + + +K 50,30 +T 108,35 +u 167,50 +r 220,50 +t 256,30 +l 289,30 +e 305,50 + +gå 12,115 +skriftstørrelse 25 +skriv "Pedagogisk utviklingsmiljø" + +skjul +vent 1 +vis + +gå 170,145 +ret 82 +strekbredde 5 +strekfarge 255,0,0 +fr 185 + +vent 0.5 +gå 190,140 +skriv "spill" + +gå 255,160 +vent 0.5 +ret 0 diff --git a/tde-i18n-nb/data/tdeedu/kturtle/tilfeldige-navn.logo b/tde-i18n-nb/data/tdeedu/kturtle/tilfeldige-navn.logo new file mode 100644 index 00000000000..c216c9be7ea --- /dev/null +++ b/tde-i18n-nb/data/tdeedu/kturtle/tilfeldige-navn.logo @@ -0,0 +1,18 @@ +# Skriv navnet ditt på tilfeldige plasser. + +nullstill +arkstørrelse 255,255 +skjul + +navn = tekstinn "Hva heter du?" + +gjenta 50 [ + x = tilfeldig 0, 255 + y = tilfeldig 0, 255 + s = tilfeldig 10, 51 + + gåtil x, y + skriftstørrelse s + strekfarge x,y,s*5 + skriv navn +] diff --git a/tde-i18n-nb/data/tdeedu/kturtle/trekant.logo b/tde-i18n-nb/data/tdeedu/kturtle/trekant.logo new file mode 100644 index 00000000000..83411dc59cf --- /dev/null +++ b/tde-i18n-nb/data/tdeedu/kturtle/trekant.logo @@ -0,0 +1,8 @@ +# Tegner en trekant. + +nullstill + +gjenta 3 [ + frem 100 + snuvenstre 120 +] diff --git a/tde-i18n-nb/data/tdeedu/kturtle/trekanthjul.logo b/tde-i18n-nb/data/tdeedu/kturtle/trekanthjul.logo new file mode 100644 index 00000000000..fffa3695c87 --- /dev/null +++ b/tde-i18n-nb/data/tdeedu/kturtle/trekanthjul.logo @@ -0,0 +1,24 @@ +# Tegner et hjul av trekanter. + +nullstill + +lær trekant X [ + gjenta 3 [ + frem X + snuvenstre 120 + ] +] + +for r = 1 til 30 [ + tøm + gjenta 18 [ + trekant r*r*5 + snuhøyre 20 + ] + vent 1 +] + +vent 3 +tøm + +skriv " Jeg er trøtt …" |