|
| 1 | +var language = { |
| 2 | + 'code_snippets': { |
| 3 | + 'title': 'Fragmentos de Codigo', |
| 4 | + 'description': "Code snippets are short blocks of code to re-use in your own programs. There are snippets for most common things you'll want to do using MicroPython.", |
| 5 | + 'instructions': "Select one of the snippets below, or type the snippet's trigger then tap the TAB key.", |
| 6 | + 'trigger_heading': 'trigger', |
| 7 | + 'description_heading': 'description', |
| 8 | + 'docs': 'create a comment to describe your code', |
| 9 | + 'wh': 'while some condition is True, keep looping over some code', |
| 10 | + 'with': 'do some stuff with something assigned to a name', |
| 11 | + 'cl': 'create a new class that defines the behaviour of a new type of object', |
| 12 | + 'def': 'define a named function that takes some arguments and optionally add a description', |
| 13 | + 'if': 'if some condition is True, do something', |
| 14 | + 'ei': 'else if some other condition is True, do something', |
| 15 | + 'el': 'else do some other thing', |
| 16 | + 'for': 'for each item in a collection of items do something with each item', |
| 17 | + 'try': 'try doing something and handle exceptions (errors)' |
| 18 | + }, |
| 19 | + 'share': { |
| 20 | + 'title': 'Share Code', |
| 21 | + 'instructions': 'Use a password and optional hint (to help you remember the password) to securely create a link to share your code with others.', |
| 22 | + 'passphrase': 'Password: ', |
| 23 | + 'hint': 'Password hint: ', |
| 24 | + 'button': 'Create Link', |
| 25 | + 'description': 'This URL points to your code:', |
| 26 | + 'shortener': 'This is a short version of the link:' |
| 27 | + }, |
| 28 | + 'decrypt': { |
| 29 | + 'title': 'Decrypt Source Code', |
| 30 | + 'instructions': 'Enter a password to decrypt the source code.', |
| 31 | + 'passphrase': 'Password: ', |
| 32 | + 'button': 'Decrypt' |
| 33 | + }, |
| 34 | + 'alerts': { |
| 35 | + 'download': 'Safari has a bug that means your work will be downloaded as an un-named file. Please rename it to something ending in .hex. Alternatively, use a browser such as Firefox or Chrome. They do not suffer from this bug.', |
| 36 | + 'save': 'Safari has a bug that means your work will be downloaded as an un-named file. Please rename it to something ending in .py. Alternatively, use a browser such as Firefox or Chrome. They do not suffer from this bug.', |
| 37 | + 'load_code': 'Oops! Could not load the code into the hex file.', |
| 38 | + 'unrecognised_hex': "Sorry, we couldn't recognise this file", |
| 39 | + 'snippets': 'Snippets are disabled when blockly is enabled.', |
| 40 | + 'error': 'Error:\n', |
| 41 | + 'empty': 'The Python file does not have any content.', |
| 42 | + 'no_python': 'Could not find valid Python code in the hex file.', |
| 43 | + 'no_script': 'Hex file does not contain a Python script.', |
| 44 | + 'no_main': 'The hex file does not contain a main.py file.', |
| 45 | + 'cant_add_file': 'Could not add file to the system:', |
| 46 | + 'module_added': 'The "{{module_name}}" module has been added to the filesystem.', |
| 47 | + 'module_out_of_space': 'Could not add file to the system as there is no storage space left.' |
| 48 | + }, |
| 49 | + 'help': { |
| 50 | + 'docs-link': { |
| 51 | + 'title':'Ver la documentación de MicroPython', |
| 52 | + 'label':'Documentación' |
| 53 | + }, |
| 54 | + 'support-link': { |
| 55 | + 'title':'Obtenga apoyo para su micro:bit en una nueva pestaña', |
| 56 | + 'label':'Soporte' |
| 57 | + }, |
| 58 | + 'help-link': { |
| 59 | + 'title':'Abra la ayuda para este editor en una pestaña nueva', |
| 60 | + 'label':'Ayuda' |
| 61 | + }, |
| 62 | + 'issues-link': { |
| 63 | + 'title':'Ver problemas abiertos para el editor de Python en GitHub', |
| 64 | + 'label':'Bug Tracker' |
| 65 | + }, |
| 66 | + 'feedback-link': { |
| 67 | + 'title':'Envíanos tus comentarios sobre el editor de Python', |
| 68 | + 'label':'Enviar Comentarios' |
| 69 | + }, |
| 70 | + 'editor-ver': 'Versión del Editor:', |
| 71 | + 'mp-ver': 'Versión de MicroPython:' |
| 72 | + }, |
| 73 | + 'confirms': { |
| 74 | + 'quit': "Some of your changes have not been saved. Quit anyway?", |
| 75 | + 'blocks': "You have unsaved code. Using blocks will change your code. You may lose your changes. Do you want to continue?", |
| 76 | + 'replace_main': 'Adding a main.py file will replace the code in the editor!', |
| 77 | + 'replace_file': 'Do you want to replace the "{{file_name}}" file?', |
| 78 | + 'replace_module': 'Do you want to replace the "{{module_name}}" module?', |
| 79 | + 'download_py_multiple': 'This project contains multiple files that will not be saved using this format.\nWe recommend downloading the Hex file, which contains your entire project and can be loaded back into the editor.\n\n Are you sure you want to download the {{file_name}} file only?' |
| 80 | + }, |
| 81 | + 'code': { |
| 82 | + 'start': "# Add your Python code here. E.g.\n" + |
| 83 | + "from microbit import *\n\n\n" + |
| 84 | + "while True:\n" + |
| 85 | + " display.scroll('Hello, World!')\n" + |
| 86 | + " display.show(Image.HEART)\n" + |
| 87 | + " sleep(2000)\n" |
| 88 | + }, |
| 89 | + 'webusb': { |
| 90 | + 'err': { |
| 91 | + 'flash': { |
| 92 | + 'update-req': 'You need to <a target="_blank" href="https://microbit.org/guide/firmware/">update your micro:bit firmware', |
| 93 | + 'clear-connect': 'Another process is connected to this device.</div><div>Close any other tabs that may be using WebUSB (e.g. MakeCode, Python Editor), or unplug and replug the micro:bit before trying again.', |
| 94 | + 'restart-microbit': 'Please restart your micro:bit and try again' |
| 95 | + }, |
| 96 | + 'serial': { |
| 97 | + 'update-req':'<a target="_blank" href="https://support.microbit.org/support/solutions/articles/19000019131-how-to-upgrade-the-firmware-on-the-micro-bit">Update your micro:bit firmware</a> to make use of this feature!', |
| 98 | + 'clear-connect':'Another process is connected to this device.</div><div>Close any other tabs that may be using WebUSB (e.g. MakeCode, Python Editor), or unplug and replug the micro:bit before trying again.', |
| 99 | + 'restart-microbit':'Please restart your micro:bit and try again' |
| 100 | + }, |
| 101 | + }, |
| 102 | + 'close': 'Close', |
| 103 | + 'request-repl': 'Click here or press CTRL-C to enter the REPL', |
| 104 | + 'flashing-text': 'Flashing micro:bit' |
| 105 | + }, |
| 106 | + 'load': { |
| 107 | + 'show-files' : 'Mostrar Archivos', |
| 108 | + 'load-title': 'Cargar', |
| 109 | + 'instructions': 'Arrastre y suelte aqui un archivo .hex o .py para abrirlo.', |
| 110 | + 'submit': 'Cargar', |
| 111 | + 'save-title': 'Guardar', |
| 112 | + 'save-hex' : 'Descargar Proyecto Hex', |
| 113 | + 'save-py' : 'Descargar Script de Python', |
| 114 | + 'fs-title': 'Archivos', |
| 115 | + 'toggle-file': 'O busque un archivo', |
| 116 | + 'fs-add-file': 'Agregar archivo', |
| 117 | + 'hide-files': 'Ocultar Archivos', |
| 118 | + 'td-filename': 'Nombre de archivo', |
| 119 | + 'td-size': 'Tamaño', |
| 120 | + 'fs-space-free':'disponible', |
| 121 | + 'remove-but' : 'Borrar', |
| 122 | + 'save-but': 'Guardar' |
| 123 | + }, |
| 124 | + 'static-strings': { |
| 125 | + 'buttons': { |
| 126 | + 'command-download': { |
| 127 | + 'title': 'Descargue un archivo hex para flashear el micro:bit', |
| 128 | + 'label': 'Descargar' |
| 129 | + }, |
| 130 | + 'command-disconnect': { |
| 131 | + 'title': 'Desconectarse del micro:bit', |
| 132 | + 'label': 'Disconnect' |
| 133 | + }, |
| 134 | + 'command-flash': { |
| 135 | + 'title': 'Flash el proyecto directamente al micro:bit', |
| 136 | + 'label': 'Flash' |
| 137 | + }, |
| 138 | + 'command-files': { |
| 139 | + 'title': 'Cargar/Guardar archivos', |
| 140 | + 'label': 'Cargar/Guardar' |
| 141 | + }, |
| 142 | + 'command-serial': { |
| 143 | + 'title': 'Conecte el micro:bit a través de serie', |
| 144 | + 'label': 'Abrir Serie', |
| 145 | + 'title-close': 'Cierra la conexión en serie y vuelva al editor.', |
| 146 | + 'label-close': 'Cerrar Serie' |
| 147 | + }, |
| 148 | + 'command-connect': { |
| 149 | + 'title': 'Conéctea al micro:bit', |
| 150 | + 'label': 'Conectar' |
| 151 | + }, |
| 152 | + 'command-options': { |
| 153 | + 'title': 'Cambie la configuración del editor', |
| 154 | + 'label': 'Opciones Beta' |
| 155 | + }, |
| 156 | + 'command-blockly': { |
| 157 | + 'title': 'Haga clic para crear código con blockly', |
| 158 | + 'label': 'Blockly' |
| 159 | + }, |
| 160 | + 'command-snippet': { |
| 161 | + 'title': 'Haga clic para seleccionar un fragmento (acceso directo de código)', |
| 162 | + 'label': 'Fragmentos' |
| 163 | + }, |
| 164 | + 'command-help': { |
| 165 | + 'title': 'Descubre recursos útiles', |
| 166 | + 'label': 'Ayuda' |
| 167 | + }, |
| 168 | + 'command-language': { |
| 169 | + 'title': 'Seleccionar Idioma', |
| 170 | + 'label': 'Idioma' |
| 171 | + }, |
| 172 | + 'command-share': { |
| 173 | + 'title': 'Crear un enlace para compartir tu script', |
| 174 | + 'label': 'Compartir' |
| 175 | + }, |
| 176 | + 'command-zoom-in': { |
| 177 | + 'title': 'Aumentar zoom' |
| 178 | + }, |
| 179 | + 'command-zoom-out': { |
| 180 | + 'title': 'Disminuir zoom' |
| 181 | + } |
| 182 | + }, |
| 183 | + 'script-name': { |
| 184 | + 'label': 'Nombre del Script' |
| 185 | + }, |
| 186 | + 'options-dropdown': { |
| 187 | + 'autocomplete': 'Autocompletar', |
| 188 | + 'on-enter': 'Al presionar Intro', |
| 189 | + 'lang-select': 'Seleccionar Idioma:' |
| 190 | + } |
| 191 | + } |
| 192 | +}; |
0 commit comments