| 1 | // Textos del nivel 2 que el panel no enseña a todos: los del consentimiento, |
| 2 | // los mandos de las extensiones con código, sus avisos y diálogos y las líneas |
| 3 | // de «qué funcionará». Se cargan con los módulos de js/ext2/ que los usan; el |
| 4 | // panel de extensiones (js/ext/i18n.js) se queda solo con lo que ve cualquiera. |
| 5 | import { addStrings } from '../ext/i18n.js'; |
| 6 | |
| 7 | export const STRINGS2 = { |
| 8 | es: { |
| 9 | x2From: 'Extensión: {name}', |
| 10 | x2FromAny: 'Una extensión', |
| 11 | x2Dismiss: 'Cerrar el aviso', |
| 12 | x2Cancel: 'Cancelar', |
| 13 | x2Ok: 'Aceptar', |
| 14 | x2PickOne: 'Elige una opción', |
| 15 | x2PickMany: 'Escribe para filtrar (sin espacios) · Espacio marca la resaltada · Intro acepta', |
| 16 | x2PickNone: 'Ninguna coincide.', |
| 17 | x2InputHint: 'Escribe y pulsa Intro', |
| 18 | x2Working: 'trabajando…', |
| 19 | x2OpenTitle: '¿Abrir una dirección externa?', |
| 20 | x2OpenBody: 'Una extensión, o un enlace que enseñó, quiere abrir esta dirección en una pestaña nueva. Todo lo que va en la dirección le llega a ese sitio.', |
| 21 | x2OpenBodyLink: 'Hay extensiones con código en esta pestaña, así que los enlaces del editor preguntan antes. Todo lo que va en la dirección le llega a ese sitio.', |
| 22 | x2OpenSite: 'Sitio:', |
| 23 | x2OpenPuny: '(escrito {host})', |
| 24 | x2OpenNoClick: 'Pedida sin un clic.', |
| 25 | x2OpenInvalid: 'No es una dirección válida: solo se puede copiar.', |
| 26 | x2OpenScheme: 'Las direcciones «{scheme}:» no se abren desde aquí: solo se puede copiar.', |
| 27 | x2OpenCopy: 'Copiar dirección', |
| 28 | x2OpenCopied: 'Copiada', |
| 29 | x2OpenCopyFailed: 'No se pudo copiar', |
| 30 | x2OpenOpen: 'Abrir en pestaña nueva', |
| 31 | x2OpenBlock: 'Bloquear peticiones en esta sesión', |
| 32 | x2PreviewTitle: '¿Previsualizar un fichero que cambió una extensión?', |
| 33 | x2PreviewBody: 'Una extensión cambió este fichero. La vista previa ejecuta los scripts de la página, que pueden salir a internet y leer los ficheros del proyecto que cite.', |
| 34 | x2PreviewAnyway: 'Previsualizar igualmente', |
| 35 | x2AgentWebTitle: '¿Dejar que el agente haga esta petición web?', |
| 36 | x2AgentRunTitle: '¿Dejar que el agente ejecute esta orden?', |
| 37 | x2AgentBody: 'Hay extensiones de Code ejecutándose en esta pestaña. Para que un texto escrito por ellas no pueda sacar tus datos a través del agente, las peticiones web y los runtimes locales preguntan antes.', |
| 38 | x2AgentDeny: 'Denegar', |
| 39 | x2AgentAllow: 'Permitir esta vez', |
| 40 | btnInstallCode: 'Instalar y ejecutar su código…', |
| 41 | btnInstallCodeNamed: 'Instalar {name} y ejecutar su código', |
| 42 | installedCodeMsg: '«{name}» instalada; su código corre en el recinto.', |
| 43 | errNosha: 'Open VSX no publica la suma SHA-256 de esta versión (o no se pudo leer): su código no se instala.', |
| 44 | errNocode: 'Esta extensión no trae código para el navegador.', |
| 45 | errNoentry: 'Su entrada para el navegador no está en el paquete.', |
| 46 | allCodeOff: 'Apagar todo el código de extensiones', |
| 47 | allCodeOffDone: 'Código de extensiones apagado.', |
| 48 | x2Unavail_site: 'Aún no disponible en este sitio: el recinto necesita su propio dominio.', |
| 49 | x2Unavail_browser: 'En esta versión necesita Chrome o Edge.', |
| 50 | x2Unavail_off: 'Desactivado en este sitio.', |
| 51 | x2Unavail_url: 'Desactivado en esta pestaña (?noext2).', |
| 52 | x2Unavail_manifest: 'El recinto de extensiones no está disponible ahora (no se pudo leer su manifiesto).', |
| 53 | x2Err_network: 'no se pudieron bajar sus ficheros{file}', |
| 54 | x2Err_integrity: 'un fichero suyo no coincide con su suma{file}, así que no arrancó nada', |
| 55 | x2Err_timeout: 'no contestó a tiempo', |
| 56 | x2Err_editor: 'el editor de Code no está abierto', |
| 57 | x2Err_violations: 'mandó mensajes no válidos y se paró', |
| 58 | x2Err_fatal: 'falló al arrancar', |
| 59 | x2Err_navigated: 'se recargó solo y se paró', |
| 60 | x2Err_csp: 'se negó a arrancar: su política de seguridad no bloquea la red', |
| 61 | x2Err_other: 'algo falló ({code})', |
| 62 | x2DocBig: 'Las extensiones no ven {path}: pesa más de 5 MB.', |
| 63 | x2DocDiscarded: 'Se descartó un cambio de una extensión porque el fichero cambió mientras tanto.', |
| 64 | keySkip_reserved: 'reservado por Elffuss Code o el navegador', |
| 65 | keySkip_invalid: 'no es un atajo válido', |
| 66 | keySkip_platform: 'no tiene tecla para esta plataforma', |
| 67 | keySkip_chords: 'más de dos pulsaciones', |
| 68 | keySkip_unknown: 'tecla desconocida', |
| 69 | x2Blocked: 'direcciones de extensiones bloqueadas en esta sesión ({n} sin abrir)', |
| 70 | x2Unblock: 'Desbloquear', |
| 71 | x2Unblocked: 'Las extensiones vuelven a poder pedir que se abra una dirección (siempre preguntando).', |
| 72 | x2BlockedDropped: 'No se abrió una dirección que pidió una extensión: están bloqueadas en esta sesión (panel de extensiones).', |
| 73 | x2FocusToast: 'Extensiones: ir al aviso', |
| 74 | x2ToastHint: 'Pulsa {key} para llegar a sus botones.', |
| 75 | lineWorksNow: 'Funciona ya (sin código): {list}', |
| 76 | lineRuns: 'Se ejecuta en el recinto de Code: {list}. Sin internet; solo ve los ficheros que abras.', |
| 77 | lineRunsBare: 'Se ejecuta en el recinto de Code. Sin internet; solo ve los ficheros que abras.', |
| 78 | lineRunsNot: 'Su código no puede ejecutarse aquí: {why}.', |
| 79 | lineRunsNotHere: 'Su código no puede ejecutarse aquí. {why}', |
| 80 | lineProposals: 'Usa APIs propuestas de VS Code, que Code no activa: algunas de sus funciones pueden fallar.', |
| 81 | lineNode: 'Necesita Node: no está disponible en el navegador.', |
| 82 | lineNodeDecl: 'Solo se aplican sus temas, gramáticas y snippets.', |
| 83 | lineUnavailable: 'No aparecerá aquí: {list}', |
| 84 | lineTested: 'Probada en Code: {text}', |
| 85 | lineNotTested: 'Aún no probada en Code.', |
| 86 | snippetsN: '{n} fichero de snippets|{n} ficheros de snippets', |
| 87 | countCommands: '{n} comando|{n} comandos', |
| 88 | countKeys: '{n} atajo|{n} atajos', |
| 89 | countSettings: '{n} ajuste|{n} ajustes', |
| 90 | reasonEngine: 'necesita un VS Code más nuevo que {v}', |
| 91 | reasonProposals: 'usa APIs propuestas de VS Code', |
| 92 | reasonNever: 'nada en Code la arranca', |
| 93 | reasonDeps: 'necesita instalar antes {list}', |
| 94 | reasonCensus: 'falló al probarla en Code', |
| 95 | testedStarts: 'arranca', |
| 96 | testedFormatter: 'formateador', |
| 97 | testedFeatures: 'funciones de lenguaje ({list})', |
| 98 | testedDiagnostics: 'diagnósticos', |
| 99 | testedTooBig: 'demasiado grande para instalarla aquí {e}', |
| 100 | testedUnsupported: 'no soportada: {e}', |
| 101 | testedNever: 'no arranca nunca: nada en Code la dispara', |
| 102 | testedFails: 'no arranca aquí: {e}', |
| 103 | wb_views: 'vistas', |
| 104 | wb_custom_editors: 'editores propios', |
| 105 | wb_notebooks: 'notebooks', |
| 106 | wb_walkthroughs: 'guías', |
| 107 | wb_debugger: 'depurador', |
| 108 | wb_terminal: 'terminal', |
| 109 | wb_tasks: 'tareas', |
| 110 | wb_sign_in: 'inicio de sesión', |
| 111 | wb_chat: 'chat', |
| 112 | wb_MCP_servers: 'servidores MCP', |
| 113 | wb_file_labels: 'etiquetas de ficheros', |
| 114 | wb_menus: 'menús', |
| 115 | wb_status_bar: 'barra de estado', |
| 116 | wb_remote: 'remoto', |
| 117 | wb_TypeScript_plugins: 'plugins de TypeScript', |
| 118 | wb_other: 'otras partes de VS Code', |
| 119 | consentTitle: '¿Ejecutar el código de {name}?', |
| 120 | consentWho: '{publisher} · versión {v} · licencia {l}', |
| 121 | consentBody: 'Verá los ficheros que tengas abiertos y podrá cambiarlos; tú revisas y guardas. No tiene acceso a internet, no puede leer tu proyecto, tus conversaciones ni tus claves, y no puede guardar nada.', |
| 122 | consentRuntime: 'El recinto de extensiones de Code: {mb}, se baja una vez y queda en caché.', |
| 123 | consentExt: 'Esta extensión: {mb}.', |
| 124 | consentExtAlready: 'Esta extensión: ya descargada al instalarla ({mb}).', |
| 125 | consentExtUnknown: 'Esta extensión: se baja de Open VSX al aceptar y se comprueba con su suma SHA-256 publicada.', |
| 126 | consentExtDownload: 'Esta extensión: {mb} que se bajan de Open VSX al aceptar y se comprueban con su suma SHA-256 publicada.', |
| 127 | consentExtChecking: 'Esta extensión: mirando lo que pesa en Open VSX… (se baja al aceptar y se comprueba con su suma SHA-256 publicada).', |
| 128 | consentFile: 'Desde un fichero .vsix: no hay suma publicada con la que comprobarlo.', |
| 129 | consentDecl: 'Instalar sin su código', |
| 130 | consentRun: 'Instalar y ejecutar código', |
| 131 | consentRunOnly: 'Ejecutar código', |
| 132 | codeHead: 'Código en el recinto:', |
| 133 | runCode: 'Ejecutar código', |
| 134 | stopCode: 'Apagar el código', |
| 135 | getCode: 'Ejecutar su código…', |
| 136 | runCodeNamed: 'Ejecutar el código de {name}', |
| 137 | stopCodeNamed: 'Apagar el código de {name}', |
| 138 | getCodeFile: 'Vuelve a instalar el .vsix con su código.', |
| 139 | settingsH: 'Ajustes (JSON)', |
| 140 | settingsFor: 'Ajustes de {name}, en JSON', |
| 141 | settingsSave: 'Guardar ajustes', |
| 142 | settingsSaved: 'Ajustes aplicados.', |
| 143 | settingsBad: 'No vale: {e}', |
| 144 | set_json: 'no es JSON válido ({e})', |
| 145 | set_object: 'tiene que ser un objeto { … }', |
| 146 | set_unknown: 'ajuste desconocido «{k}»', |
| 147 | set_type: '«{k}» debería ser {t}', |
| 148 | set_enum: '«{k}» tiene que ser uno de {list}', |
| 149 | set_big: 'demasiado grande', |
| 150 | stateRuntime: 'el recinto no está en marcha: {e}', |
| 151 | stateNoCode: 'instalada sin su código', |
| 152 | stateOff: 'apagado', |
| 153 | stateRunning: 'en marcha', |
| 154 | stateStarting: 'arrancando…', |
| 155 | stateWaiting: 'lista (arranca al usarla)', |
| 156 | stateError: 'error: {e}', |
| 157 | stateStopped: 'parada', |
| 158 | stateUnsupported: 'no soportada: {e}', |
| 159 | commandsH: 'Comandos', |
| 160 | runCmd: 'Ejecutar', |
| 161 | runCmdNamed: 'Ejecutar {cmd}', |
| 162 | formatterH: 'Formateador ({n} lenguajes)', |
| 163 | formatterFor: 'Formateador de {lang}', |
| 164 | fmtExt: '{name}', |
| 165 | fmtBuiltin: 'el de serie', |
| 166 | skippedH: 'Atajos sin asignar ({n})', |
| 167 | keyConflict: 'ya lo usa {ext}', |
| 168 | logH: 'Registro ({n})', |
| 169 | runtimeRunning: 'Código de extensiones en marcha.', |
| 170 | denials: 'llamadas que el recinto rechazó: {n}', |
| 171 | }, |
| 172 | en: { |
| 173 | x2From: 'Extension: {name}', |
| 174 | x2FromAny: 'An extension', |
| 175 | x2Dismiss: 'Dismiss the notification', |
| 176 | x2Cancel: 'Cancel', |
| 177 | x2Ok: 'OK', |
| 178 | x2PickOne: 'Choose an option', |
| 179 | x2PickMany: 'Type to filter (no spaces) · Space checks the highlighted one · Enter accepts', |
| 180 | x2PickNone: 'Nothing matches.', |
| 181 | x2InputHint: 'Type and press Enter', |
| 182 | x2Working: 'working…', |
| 183 | x2OpenTitle: 'Open an external address?', |
| 184 | x2OpenBody: 'An extension, or a link it showed, wants to open this address in a new tab. Everything in the address reaches that site.', |
| 185 | x2OpenBodyLink: 'Extensions that run code are active in this tab, so links in the editor ask first. Everything in the address reaches that site.', |
| 186 | x2OpenSite: 'Site:', |
| 187 | x2OpenPuny: '(written {host})', |
| 188 | x2OpenNoClick: 'Requested without a click.', |
| 189 | x2OpenInvalid: 'This is not a valid address: it can only be copied.', |
| 190 | x2OpenScheme: 'Addresses of type “{scheme}:” are not opened from here: it can only be copied.', |
| 191 | x2OpenCopy: 'Copy address', |
| 192 | x2OpenCopied: 'Copied', |
| 193 | x2OpenCopyFailed: 'Could not copy', |
| 194 | x2OpenOpen: 'Open in new tab', |
| 195 | x2OpenBlock: 'Block requests for this session', |
| 196 | x2PreviewTitle: 'Preview a file an extension changed?', |
| 197 | x2PreviewBody: 'An extension changed this file. The preview runs the page’s scripts, which can reach the internet and read the project files it references.', |
| 198 | x2PreviewAnyway: 'Preview anyway', |
| 199 | x2AgentWebTitle: 'Let the agent make this web request?', |
| 200 | x2AgentRunTitle: 'Let the agent run this command?', |
| 201 | x2AgentBody: 'Code extensions are running in this tab. To keep text they wrote from sending your data out through the agent, web requests and local runtimes ask first.', |
| 202 | x2AgentDeny: 'Deny', |
| 203 | x2AgentAllow: 'Allow once', |
| 204 | btnInstallCode: 'Install and run its code…', |
| 205 | btnInstallCodeNamed: 'Install {name} and run its code', |
| 206 | installedCodeMsg: '“{name}” installed; its code runs in the sandbox.', |
| 207 | errNosha: 'Open VSX publishes no SHA-256 for this version (or it could not be read): its code is not installed.', |
| 208 | errNocode: 'This extension brings no code for the browser.', |
| 209 | errNoentry: 'Its browser entry is not in the package.', |
| 210 | allCodeOff: 'Turn off all extension code', |
| 211 | allCodeOffDone: 'Extension code turned off.', |
| 212 | x2Unavail_site: 'Not available on this site yet: the sandbox needs its own domain.', |
| 213 | x2Unavail_browser: 'Needs Chrome or Edge in this version.', |
| 214 | x2Unavail_off: 'Turned off on this site.', |
| 215 | x2Unavail_url: 'Turned off for this tab (?noext2).', |
| 216 | x2Unavail_manifest: 'The extension sandbox is not available right now (its manifest could not be read).', |
| 217 | x2Err_network: 'its files could not be downloaded{file}', |
| 218 | x2Err_integrity: 'one of its files does not match its checksum{file}, so nothing was started', |
| 219 | x2Err_timeout: 'it did not answer in time', |
| 220 | x2Err_editor: 'Code’s editor is not open', |
| 221 | x2Err_violations: 'it sent invalid messages and was stopped', |
| 222 | x2Err_fatal: 'it failed while starting', |
| 223 | x2Err_navigated: 'it reloaded on its own and was stopped', |
| 224 | x2Err_csp: 'it refused to start: its security policy does not block the network', |
| 225 | x2Err_other: 'something went wrong ({code})', |
| 226 | x2DocBig: 'Extensions do not see {path}: it is larger than 5 MB.', |
| 227 | x2DocDiscarded: 'An extension’s change was discarded because the file changed meanwhile.', |
| 228 | keySkip_reserved: 'reserved by Elffuss Code or the browser', |
| 229 | keySkip_invalid: 'not a valid keybinding', |
| 230 | keySkip_platform: 'no key for this platform', |
| 231 | keySkip_chords: 'more than two chords', |
| 232 | keySkip_unknown: 'unknown key', |
| 233 | x2Blocked: 'address requests from extensions blocked for this session ({n} not opened)', |
| 234 | x2Unblock: 'Unblock', |
| 235 | x2Unblocked: 'Extensions can ask to open an address again (it always asks you first).', |
| 236 | x2BlockedDropped: 'An address an extension asked for was not opened: they are blocked for this session (Extensions panel).', |
| 237 | x2FocusToast: 'Extensions: Go to the notification', |
| 238 | x2ToastHint: 'Press {key} to reach its buttons.', |
| 239 | lineWorksNow: 'Works now (no code): {list}', |
| 240 | lineRuns: 'Runs in Code’s sandbox: {list}. No internet; sees only the files you open.', |
| 241 | lineRunsBare: 'Runs in Code’s sandbox. No internet; sees only the files you open.', |
| 242 | lineRunsNot: 'Its code can’t run here: {why}.', |
| 243 | lineRunsNotHere: 'Its code can’t run here. {why}', |
| 244 | lineProposals: 'Uses proposed VS Code APIs, which Code doesn’t turn on: some of its features may fail.', |
| 245 | lineNode: 'Needs Node: not available in the browser.', |
| 246 | lineNodeDecl: 'Only its themes, grammars and snippets apply.', |
| 247 | lineUnavailable: 'Won’t appear here: {list}', |
| 248 | lineTested: 'Tested in Code: {text}', |
| 249 | lineNotTested: 'Not tested in Code yet.', |
| 250 | snippetsN: '{n} snippet file|{n} snippet files', |
| 251 | countCommands: '{n} command|{n} commands', |
| 252 | countKeys: '{n} keybinding|{n} keybindings', |
| 253 | countSettings: '{n} setting|{n} settings', |
| 254 | reasonEngine: 'needs a newer VS Code than {v}', |
| 255 | reasonProposals: 'uses proposed VS Code APIs', |
| 256 | reasonNever: 'nothing in Code starts it', |
| 257 | reasonDeps: 'needs {list} installed first', |
| 258 | reasonCensus: 'it failed when tested in Code', |
| 259 | testedStarts: 'starts', |
| 260 | testedFormatter: 'formatter', |
| 261 | testedFeatures: 'language features ({list})', |
| 262 | testedDiagnostics: 'diagnostics', |
| 263 | testedTooBig: 'too large to install here {e}', |
| 264 | testedUnsupported: 'not supported: {e}', |
| 265 | testedNever: 'never starts: nothing in Code triggers it', |
| 266 | testedFails: 'doesn’t start here: {e}', |
| 267 | wb_views: 'views', |
| 268 | wb_custom_editors: 'custom editors', |
| 269 | wb_notebooks: 'notebooks', |
| 270 | wb_walkthroughs: 'walkthroughs', |
| 271 | wb_debugger: 'debugger', |
| 272 | wb_terminal: 'terminal', |
| 273 | wb_tasks: 'tasks', |
| 274 | wb_sign_in: 'sign-in', |
| 275 | wb_chat: 'chat', |
| 276 | wb_MCP_servers: 'MCP servers', |
| 277 | wb_file_labels: 'file labels', |
| 278 | wb_menus: 'menus', |
| 279 | wb_status_bar: 'status bar', |
| 280 | wb_remote: 'remote', |
| 281 | wb_TypeScript_plugins: 'TypeScript plugins', |
| 282 | wb_other: 'other parts of VS Code', |
| 283 | consentTitle: 'Run the code of {name}?', |
| 284 | consentWho: '{publisher} · version {v} · licence {l}', |
| 285 | consentBody: 'It will see the files you have open and can change them; you review and save. It has no internet access, can’t read your project, conversations or keys, and can’t save anything.', |
| 286 | consentRuntime: 'Code’s extension runtime: {mb}, downloaded once and then cached.', |
| 287 | consentExt: 'This extension: {mb}.', |
| 288 | consentExtAlready: 'This extension: already downloaded at install ({mb}).', |
| 289 | consentExtUnknown: 'This extension: downloaded from Open VSX when you accept, and checked against its published SHA-256.', |
| 290 | consentExtDownload: 'This extension: {mb}, downloaded from Open VSX when you accept and checked against its published SHA-256.', |
| 291 | consentExtChecking: 'This extension: checking its size on Open VSX… (downloaded when you accept, and checked against its published SHA-256).', |
| 292 | consentFile: 'From a .vsix file: there is no published SHA-256 to check it against.', |
| 293 | consentDecl: 'Install without its code', |
| 294 | consentRun: 'Install and run code', |
| 295 | consentRunOnly: 'Run code', |
| 296 | codeHead: 'Code in the sandbox:', |
| 297 | runCode: 'Run code', |
| 298 | stopCode: 'Turn off code', |
| 299 | getCode: 'Run its code…', |
| 300 | runCodeNamed: 'Run the code of {name}', |
| 301 | stopCodeNamed: 'Turn off the code of {name}', |
| 302 | getCodeFile: 'Install the .vsix again with its code.', |
| 303 | settingsH: 'Settings (JSON)', |
| 304 | settingsFor: 'Settings of {name}, as JSON', |
| 305 | settingsSave: 'Save settings', |
| 306 | settingsSaved: 'Settings applied.', |
| 307 | settingsBad: 'Not valid: {e}', |
| 308 | set_json: 'not valid JSON ({e})', |
| 309 | set_object: 'it must be an object { … }', |
| 310 | set_unknown: 'unknown setting “{k}”', |
| 311 | set_type: '“{k}” should be {t}', |
| 312 | set_enum: '“{k}” must be one of {list}', |
| 313 | set_big: 'too large', |
| 314 | stateRuntime: 'the sandbox is not running: {e}', |
| 315 | stateNoCode: 'installed without its code', |
| 316 | stateOff: 'off', |
| 317 | stateRunning: 'running', |
| 318 | stateStarting: 'starting…', |
| 319 | stateWaiting: 'ready (starts when first used)', |
| 320 | stateError: 'error: {e}', |
| 321 | stateStopped: 'stopped', |
| 322 | stateUnsupported: 'not supported: {e}', |
| 323 | commandsH: 'Commands', |
| 324 | runCmd: 'Run', |
| 325 | runCmdNamed: 'Run {cmd}', |
| 326 | formatterH: 'Formatter ({n} languages)', |
| 327 | formatterFor: 'Formatter for {lang}', |
| 328 | fmtExt: '{name}', |
| 329 | fmtBuiltin: 'built-in', |
| 330 | skippedH: 'Keybindings not bound ({n})', |
| 331 | keyConflict: 'already used by {ext}', |
| 332 | logH: 'Log ({n})', |
| 333 | runtimeRunning: 'Extension code is running.', |
| 334 | denials: 'calls the sandbox refused: {n}', |
| 335 | }, |
| 336 | }; |
| 337 | addStrings(STRINGS2); |