i18n(examples): la galeria, toda en ingles

Velxio es internacional y su galeria estaba mezclada. Tres focos:

- examples-robot-desktop: el codigo que el ejemplo ENTREGA al usuario
  llevaba 33 comentarios en castellano ("Tiempo del ultimo movimiento
  detectado", "Cola de estados") y 7 cadenas que el sketch imprime por
  serie ("INICIO DE LA LECTURA DE SENSORES", "Movimiento DETECTADO").
  Traducido todo y reescrito en ASCII, como el resto de la galeria.
- examples.ts: siete comentarios mios en castellano, de cuando anadi las
  resistencias en serie a los LEDs. El resto del fichero estaba en ingles;
  los deje incoherentes.

Sin cambios de comportamiento: solo texto. Los tests de galeria siguen en
verde (167).
This commit is contained in:
David Montero Crespo 2026-07-30 15:22:05 +02:00
parent 31c722b593
commit b567ba2faf
2 changed files with 22 additions and 21 deletions

File diff suppressed because one or more lines are too long

View File

@ -6074,9 +6074,9 @@ void loop() {
components: [ components: [
{ type: 'wokwi-pushbutton', id: 'btn1', x: 420, y: 120, properties: {} }, { type: 'wokwi-pushbutton', id: 'btn1', x: 420, y: 120, properties: {} },
{ type: 'wokwi-led', id: 'led1', x: 420, y: 260, properties: { color: 'red' } }, { type: 'wokwi-led', id: 'led1', x: 420, y: 260, properties: { color: 'red' } },
// 220 ohm entre cada GPIO y su LED — (5V - ~2V) / 220R ~= 14 mA, por debajo // 220 ohm between each GPIO and its LED — (5V - ~2V) / 220R ~= 14 mA,
// de los 20 mA del LED. La resistencia en serie que le faltaba: sin ella el verificador de // under the LED's 20 mA. This is the series resistor it was missing:
// circuito calcula un cortocircuito y se niega a ejecutar el ejemplo. // without it the circuit checker computes a short and refuses to run.
{ type: 'wokwi-resistor', id: 'r-led1', x: 420, y: 200, properties: { value: '220' } }, { type: 'wokwi-resistor', id: 'r-led1', x: 420, y: 200, properties: { value: '220' } },
], ],
wires: [ wires: [
@ -6275,9 +6275,9 @@ void loop() {
{ type: 'wokwi-led', id: 'led7', x: 620, y: 80, properties: { color: 'purple' } }, { type: 'wokwi-led', id: 'led7', x: 620, y: 80, properties: { color: 'purple' } },
{ type: 'wokwi-led', id: 'led8', x: 660, y: 80, properties: { color: 'white' } }, { type: 'wokwi-led', id: 'led8', x: 660, y: 80, properties: { color: 'white' } },
{ type: 'wokwi-led', id: 'led9', x: 700, y: 80, properties: { color: 'red' } }, { type: 'wokwi-led', id: 'led9', x: 700, y: 80, properties: { color: 'red' } },
// 220 ohm entre cada GPIO y su LED — (5V - ~2V) / 220R ~= 14 mA, por debajo // 220 ohm between each GPIO and its LED — (5V - ~2V) / 220R ~= 14 mA,
// de los 20 mA del LED. Una resistencia en serie por LED. Sin ellas el verificador de circuito // under the LED's 20 mA. One series resistor per LED: without them the
// ve un cortocircuito y bloquea el Run del ejemplo entero. // circuit checker sees a short and blocks Run for the whole example.
{ type: 'wokwi-resistor', id: 'mr-led2', x: 420, y: 20, properties: { value: '220' } }, { type: 'wokwi-resistor', id: 'mr-led2', x: 420, y: 20, properties: { value: '220' } },
{ type: 'wokwi-resistor', id: 'mr-led3', x: 460, y: 20, properties: { value: '220' } }, { type: 'wokwi-resistor', id: 'mr-led3', x: 460, y: 20, properties: { value: '220' } },
{ type: 'wokwi-resistor', id: 'mr-led4', x: 500, y: 20, properties: { value: '220' } }, { type: 'wokwi-resistor', id: 'mr-led4', x: 500, y: 20, properties: { value: '220' } },
@ -6487,8 +6487,8 @@ void loop() {
{ type: 'wokwi-led', id: 'mled7', x: 620, y: 80, properties: { color: 'purple' } }, { type: 'wokwi-led', id: 'mled7', x: 620, y: 80, properties: { color: 'purple' } },
{ type: 'wokwi-led', id: 'mled8', x: 660, y: 80, properties: { color: 'white' } }, { type: 'wokwi-led', id: 'mled8', x: 660, y: 80, properties: { color: 'white' } },
{ type: 'wokwi-led', id: 'mled9', x: 700, y: 80, properties: { color: 'red' } }, { type: 'wokwi-led', id: 'mled9', x: 700, y: 80, properties: { color: 'red' } },
// 220 ohm entre cada GPIO y su LED — (5V - ~2V) / 220R ~= 14 mA, por debajo // 220 ohm between each GPIO and its LED — (5V - ~2V) / 220R ~= 14 mA,
// de los 20 mA del LED. Una resistencia en serie por LED, como en el resto de la galeria. // under the LED's 20 mA. One series resistor per LED, as everywhere else.
{ type: 'wokwi-resistor', id: 'msr-mled2', x: 420, y: 20, properties: { value: '220' } }, { type: 'wokwi-resistor', id: 'msr-mled2', x: 420, y: 20, properties: { value: '220' } },
{ type: 'wokwi-resistor', id: 'msr-mled3', x: 460, y: 20, properties: { value: '220' } }, { type: 'wokwi-resistor', id: 'msr-mled3', x: 460, y: 20, properties: { value: '220' } },
{ type: 'wokwi-resistor', id: 'msr-mled4', x: 500, y: 20, properties: { value: '220' } }, { type: 'wokwi-resistor', id: 'msr-mled4', x: 500, y: 20, properties: { value: '220' } },
@ -6855,10 +6855,11 @@ void loop() {
}`, }`,
components: [ components: [
{ type: 'wokwi-pushbutton', id: 'c3-btn1', x: 440, y: 120, properties: {} }, { type: 'wokwi-pushbutton', id: 'c3-btn1', x: 440, y: 120, properties: {} },
// 220 ohm en serie con el LED — nunca cuelgues un LED directo de un GPIO. // 220 ohm in series with the LED — never hang an LED straight off a
// (3.3V - ~2.8V del azul) / 220R ~= 2 mA, holgadamente por debajo de los 20 mA // GPIO. (3.3V - ~2.8V for the blue one) / 220R ~= 2 mA, comfortably
// que aguanta. Sin ella el verificador de circuito calcula 506 mA y, con razon, // under the 20 mA it takes. Without it the circuit checker computes
// se niega a ejecutar: en una placa de verdad ese LED dura un suspiro. // 506 mA and rightly refuses to run: on real hardware that LED would
// not last long.
{ type: 'wokwi-resistor', id: 'c3-r-led', x: 440, y: 200, properties: { value: '220' } }, { type: 'wokwi-resistor', id: 'c3-r-led', x: 440, y: 200, properties: { value: '220' } },
{ type: 'wokwi-led', id: 'c3-led-btn', x: 440, y: 260, properties: { color: 'blue' } }, { type: 'wokwi-led', id: 'c3-led-btn', x: 440, y: 260, properties: { color: 'blue' } },
], ],
@ -7416,9 +7417,9 @@ void loop() {
}`, }`,
components: [ components: [
{ type: 'wokwi-pushbutton', id: 'pico-btn1', x: 440, y: 120, properties: {} }, { type: 'wokwi-pushbutton', id: 'pico-btn1', x: 440, y: 120, properties: {} },
// 220 ohm en serie con el LED — igual que en el resto de ejemplos. Un LED // 220 ohm in series with the LED — as in every other example. An LED
// colgado directo de un GPIO se pasa del limite de corriente y el verificador // hung straight off a GPIO goes over the current limit and the circuit
// de circuito lo bloquea, con razon. // checker blocks it, rightly.
{ type: 'wokwi-resistor', id: 'pico-r-led', x: 440, y: 200, properties: { value: '220' } }, { type: 'wokwi-resistor', id: 'pico-r-led', x: 440, y: 200, properties: { value: '220' } },
{ type: 'wokwi-led', id: 'pico-led-btn', x: 440, y: 260, properties: { color: 'yellow' } }, { type: 'wokwi-led', id: 'pico-led-btn', x: 440, y: 260, properties: { color: 'yellow' } },
], ],