i18n(canvas): the WiFi panel caret tooltip is translated

The split-button caret's title was hardcoded 'WiFi panel'; now
editor.canvas.wifiPanel across all nine locales.
This commit is contained in:
David Montero Crespo 2026-08-27 20:31:39 +02:00
parent 0251bd25a0
commit 34162e2de1
10 changed files with 28 additions and 19 deletions

View File

@ -2967,7 +2967,7 @@ export const SimulatorCanvas = ({ headerSlot }: SimulatorCanvasProps = {}) => {
<span <span
className={`canvas-wifi-badge canvas-wifi-${status} canvas-wifi-clickable`} className={`canvas-wifi-badge canvas-wifi-${status} canvas-wifi-clickable`}
style={{ marginLeft: -4, paddingLeft: 2, paddingRight: 4 }} style={{ marginLeft: -4, paddingLeft: 2, paddingRight: 4 }}
title="WiFi panel" title={t('editor.canvas.wifiPanel')}
onClick={(e) => { onClick={(e) => {
e.stopPropagation(); e.stopPropagation();
togglePanel(); togglePanel();

View File

@ -176,7 +176,8 @@
"mpyUnavailable": "MicroPython-Projekte können von hier aus nicht geflasht werden: nur Arduino-Sketches", "mpyUnavailable": "MicroPython-Projekte können von hier aus nicht geflasht werden: nur Arduino-Sketches",
"ready": "Den kompilierten Sketch auf ein echtes, per USB angeschlossenes Board flashen", "ready": "Den kompilierten Sketch auf ein echtes, per USB angeschlossenes Board flashen",
"willCompile": "Den Sketch kompilieren und auf ein echtes, per USB angeschlossenes Board flashen" "willCompile": "Den Sketch kompilieren und auf ein echtes, per USB angeschlossenes Board flashen"
} },
"wifiPanel": "WLAN-Panel"
}, },
"componentPicker": { "componentPicker": {
"title": "Komponente hinzufügen", "title": "Komponente hinzufügen",
@ -525,4 +526,4 @@
"openEditor": "Editor öffnen" "openEditor": "Editor öffnen"
} }
} }
} }

View File

@ -178,7 +178,8 @@
"mpyUnavailable": "MicroPython projects cannot be flashed from here — Arduino sketches only", "mpyUnavailable": "MicroPython projects cannot be flashed from here — Arduino sketches only",
"ready": "Flash the compiled sketch to a real USB-attached board", "ready": "Flash the compiled sketch to a real USB-attached board",
"willCompile": "Compile the sketch and flash it to a real USB-attached board" "willCompile": "Compile the sketch and flash it to a real USB-attached board"
} },
"wifiPanel": "WiFi panel"
}, },
"componentPicker": { "componentPicker": {
"title": "Add Component", "title": "Add Component",
@ -535,4 +536,4 @@
"openEditor": "Open Editor" "openEditor": "Open Editor"
} }
} }
} }

View File

@ -178,7 +178,8 @@
"mpyUnavailable": "Los proyectos MicroPython no se pueden grabar desde aquí: solo sketches de Arduino", "mpyUnavailable": "Los proyectos MicroPython no se pueden grabar desde aquí: solo sketches de Arduino",
"ready": "Grabar el sketch compilado en una placa real conectada por USB", "ready": "Grabar el sketch compilado en una placa real conectada por USB",
"willCompile": "Compilar el sketch y grabarlo en una placa real conectada por USB" "willCompile": "Compilar el sketch y grabarlo en una placa real conectada por USB"
} },
"wifiPanel": "Panel de WiFi"
}, },
"componentPicker": { "componentPicker": {
"title": "Añadir componente", "title": "Añadir componente",
@ -535,4 +536,4 @@
"openEditor": "Abrir editor" "openEditor": "Abrir editor"
} }
} }
} }

View File

@ -176,7 +176,8 @@
"mpyUnavailable": "Les projets MicroPython ne peuvent pas être flashés depuis ici : sketches Arduino uniquement", "mpyUnavailable": "Les projets MicroPython ne peuvent pas être flashés depuis ici : sketches Arduino uniquement",
"ready": "Flasher le sketch compilé sur une carte réelle branchée en USB", "ready": "Flasher le sketch compilé sur une carte réelle branchée en USB",
"willCompile": "Compiler le sketch et le flasher sur une carte réelle branchée en USB" "willCompile": "Compiler le sketch et le flasher sur une carte réelle branchée en USB"
} },
"wifiPanel": "Panneau WiFi"
}, },
"componentPicker": { "componentPicker": {
"title": "Ajouter un composant", "title": "Ajouter un composant",
@ -525,4 +526,4 @@
"openEditor": "Ouvrir l'éditeur" "openEditor": "Ouvrir l'éditeur"
} }
} }
} }

View File

@ -176,7 +176,8 @@
"mpyUnavailable": "I progetti MicroPython non si possono caricare da qui: solo sketch Arduino", "mpyUnavailable": "I progetti MicroPython non si possono caricare da qui: solo sketch Arduino",
"ready": "Carica lo sketch compilato su una scheda reale collegata via USB", "ready": "Carica lo sketch compilato su una scheda reale collegata via USB",
"willCompile": "Compila lo sketch e caricalo su una scheda reale collegata via USB" "willCompile": "Compila lo sketch e caricalo su una scheda reale collegata via USB"
} },
"wifiPanel": "Pannello WiFi"
}, },
"componentPicker": { "componentPicker": {
"title": "Aggiungi componente", "title": "Aggiungi componente",
@ -525,4 +526,4 @@
"openEditor": "Apri Editor" "openEditor": "Apri Editor"
} }
} }
} }

View File

@ -176,7 +176,8 @@
"mpyUnavailable": "MicroPython プロジェクトはここから書き込めません(Arduino スケッチのみ)", "mpyUnavailable": "MicroPython プロジェクトはここから書き込めません(Arduino スケッチのみ)",
"ready": "コンパイル済みスケッチを USB 接続の実機に書き込みます", "ready": "コンパイル済みスケッチを USB 接続の実機に書き込みます",
"willCompile": "スケッチをコンパイルして USB 接続の実機に書き込みます" "willCompile": "スケッチをコンパイルして USB 接続の実機に書き込みます"
} },
"wifiPanel": "WiFiパネル"
}, },
"componentPicker": { "componentPicker": {
"title": "コンポーネントを追加", "title": "コンポーネントを追加",
@ -525,4 +526,4 @@
"openEditor": "エディタを開く" "openEditor": "エディタを開く"
} }
} }
} }

View File

@ -176,7 +176,8 @@
"mpyUnavailable": "Projetos MicroPython não podem ser gravados daqui: só sketches Arduino", "mpyUnavailable": "Projetos MicroPython não podem ser gravados daqui: só sketches Arduino",
"ready": "Gravar o sketch compilado em uma placa real conectada por USB", "ready": "Gravar o sketch compilado em uma placa real conectada por USB",
"willCompile": "Compilar o sketch e gravá-lo em uma placa real conectada por USB" "willCompile": "Compilar o sketch e gravá-lo em uma placa real conectada por USB"
} },
"wifiPanel": "Painel WiFi"
}, },
"componentPicker": { "componentPicker": {
"title": "Adicionar Componente", "title": "Adicionar Componente",
@ -525,4 +526,4 @@
"openEditor": "Abrir Editor" "openEditor": "Abrir Editor"
} }
} }
} }

View File

@ -176,7 +176,8 @@
"mpyUnavailable": "Проекты MicroPython отсюда не прошиваются: только скетчи Arduino", "mpyUnavailable": "Проекты MicroPython отсюда не прошиваются: только скетчи Arduino",
"ready": "Прошить скомпилированный скетч на реальную плату по USB", "ready": "Прошить скомпилированный скетч на реальную плату по USB",
"willCompile": "Скомпилировать скетч и прошить его на реальную плату по USB" "willCompile": "Скомпилировать скетч и прошить его на реальную плату по USB"
} },
"wifiPanel": "Панель WiFi"
}, },
"componentPicker": { "componentPicker": {
"title": "Добавить компонент", "title": "Добавить компонент",
@ -525,4 +526,4 @@
"openEditor": "Открыть редактор" "openEditor": "Открыть редактор"
} }
} }
} }

View File

@ -176,7 +176,8 @@
"mpyUnavailable": "MicroPython 项目不能从这里烧录:仅支持 Arduino 程序", "mpyUnavailable": "MicroPython 项目不能从这里烧录:仅支持 Arduino 程序",
"ready": "把编译好的程序烧录到 USB 连接的实体板", "ready": "把编译好的程序烧录到 USB 连接的实体板",
"willCompile": "编译程序并烧录到 USB 连接的实体板" "willCompile": "编译程序并烧录到 USB 连接的实体板"
} },
"wifiPanel": "WiFi 面板"
}, },
"componentPicker": { "componentPicker": {
"title": "添加元件", "title": "添加元件",
@ -525,4 +526,4 @@
"openEditor": "打开编辑器" "openEditor": "打开编辑器"
} }
} }
} }