diff options
Diffstat (limited to 'tde-i18n-nn/data/kdeedu/kturtle')
-rw-r--r-- | tde-i18n-nn/data/kdeedu/kturtle/arkfarge.logo | 33 | ||||
-rw-r--r-- | tde-i18n-nn/data/kdeedu/kturtle/blome.logo | 26 | ||||
-rw-r--r-- | tde-i18n-nn/data/kdeedu/kturtle/gongetabell.logo | 15 | ||||
-rw-r--r-- | tde-i18n-nn/data/kdeedu/kturtle/kde.logo | 119 | ||||
-rw-r--r-- | tde-i18n-nn/data/kdeedu/kturtle/krusedull.logo | 13 | ||||
-rw-r--r-- | tde-i18n-nn/data/kdeedu/kturtle/kvadrat.logo | 8 | ||||
-rw-r--r-- | tde-i18n-nn/data/kdeedu/kturtle/kvadrathjul.logo | 22 | ||||
-rw-r--r-- | tde-i18n-nn/data/kdeedu/kturtle/logohighlightstyle.nn.xml | 134 | ||||
-rw-r--r-- | tde-i18n-nn/data/kdeedu/kturtle/logokeywords.nn.xml | 237 | ||||
-rw-r--r-- | tde-i18n-nn/data/kdeedu/kturtle/pil.logo | 23 | ||||
-rw-r--r-- | tde-i18n-nn/data/kdeedu/kturtle/reklame.logo | 125 | ||||
-rw-r--r-- | tde-i18n-nn/data/kdeedu/kturtle/tilfeldige-namn.logo | 18 | ||||
-rw-r--r-- | tde-i18n-nn/data/kdeedu/kturtle/trekant.logo | 8 | ||||
-rw-r--r-- | tde-i18n-nn/data/kdeedu/kturtle/trekanthjul.logo | 24 |
14 files changed, 805 insertions, 0 deletions
diff --git a/tde-i18n-nn/data/kdeedu/kturtle/arkfarge.logo b/tde-i18n-nn/data/kdeedu/kturtle/arkfarge.logo new file mode 100644 index 00000000000..aa9bfd900d5 --- /dev/null +++ b/tde-i18n-nn/data/kdeedu/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-nn/data/kdeedu/kturtle/blome.logo b/tde-i18n-nn/data/kdeedu/kturtle/blome.logo new file mode 100644 index 00000000000..7dc2fc6fa06 --- /dev/null +++ b/tde-i18n-nn/data/kdeedu/kturtle/blome.logo @@ -0,0 +1,26 @@ +# Teiknar ein fin blome. + +nullstill +arkstorleik 170, 170 +arkfarge 255, 55, 140 +gåtil 45, 120 +strekfarge 160, 0, 255 +strekbreidd 3 + +gjenta 8 [ + gjenta 4 [ + fram 20 + snuhøgre 30 + ] + gjenta 7 [ + fram 10 + snuhøgre 15 + ] + gjenta 9 [ + fram 3 + snuhøgre 10 + ] +] + +gåtil 145, 145 +retning 0
\ No newline at end of file diff --git a/tde-i18n-nn/data/kdeedu/kturtle/gongetabell.logo b/tde-i18n-nn/data/kdeedu/kturtle/gongetabell.logo new file mode 100644 index 00000000000..8860ca5eb58 --- /dev/null +++ b/tde-i18n-nn/data/kdeedu/kturtle/gongetabell.logo @@ -0,0 +1,15 @@ +# Skriv opp gongetabellar. + +nullstill +arkstorleik 300,250 +skjul +løftpenn +gåtil 10, 0 + +n = tekstinn "Skriv inn talet du vil sjå gongetabellen til:" + +for x = 0 til 10 [ + bak 20 + r = x * n + skriv x," × ",n," = ",r +] diff --git a/tde-i18n-nn/data/kdeedu/kturtle/kde.logo b/tde-i18n-nn/data/kdeedu/kturtle/kde.logo new file mode 100644 index 00000000000..668e22b7b70 --- /dev/null +++ b/tde-i18n-nn/data/kdeedu/kturtle/kde.logo @@ -0,0 +1,119 @@ +# Teiknar KDE-logoen. +# Copyright © 2005 Andy Teijelo <ateijelo@uh.cu>. +# GNU General Public License version 2. + +nullstill +arkstorleik 620, 480 +arkfarge 10,50,200 +strekfarge 255,255,255 +strekbreidd 3 + +gåtil 294,280 + +snuhøgre 81 +fram 50 +snuvenstre 81 +fram 90 +snuhøgre 145 +fram 120 +snuvenstre 72 +fram 55 +snuvenstre 108 +fram 116 +snuhøgre 73 +fram 112 +snuvenstre 115 +fram 55 +snuvenstre 65 +fram 113 +snuhøgre 142 +fram 92 +snuvenstre 96 +fram 50 +snuvenstre 84 +fram 209 + +gåtil 358,322 + +retning -112.5 + +gjenta 4 +[ + gjenta 2 + [ + fram 6 + snuhøgre 3.75 + ] + + snuvenstre 63 + fram 43 + snuhøgre 39 + fram 3 + snuhøgre 39 + fram 32 + snuhøgre 39 + fram 3 + snuhøgre 39 + fram 43 + snuvenstre 63 + + gjenta 2 + [ + fram 6 + snuhøgre 3.75 + ] +] + +fram 4 +snuhøgre 112.5 +fram 25 + +snuhøgre 58 +gjenta 21 +[ + fram 13.5 + snuvenstre 10 +] + +fram 9 +snuhøgre 117 +fram 34 +snuvenstre 60 +fram 8 +snuhøgre 62 + +fram 25 +snuhøgre 39 +fram 3 +snuhøgre 39 +fram 32 +snuhøgre 39 +fram 3 +snuhøgre 39 +fram 43 +snuvenstre 63 + +gjenta 2 +[ + fram 6 + snuhøgre 3.75 +] + +gåtil 320,395 +retning 90 + +strekbreidd 5 + +gjenta 4 +[ + fram 160 + gjenta 6 + [ + fram 4 + snuvenstre 15 + + ] + fram 160 +] + +gåtil 320,440
\ No newline at end of file diff --git a/tde-i18n-nn/data/kdeedu/kturtle/krusedull.logo b/tde-i18n-nn/data/kdeedu/kturtle/krusedull.logo new file mode 100644 index 00000000000..1cfc17a21a4 --- /dev/null +++ b/tde-i18n-nn/data/kdeedu/kturtle/krusedull.logo @@ -0,0 +1,13 @@ +# Teiknar ein krusedull. + +nullstill +løftpenn +fram 50 +senkpenn + +gjenta 4 [ + for x = 1 til 100 [ + fram 10 + snuhøgre 100 - x + ] +]
\ No newline at end of file diff --git a/tde-i18n-nn/data/kdeedu/kturtle/kvadrat.logo b/tde-i18n-nn/data/kdeedu/kturtle/kvadrat.logo new file mode 100644 index 00000000000..e9ae5d3fa98 --- /dev/null +++ b/tde-i18n-nn/data/kdeedu/kturtle/kvadrat.logo @@ -0,0 +1,8 @@ +# Teiknar eit kvadrat. + +nullstill + +gjenta 4 [ + fram 100 + snuvenstre 90 +] diff --git a/tde-i18n-nn/data/kdeedu/kturtle/kvadrathjul.logo b/tde-i18n-nn/data/kdeedu/kturtle/kvadrathjul.logo new file mode 100644 index 00000000000..0ea8e4c9681 --- /dev/null +++ b/tde-i18n-nn/data/kdeedu/kturtle/kvadrathjul.logo @@ -0,0 +1,22 @@ +# Teiknar eit hjul av kvadrat. + +lær kvadrat X [ + gjenta 4 [ + fram X + snuvenstre 90 + ] +] + +nullstill +arkstorleik 400, 400 +gåtil 150,200 +strekbreidd 5 +skjul + +gjenta 12 [ + løftpenn + fram 30 + senkpenn + kvadrat 80 + snuhøgre 30 +] diff --git a/tde-i18n-nn/data/kdeedu/kturtle/logohighlightstyle.nn.xml b/tde-i18n-nn/data/kdeedu/kturtle/logohighlightstyle.nn.xml new file mode 100644 index 00000000000..220bcfb618b --- /dev/null +++ b/tde-i18n-nn/data/kdeedu/kturtle/logohighlightstyle.nn.xml @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language> +<!-- Logo syntax highlightning v0.2 by Cies Breijs --> +<language name="nn" 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> køyr </item> + <item> tøm </item> + <item> gåtil </item> + <item> gå </item> + <item> gx </item> + <item> gy </item> + <item> fram </item> + <item> fr </item> + <item> bak </item> + <item> ba </item> + <item> retning </item> + <item> snuvenstre </item> + <item> sv </item> + <item> snuhøgre </item> + <item> sh </item> + <item> midten </item> + <item> strekbreidd </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> arkstorleik </item> + <item> as </item> + <item> vis </item> + <item> skjul </item> + <item> trykk </item> + <item> endra </item> + <item> melding </item> + <item> tekstinn </item> + <item> skriv </item> + <item> skrift </item> + <item> skriftstorleik </item> + <item> ss </item> + <item> tilfeldig </item> + <item> rundtpå </item> + <item> rundtav </item> + <item> nullstill </item> + </list> + + <list name="controllers"> + <item> mens </item> + <item> forkvar </item> + <item> i </item> + <item> for </item> + <item> til </item> + <item> gjer </item> + <item> gjenta </item> + <item> viss </item> + <item> elles </item> + <item> tilbake </item> + <item> avbryt </item> + <item> vent </item> + </list> + + <list name="boolops"> + <item> og </item> + <item> eller </item> + <item> ikkje </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-nn/data/kdeedu/kturtle/logokeywords.nn.xml b/tde-i18n-nn/data/kdeedu/kturtle/logokeywords.nn.xml new file mode 100644 index 00000000000..bea357c3ba0 --- /dev/null +++ b/tde-i18n-nn/data/kdeedu/kturtle/logokeywords.nn.xml @@ -0,0 +1,237 @@ +<?xml version="1.0"?> +<!DOCTYPE logokeywords> + +<logokeywords lang="nn" 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 kdeedu/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>viss</keyword> + </command> + + <command name="else"> + <keyword>elles</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>forkvar</keyword> + </command> + + <command name="in"> + <keyword>i</keyword> + </command> + + <command name="do"> + <keyword>gjer</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>ikkje</keyword> + </command> + + +<!-- the meta command --> + <command name="learn"> + <keyword>lær</keyword> + </command> + + +<!-- normal keywords --> + <command name="run"> + <keyword>køyr</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>fram</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øgre</keyword> + <alias>sh</alias> + </command> + + <command name="center"> + <keyword>midten</keyword> + </command> + + <command name="setpenwidth"> + <keyword>strekbreidd</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>arkstorleik</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>endra</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>skriftstorleik</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-nn/data/kdeedu/kturtle/pil.logo b/tde-i18n-nn/data/kdeedu/kturtle/pil.logo new file mode 100644 index 00000000000..284ea09b7b8 --- /dev/null +++ b/tde-i18n-nn/data/kdeedu/kturtle/pil.logo @@ -0,0 +1,23 @@ +# Teiknar ei raud pil. + +nullstill + +arkstorleik 200, 200 +arkfarge 0, 0, 0 +strekfarge 255, 0, 0 +strekbreidd 5 +tøm + +gåtil 20,20 +retning 135 + +fram 200 +snuvenstre 135 +fram 100 +snuvenstre 135 +fram 141 +snuvenstre 135 +fram 100 +snuvenstre 45 + +gåtil 40, 100 diff --git a/tde-i18n-nn/data/kdeedu/kturtle/reklame.logo b/tde-i18n-nn/data/kdeedu/kturtle/reklame.logo new file mode 100644 index 00000000000..d1aad80893f --- /dev/null +++ b/tde-i18n-nn/data/kdeedu/kturtle/reklame.logo @@ -0,0 +1,125 @@ +# Reklame for KTurtle. + +nullstill +arkstorleik 400,190 +strekbreidd 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 +skriftstorleik 25 +skriv "Pedagogisk utviklingsmiljø" + +skjul +vent 1 +vis + +gå 170,145 +ret 82 +strekbreidd 5 +strekfarge 255,0,0 +fr 185 + +vent 0.5 +gå 190,140 +skriv "spel" + +gå 255,160 +vent 0.5 +ret 0 diff --git a/tde-i18n-nn/data/kdeedu/kturtle/tilfeldige-namn.logo b/tde-i18n-nn/data/kdeedu/kturtle/tilfeldige-namn.logo new file mode 100644 index 00000000000..999e5dfb4b0 --- /dev/null +++ b/tde-i18n-nn/data/kdeedu/kturtle/tilfeldige-namn.logo @@ -0,0 +1,18 @@ +# Skriv namnet ditt på tilfeldige plassar. + +nullstill +arkstorleik 255,255 +skjul + +namn = tekstinn "Kva heiter du?" + +gjenta 50 [ + x = tilfeldig 0, 255 + y = tilfeldig 0, 255 + s = tilfeldig 10, 51 + + gåtil x, y + skriftstorleik s + strekfarge x,y,s*5 + skriv namn +]
\ No newline at end of file diff --git a/tde-i18n-nn/data/kdeedu/kturtle/trekant.logo b/tde-i18n-nn/data/kdeedu/kturtle/trekant.logo new file mode 100644 index 00000000000..93ee4f5aeb1 --- /dev/null +++ b/tde-i18n-nn/data/kdeedu/kturtle/trekant.logo @@ -0,0 +1,8 @@ +# Teiknar ein trekant. + +nullstill + +gjenta 3 [ + fram 100 + snuvenstre 120 +] diff --git a/tde-i18n-nn/data/kdeedu/kturtle/trekanthjul.logo b/tde-i18n-nn/data/kdeedu/kturtle/trekanthjul.logo new file mode 100644 index 00000000000..91d2e396cf3 --- /dev/null +++ b/tde-i18n-nn/data/kdeedu/kturtle/trekanthjul.logo @@ -0,0 +1,24 @@ +# Teiknar eit hjul av trekantar. + +nullstill + +lær trekant X [ + gjenta 3 [ + fram X + snuvenstre 120 + ] +] + +for r = 1 til 30 [ + tøm + gjenta 18 [ + trekant r*r*5 + snuhøgre 20 + ] + vent 1 +] + +vent 3 +tøm + +skriv " Eg er trøtt …" |