// Textos del nivel 2 que el panel no enseña a todos: los del consentimiento, // los mandos de las extensiones con código, sus avisos y diálogos y las líneas // de «qué funcionará». Se cargan con los módulos de js/ext2/ que los usan; el // panel de extensiones (js/ext/i18n.js) se queda solo con lo que ve cualquiera. import { addStrings } from '../ext/i18n.js'; export const STRINGS2 = { es: { x2From: 'Extensión: {name}', x2FromAny: 'Una extensión', x2Dismiss: 'Cerrar el aviso', x2Cancel: 'Cancelar', x2Ok: 'Aceptar', x2PickOne: 'Elige una opción', x2PickMany: 'Escribe para filtrar (sin espacios) · Espacio marca la resaltada · Intro acepta', x2PickNone: 'Ninguna coincide.', x2InputHint: 'Escribe y pulsa Intro', x2Working: 'trabajando…', x2OpenTitle: '¿Abrir una dirección externa?', 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.', 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.', x2OpenSite: 'Sitio:', x2OpenPuny: '(escrito {host})', x2OpenNoClick: 'Pedida sin un clic.', x2OpenInvalid: 'No es una dirección válida: solo se puede copiar.', x2OpenScheme: 'Las direcciones «{scheme}:» no se abren desde aquí: solo se puede copiar.', x2OpenCopy: 'Copiar dirección', x2OpenCopied: 'Copiada', x2OpenCopyFailed: 'No se pudo copiar', x2OpenOpen: 'Abrir en pestaña nueva', x2OpenBlock: 'Bloquear peticiones en esta sesión', x2PreviewTitle: '¿Previsualizar un fichero que cambió una extensión?', 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.', x2PreviewAnyway: 'Previsualizar igualmente', x2AgentWebTitle: '¿Dejar que el agente haga esta petición web?', x2AgentRunTitle: '¿Dejar que el agente ejecute esta orden?', 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.', x2AgentDeny: 'Denegar', x2AgentAllow: 'Permitir esta vez', btnInstallCode: 'Instalar y ejecutar su código…', btnInstallCodeNamed: 'Instalar {name} y ejecutar su código', installedCodeMsg: '«{name}» instalada; su código corre en el recinto.', errNosha: 'Open VSX no publica la suma SHA-256 de esta versión (o no se pudo leer): su código no se instala.', errNocode: 'Esta extensión no trae código para el navegador.', errNoentry: 'Su entrada para el navegador no está en el paquete.', allCodeOff: 'Apagar todo el código de extensiones', allCodeOffDone: 'Código de extensiones apagado.', x2Unavail_site: 'Aún no disponible en este sitio: el recinto necesita su propio dominio.', x2Unavail_browser: 'En esta versión necesita Chrome o Edge.', x2Unavail_off: 'Desactivado en este sitio.', x2Unavail_url: 'Desactivado en esta pestaña (?noext2).', x2Unavail_manifest: 'El recinto de extensiones no está disponible ahora (no se pudo leer su manifiesto).', x2Err_network: 'no se pudieron bajar sus ficheros{file}', x2Err_integrity: 'un fichero suyo no coincide con su suma{file}, así que no arrancó nada', x2Err_timeout: 'no contestó a tiempo', x2Err_editor: 'el editor de Code no está abierto', x2Err_violations: 'mandó mensajes no válidos y se paró', x2Err_fatal: 'falló al arrancar', x2Err_navigated: 'se recargó solo y se paró', x2Err_csp: 'se negó a arrancar: su política de seguridad no bloquea la red', x2Err_other: 'algo falló ({code})', x2DocBig: 'Las extensiones no ven {path}: pesa más de 5 MB.', x2DocDiscarded: 'Se descartó un cambio de una extensión porque el fichero cambió mientras tanto.', keySkip_reserved: 'reservado por Elffuss Code o el navegador', keySkip_invalid: 'no es un atajo válido', keySkip_platform: 'no tiene tecla para esta plataforma', keySkip_chords: 'más de dos pulsaciones', keySkip_unknown: 'tecla desconocida', x2Blocked: 'direcciones de extensiones bloqueadas en esta sesión ({n} sin abrir)', x2Unblock: 'Desbloquear', x2Unblocked: 'Las extensiones vuelven a poder pedir que se abra una dirección (siempre preguntando).', x2BlockedDropped: 'No se abrió una dirección que pidió una extensión: están bloqueadas en esta sesión (panel de extensiones).', x2FocusToast: 'Extensiones: ir al aviso', x2ToastHint: 'Pulsa {key} para llegar a sus botones.', lineWorksNow: 'Funciona ya (sin código): {list}', lineRuns: 'Se ejecuta en el recinto de Code: {list}. Sin internet; solo ve los ficheros que abras.', lineRunsBare: 'Se ejecuta en el recinto de Code. Sin internet; solo ve los ficheros que abras.', lineRunsNot: 'Su código no puede ejecutarse aquí: {why}.', lineRunsNotHere: 'Su código no puede ejecutarse aquí. {why}', lineProposals: 'Usa APIs propuestas de VS Code, que Code no activa: algunas de sus funciones pueden fallar.', lineNode: 'Necesita Node: no está disponible en el navegador.', lineNodeDecl: 'Solo se aplican sus temas, gramáticas y snippets.', lineUnavailable: 'No aparecerá aquí: {list}', lineTested: 'Probada en Code: {text}', lineNotTested: 'Aún no probada en Code.', snippetsN: '{n} fichero de snippets|{n} ficheros de snippets', countCommands: '{n} comando|{n} comandos', countKeys: '{n} atajo|{n} atajos', countSettings: '{n} ajuste|{n} ajustes', reasonEngine: 'necesita un VS Code más nuevo que {v}', reasonProposals: 'usa APIs propuestas de VS Code', reasonNever: 'nada en Code la arranca', reasonDeps: 'necesita instalar antes {list}', reasonCensus: 'falló al probarla en Code', testedStarts: 'arranca', testedFormatter: 'formateador', testedFeatures: 'funciones de lenguaje ({list})', testedDiagnostics: 'diagnósticos', testedTooBig: 'demasiado grande para instalarla aquí {e}', testedUnsupported: 'no soportada: {e}', testedNever: 'no arranca nunca: nada en Code la dispara', testedFails: 'no arranca aquí: {e}', wb_views: 'vistas', wb_custom_editors: 'editores propios', wb_notebooks: 'notebooks', wb_walkthroughs: 'guías', wb_debugger: 'depurador', wb_terminal: 'terminal', wb_tasks: 'tareas', wb_sign_in: 'inicio de sesión', wb_chat: 'chat', wb_MCP_servers: 'servidores MCP', wb_file_labels: 'etiquetas de ficheros', wb_menus: 'menús', wb_status_bar: 'barra de estado', wb_remote: 'remoto', wb_TypeScript_plugins: 'plugins de TypeScript', wb_other: 'otras partes de VS Code', consentTitle: '¿Ejecutar el código de {name}?', consentWho: '{publisher} · versión {v} · licencia {l}', 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.', consentRuntime: 'El recinto de extensiones de Code: {mb}, se baja una vez y queda en caché.', consentExt: 'Esta extensión: {mb}.', consentExtAlready: 'Esta extensión: ya descargada al instalarla ({mb}).', consentExtUnknown: 'Esta extensión: se baja de Open VSX al aceptar y se comprueba con su suma SHA-256 publicada.', consentExtDownload: 'Esta extensión: {mb} que se bajan de Open VSX al aceptar y se comprueban con su suma SHA-256 publicada.', consentExtChecking: 'Esta extensión: mirando lo que pesa en Open VSX… (se baja al aceptar y se comprueba con su suma SHA-256 publicada).', consentFile: 'Desde un fichero .vsix: no hay suma publicada con la que comprobarlo.', consentDecl: 'Instalar sin su código', consentRun: 'Instalar y ejecutar código', consentRunOnly: 'Ejecutar código', codeHead: 'Código en el recinto:', runCode: 'Ejecutar código', stopCode: 'Apagar el código', getCode: 'Ejecutar su código…', runCodeNamed: 'Ejecutar el código de {name}', stopCodeNamed: 'Apagar el código de {name}', getCodeFile: 'Vuelve a instalar el .vsix con su código.', settingsH: 'Ajustes (JSON)', settingsFor: 'Ajustes de {name}, en JSON', settingsSave: 'Guardar ajustes', settingsSaved: 'Ajustes aplicados.', settingsBad: 'No vale: {e}', set_json: 'no es JSON válido ({e})', set_object: 'tiene que ser un objeto { … }', set_unknown: 'ajuste desconocido «{k}»', set_type: '«{k}» debería ser {t}', set_enum: '«{k}» tiene que ser uno de {list}', set_big: 'demasiado grande', stateRuntime: 'el recinto no está en marcha: {e}', stateNoCode: 'instalada sin su código', stateOff: 'apagado', stateRunning: 'en marcha', stateStarting: 'arrancando…', stateWaiting: 'lista (arranca al usarla)', stateError: 'error: {e}', stateStopped: 'parada', stateUnsupported: 'no soportada: {e}', commandsH: 'Comandos', runCmd: 'Ejecutar', runCmdNamed: 'Ejecutar {cmd}', formatterH: 'Formateador ({n} lenguajes)', formatterFor: 'Formateador de {lang}', fmtExt: '{name}', fmtBuiltin: 'el de serie', skippedH: 'Atajos sin asignar ({n})', keyConflict: 'ya lo usa {ext}', logH: 'Registro ({n})', runtimeRunning: 'Código de extensiones en marcha.', denials: 'llamadas que el recinto rechazó: {n}', }, en: { x2From: 'Extension: {name}', x2FromAny: 'An extension', x2Dismiss: 'Dismiss the notification', x2Cancel: 'Cancel', x2Ok: 'OK', x2PickOne: 'Choose an option', x2PickMany: 'Type to filter (no spaces) · Space checks the highlighted one · Enter accepts', x2PickNone: 'Nothing matches.', x2InputHint: 'Type and press Enter', x2Working: 'working…', x2OpenTitle: 'Open an external address?', x2OpenBody: 'An extension, or a link it showed, wants to open this address in a new tab. Everything in the address reaches that site.', x2OpenBodyLink: 'Extensions that run code are active in this tab, so links in the editor ask first. Everything in the address reaches that site.', x2OpenSite: 'Site:', x2OpenPuny: '(written {host})', x2OpenNoClick: 'Requested without a click.', x2OpenInvalid: 'This is not a valid address: it can only be copied.', x2OpenScheme: 'Addresses of type “{scheme}:” are not opened from here: it can only be copied.', x2OpenCopy: 'Copy address', x2OpenCopied: 'Copied', x2OpenCopyFailed: 'Could not copy', x2OpenOpen: 'Open in new tab', x2OpenBlock: 'Block requests for this session', x2PreviewTitle: 'Preview a file an extension changed?', 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.', x2PreviewAnyway: 'Preview anyway', x2AgentWebTitle: 'Let the agent make this web request?', x2AgentRunTitle: 'Let the agent run this command?', 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.', x2AgentDeny: 'Deny', x2AgentAllow: 'Allow once', btnInstallCode: 'Install and run its code…', btnInstallCodeNamed: 'Install {name} and run its code', installedCodeMsg: '“{name}” installed; its code runs in the sandbox.', errNosha: 'Open VSX publishes no SHA-256 for this version (or it could not be read): its code is not installed.', errNocode: 'This extension brings no code for the browser.', errNoentry: 'Its browser entry is not in the package.', allCodeOff: 'Turn off all extension code', allCodeOffDone: 'Extension code turned off.', x2Unavail_site: 'Not available on this site yet: the sandbox needs its own domain.', x2Unavail_browser: 'Needs Chrome or Edge in this version.', x2Unavail_off: 'Turned off on this site.', x2Unavail_url: 'Turned off for this tab (?noext2).', x2Unavail_manifest: 'The extension sandbox is not available right now (its manifest could not be read).', x2Err_network: 'its files could not be downloaded{file}', x2Err_integrity: 'one of its files does not match its checksum{file}, so nothing was started', x2Err_timeout: 'it did not answer in time', x2Err_editor: 'Code’s editor is not open', x2Err_violations: 'it sent invalid messages and was stopped', x2Err_fatal: 'it failed while starting', x2Err_navigated: 'it reloaded on its own and was stopped', x2Err_csp: 'it refused to start: its security policy does not block the network', x2Err_other: 'something went wrong ({code})', x2DocBig: 'Extensions do not see {path}: it is larger than 5 MB.', x2DocDiscarded: 'An extension’s change was discarded because the file changed meanwhile.', keySkip_reserved: 'reserved by Elffuss Code or the browser', keySkip_invalid: 'not a valid keybinding', keySkip_platform: 'no key for this platform', keySkip_chords: 'more than two chords', keySkip_unknown: 'unknown key', x2Blocked: 'address requests from extensions blocked for this session ({n} not opened)', x2Unblock: 'Unblock', x2Unblocked: 'Extensions can ask to open an address again (it always asks you first).', x2BlockedDropped: 'An address an extension asked for was not opened: they are blocked for this session (Extensions panel).', x2FocusToast: 'Extensions: Go to the notification', x2ToastHint: 'Press {key} to reach its buttons.', lineWorksNow: 'Works now (no code): {list}', lineRuns: 'Runs in Code’s sandbox: {list}. No internet; sees only the files you open.', lineRunsBare: 'Runs in Code’s sandbox. No internet; sees only the files you open.', lineRunsNot: 'Its code can’t run here: {why}.', lineRunsNotHere: 'Its code can’t run here. {why}', lineProposals: 'Uses proposed VS Code APIs, which Code doesn’t turn on: some of its features may fail.', lineNode: 'Needs Node: not available in the browser.', lineNodeDecl: 'Only its themes, grammars and snippets apply.', lineUnavailable: 'Won’t appear here: {list}', lineTested: 'Tested in Code: {text}', lineNotTested: 'Not tested in Code yet.', snippetsN: '{n} snippet file|{n} snippet files', countCommands: '{n} command|{n} commands', countKeys: '{n} keybinding|{n} keybindings', countSettings: '{n} setting|{n} settings', reasonEngine: 'needs a newer VS Code than {v}', reasonProposals: 'uses proposed VS Code APIs', reasonNever: 'nothing in Code starts it', reasonDeps: 'needs {list} installed first', reasonCensus: 'it failed when tested in Code', testedStarts: 'starts', testedFormatter: 'formatter', testedFeatures: 'language features ({list})', testedDiagnostics: 'diagnostics', testedTooBig: 'too large to install here {e}', testedUnsupported: 'not supported: {e}', testedNever: 'never starts: nothing in Code triggers it', testedFails: 'doesn’t start here: {e}', wb_views: 'views', wb_custom_editors: 'custom editors', wb_notebooks: 'notebooks', wb_walkthroughs: 'walkthroughs', wb_debugger: 'debugger', wb_terminal: 'terminal', wb_tasks: 'tasks', wb_sign_in: 'sign-in', wb_chat: 'chat', wb_MCP_servers: 'MCP servers', wb_file_labels: 'file labels', wb_menus: 'menus', wb_status_bar: 'status bar', wb_remote: 'remote', wb_TypeScript_plugins: 'TypeScript plugins', wb_other: 'other parts of VS Code', consentTitle: 'Run the code of {name}?', consentWho: '{publisher} · version {v} · licence {l}', 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.', consentRuntime: 'Code’s extension runtime: {mb}, downloaded once and then cached.', consentExt: 'This extension: {mb}.', consentExtAlready: 'This extension: already downloaded at install ({mb}).', consentExtUnknown: 'This extension: downloaded from Open VSX when you accept, and checked against its published SHA-256.', consentExtDownload: 'This extension: {mb}, downloaded from Open VSX when you accept and checked against its published SHA-256.', consentExtChecking: 'This extension: checking its size on Open VSX… (downloaded when you accept, and checked against its published SHA-256).', consentFile: 'From a .vsix file: there is no published SHA-256 to check it against.', consentDecl: 'Install without its code', consentRun: 'Install and run code', consentRunOnly: 'Run code', codeHead: 'Code in the sandbox:', runCode: 'Run code', stopCode: 'Turn off code', getCode: 'Run its code…', runCodeNamed: 'Run the code of {name}', stopCodeNamed: 'Turn off the code of {name}', getCodeFile: 'Install the .vsix again with its code.', settingsH: 'Settings (JSON)', settingsFor: 'Settings of {name}, as JSON', settingsSave: 'Save settings', settingsSaved: 'Settings applied.', settingsBad: 'Not valid: {e}', set_json: 'not valid JSON ({e})', set_object: 'it must be an object { … }', set_unknown: 'unknown setting “{k}”', set_type: '“{k}” should be {t}', set_enum: '“{k}” must be one of {list}', set_big: 'too large', stateRuntime: 'the sandbox is not running: {e}', stateNoCode: 'installed without its code', stateOff: 'off', stateRunning: 'running', stateStarting: 'starting…', stateWaiting: 'ready (starts when first used)', stateError: 'error: {e}', stateStopped: 'stopped', stateUnsupported: 'not supported: {e}', commandsH: 'Commands', runCmd: 'Run', runCmdNamed: 'Run {cmd}', formatterH: 'Formatter ({n} languages)', formatterFor: 'Formatter for {lang}', fmtExt: '{name}', fmtBuiltin: 'built-in', skippedH: 'Keybindings not bound ({n})', keyConflict: 'already used by {ext}', logH: 'Log ({n})', runtimeRunning: 'Extension code is running.', denials: 'calls the sandbox refused: {n}', }, }; addStrings(STRINGS2);