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">un entorno de programación visual</span><span id="blocklyMessage">Blockly</span><span id="codeTooltip">Mira el código JavaScript generado.</span><span id="linkTooltip">Guarda conexión a los bloques. </span><span id="runTooltip">Ejecute el programa definido por los bloques en \\nel área de trabajo. </span><span id="runProgram">Ejecutar el programa</span><span id="resetProgram">Restablecer</span><span id="dialogOk">Aceptar</span><span id="dialogCancel">Cancelar</span><span id="catLogic">Lógica</span><span id="catLoops">Secuencias</span><span id="catMath">Matemáticas</span><span id="catText">Texto</span><span id="catLists">Lista</span><span id="catColour">Color</span><span id="catVariables">Variables</span><span id="catProcedures">Procedimientos</span><span id="httpRequestError">Hubo un problema con la petición.</span><span id="linkAlert">Comparte tus bloques con esta conexión:\n\n%1</span><span id="hashError">Lo siento, el \'%1\' no corresponde con ningún archivo Blockly guardado.</span><span id="xmlError">No se pudo cargar el archivo guardado. ¿Quizá fue creado con otra versión de Blockly?</span><span id="listVariable">lista</span><span id="textVariable">texto</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)">Aceptar</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">Puzle</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">Laberinto</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">Tortuga Grafica</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">Calculadora 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">Codigo</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">Avión</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>';
|
|
};
|