mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
46 lines
4.4 KiB
JavaScript
46 lines
4.4 KiB
JavaScript
// This file was automatically generated from common.soy.
|
|
// Please don't edit this file by hand.
|
|
|
|
if (typeof apps == 'undefined') { var apps = {}; }
|
|
|
|
|
|
apps.messages = function(opt_data, opt_ignored) {
|
|
return '<div style="display: none"><span id="subtitle">n\'ambient ëd programassion visual</span><span id="blocklyMessage">Blockly</span><span id="codeTooltip">Vëdde ël còdes JavaScript generà.</span><span id="linkTooltip">Argistré e lijé ai blòch.</span><span id="runTooltip">Fé andé ël programa definì dai blòch ant lë \\nspassi ëd travaj. </span><span id="runProgram">Fé andé ël programa</span><span id="resetProgram">Buté torna coma al prinsipi</span><span id="dialogOk">Va bin</span><span id="dialogCancel">Anulé</span><span id="catLogic">Lògica</span><span id="catLoops">Liasse</span><span id="catMath">Matemàtica</span><span id="catText">Test</span><span id="catLists">Liste</span><span id="catColour">Color</span><span id="catVariables">Variàbij</span><span id="catProcedures">Procedure</span><span id="httpRequestError">A-i é staje un problema con l\'arcesta.</span><span id="linkAlert">Ch\'a partagia ij sò blòch grassie a sta liura: %1</span><span id="hashError">An dëspias, \'%1% a corëspond a gnun programa salvà.</span><span id="xmlError">A l\'é nen podusse carié so archivi salvà. Miraco a l\'é stàit creà con na version diferenta ëd Blockly?</span><span id="listVariable">lista</span><span id="textVariable">test</span></div>';
|
|
};
|
|
|
|
|
|
apps.dialog = function(opt_data, opt_ignored) {
|
|
return '<div id="dialogShadow" class="dialogAnimate"></div><div id="dialogBorder"></div><div id="dialog"></div>';
|
|
};
|
|
|
|
|
|
apps.codeDialog = function(opt_data, opt_ignored) {
|
|
return '<div id="dialogCode" class="dialogHiddenContent"><pre id="containerCode"></pre>' + apps.ok(null) + '</div>';
|
|
};
|
|
|
|
|
|
apps.storageDialog = function(opt_data, opt_ignored) {
|
|
return '<div id="dialogStorage" class="dialogHiddenContent"><div id="containerStorage"></div>' + apps.ok(null) + '</div>';
|
|
};
|
|
|
|
|
|
apps.ok = function(opt_data, opt_ignored) {
|
|
return '<div class="farSide" style="padding: 1ex 3ex 0"><button class="secondary" onclick="BlocklyApps.hideDialog(true)">Va bin</button></div>';
|
|
};
|
|
|
|
;
|
|
// This file was automatically generated from template.soy.
|
|
// Please don't edit this file by hand.
|
|
|
|
if (typeof appsIndex == 'undefined') { var appsIndex = {}; }
|
|
|
|
|
|
appsIndex.messages = function(opt_data, opt_ignored) {
|
|
return apps.messages(null) + '<div style="display: none"><span id="indexTitle">Blockly Apps</ span><span id="indexFooter">Blockly is free and open source. To contribute code or translations to Blockly, or to use Blockly in your own app, visit %1.<span></div>';
|
|
};
|
|
|
|
|
|
appsIndex.start = function(opt_data, opt_ignored) {
|
|
return appsIndex.messages(null) + '<h1>Blockly Apps</h1><p>Blockly is a graphical programming environment. Below are some sample applications that use Blockly.<table><tr><td><a href="puzzle/index.html"><img src="index/puzzle.png" height=80 width=100></a></td><td><div><a href="puzzle/index.html">S-ciapatesta</a></div><div>Learn to use Blockly\'s interface.</div></td></tr><tr><td><a href="maze/index.html"><img src="index/maze.png" height=80 width=100></a></td><td><div><a href="maze/index.html">Labirint</a></div><div>Use Blockly to solve a maze.</div></td></tr><tr><td><a href="turtle/index.html"><img src="index/turtle.png" height=80 width=100></a></td><td><div><a href="turtle/index.html">Bissa copera dissegnatris</a></div><div>Use Blockly to draw.</div></td></tr><tr><td><a href="graph/index.html"><img src="index/graph.png" height=80 width=100></a></td><td><div><a href="graph/index.html">Calculatris gràfica</a></div><div>Plot functions with Blockly.</div></td></tr><tr><td><a href="code/index.html"><img src="index/code.png" height=80 width=100></a></td><td><div><a href="code/index.html">Còdes</a></div><div>Export a Blockly program into JavaScript, Python or XML.</div></td></tr><tr><td><a href="plane/index.html"><img src="index/plane.png" height=80 width=100></a></td><td><div><a href="plane/index.html">Avion</a></div><div>Solve a math problem with one or two variables.</div></td></tr><tr><td><a href="blockfactory/index.html"><img src="index/blockfactory.png" height=80 width=100></a></td><td><div><a href="blockfactory/index.html">Block Factory</a></div><div>Build custom blocks using Blockly.</div></td></tr></table><p><span id="footer_prefix"></span><a href="http://blockly.googlecode.com/">blockly.googlecode.com</a><span id="footer_suffix"></span>';
|
|
};
|