{namespace turtlepage} /** * This is a Closure Template. * * To regenerate just en.js, run this command: * java -jar ../_soy/SoyToJsSrcCompiler.jar --outputPathFormat generated/en.js --srcs ../common.soy,template.soy * * To regenerate all files, see: trunk/apps/common.soy */ /** * Translated messages for use in JavaScript. */ {template .messages} {call apps.messages /}
// Block text and their associated tooltips and URLs (interleaved to // assist with translation). {msg meaning="Turtle.moveTooltip" desc="tooltip - In this and subsequent messages, 'turtle' refers to a stylized turtle on the screen to represent a position and direction. This imaginary turtle is carrying a pen in its tail, so moving the turtle draws a line (or curve, etc.). You are encouraged to play with the [https://blockly-demo.appspot.com/static/apps/turtle/index.html Turtle application] before doing this translation."}Moves the turtle forward or backward by the specified amount.{/msg} {msg meaning="Turtle.moveForward" desc="[[Translating:Blockly#Drop-Down_Menus dropdown]] - Infinitive or imperative of a verb telling a turtle to move (walk) in the direction he/she is facing. This is followed by a number indicating how far (how many pixels) to go. Prefer a translation that has text in common with the translation of 'move backward'. See [[Translating:Blockly#Drop-Down_Menus]]."}move forward by{/msg} {msg meaning="Turtle.moveBackward" desc="[[Translating:Blockly#Drop-Down_Menus dropdown]] - Infinitive or imperative of a verb telling a turtle to move (walk) in the direction opposite to where he/she is facing. This is followed by a number indicating how far (how many pixels) to go. Prefer a translation that has text in common with the translation of 'move forward'."}move backward by{/msg} {msg meaning="Turtle.turnTooltip" desc="'Left' means counter-clockwise/anti-clockwise, and 'right' means clockwise."}Turns the turtle left or right by the specified number of degrees.{/msg} {msg meaning="Turtle.turnRight" desc="[[Translating:Blockly#Drop-Down_Menus dropdown]] - Infinitive or imperative of verb telling a turtle to rotate clockwise. This is followed by a number indicating how far (how many degrees) to turn. Prefer a translation that has text in common with the translation of 'turn left by'."}turn right by{/msg} {msg meaning="Turtle.turnLeft" desc="[[Translating:Blockly#Drop-Down_Menus dropdown]] - Infinitive or imperative of verb telling a turtle to rotate counter-clockwise (anti-clockwise). This is followed by a number indicating how far (how many degrees) to turn. Prefer a translation that has text in common with the translation of 'turn right by'."}turn left by{/msg} {msg meaning="Turtle.widthTooltip" desc="tooltip"}Changes the width of the pen.{/msg} {msg meaning="Turtle.setWidth" desc="block text - Infinitive or imperative of a verb to set the width of the lines that should be drawn in the future by an imaginary pen. This is followed by a number indicating the width in pixels (1 or greater)."}set width to{/msg} {msg meaning="Turtle.colourTooltip" desc="tooltip - Changes the colour of ink in the pen carried by the turtle."}Changes the colour of the pen.{/msg} {msg meaning="Turtle.setColour" desc="block text - Infinitive or imperative of a verb to specify the colour of the lines that should be drawn in the future by an imaginary pen. This is followed by a block showing the colour"}set colour to{/msg} {msg meaning="Turtle.penTooltip" desc="tooltip - Lifting the pen off the writing surface prevents anything from being drawn. Lowering it (after it has been lifted) enables it to draw again."}Lifts or lowers the pen, to stop or start drawing.{/msg} {msg meaning="Turtle.penUp" desc="block text - Infinitive or imperative of a verb to lift up a pen so that moving it leaves no mark on the writing surface."}pen up{/msg} {msg meaning="Turtle.penDown" desc="block text - Infinitive or imperative of a verb to lower a raised pen so that moving it leaves a mark on the writing surface."}pen down{/msg} {msg meaning="Turtle.turtleVisibilityTooltip" desc="tooltip"}Makes the turtle (circle and arrow) visible or invisible.{/msg} {msg meaning="Turtle.hideTurtle" desc="block text - Infinitive or imperative of a verb telling a turtle to hide itself (become invisible)."}hide turtle{/msg} {msg meaning="Turtle.showTurtle" desc="block text - Infinitive or imperative of a verb telling a turtle to show itself (become visible after having been invisible)."}show turtle{/msg} {msg meaning="Turtle.printHelpUrl" desc="URL - Information about printing or typography."}https://en.wikipedia.org/wiki/Printing{/msg} {msg meaning="Turtle.printTooltip" desc="tooltip - Note that 'print' refers to displaying text on the screen, not on an external printer."}Draws text in the turtle's direction at its location.{/msg} {msg meaning="Turtle.print" desc="block text - Infinitive or imperative of a verb telling a turtle to display text on the screen. This is always followed by a block indicating what should be printed."}print{/msg} {msg meaning="Turtle.fontHelpUrl" desc="URL - Information about typographic fonts."}https://en.wikipedia.org/wiki/Font{/msg} {msg meaning="Turtle.fontTooltip" desc="tooltip - This is shown on the block that lets the user specify the font [family], size, and style that should be used for subsequent displays of text."}Sets the font used by the print block.{/msg} {msg meaning="Turtle.font" desc="block text - This precedes a dropdown menu specifying the typographic font [family] that should be used when displaying text."}font{/msg} {msg meaning="Turtle.fontSize" desc="block text - This precedes a number specifying the size of the typographic font that should be used when displaying text. This appears in the same block as 'font', so that word should not be repeated."}font size{/msg} {msg meaning="Turtle.fontNormal" desc="[[Translating:Blockly#Drop-Down_Menus dropdown]] - Specifies that a typographic font should be normal (neither in italics or bold)."}normal{/msg} {msg meaning="Turtle.fontBold" desc="[[Translating:Blockly#Drop-Down_Menus dropdown]] - Specifies that a typographic font should be [https://en.wikipedia.org/wiki/Emphasis_(typography) bold]."}bold{/msg} {msg meaning="Turtle.fontItalic" desc="[[Translating:Blockly#Drop-Down_Menus dropdown]] - Specifies that a typographic font should be [https://en.wikipedia.org/wiki/Italics italic]."}italic{/msg} // Misc text. {msg meaning="Turtle.unloadWarning" desc="alert - This is shown if the user attempts to close the browser tab containing the page or navigate to a different page to prevent them from accidentally losing their program in progress."}Leaving this page will result in the loss of your work.{/msg}
{/template} /** * Web page structure. */ {template .start} {call .messages /}

{msg meaning="Apps.blocklyMessage" desc="IBID"}Blockly{/msg} {sp}:{sp} {msg meaning="Turtle.title" desc="title - Specifies that this is Blockly's '''Turtle Graphics''' application. Should you wish to, you can read more about [https://en.wikipedia.org/wiki/Turtle_graphics turtle graphics]."} Turtle Graphics {/msg}

{call .toolbox /}
{call apps.dialog /} {call apps.codeDialog /} {call apps.storageDialog /} {/template} /** * Toolbox. */ {template .toolbox} {/template}