Skip to content

Commit c633d62

Browse files
committed
Fix translations
- Add translations for new hints viewer status bar item implementation - Remove translation from old notification system for hints viewer - Clean some unnecessary comments
1 parent e90a022 commit c633d62

File tree

14 files changed

+73
-48
lines changed

14 files changed

+73
-48
lines changed

docs_espressif/en/settings.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,6 @@ Extension Behaviour Settings
214214
- Absolute path to shell terminal executable to use (default to VS Code Terminal)
215215
* - **idf.customTerminalExecutableArgs**
216216
- Shell arguments for idf.customTerminalExecutable
217-
* - **idf.showHintsNotification**
218-
- Show pop-up notifications when hints are found for compilation errors (default ``true``)
219217

220218

221219
Custom Tasks for Build and Flash Tasks

l10n/bundle.l10n.es.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,11 @@
238238
"No standard ESP-IDF project was found in this workspace. Do you want to activate the ESP-IDF extension anyway?": "No se encontró ningún proyecto ESP-IDF estándar en este espacio de trabajo. ¿Desea activar la extensión ESP-IDF de todos modos?",
239239
"🔗 Reference Documentation": "🔗 Documentación de Referencia",
240240
"Open {0}": "Abrir {0}",
241-
"💡 Show Hints": "💡 Mostrar Pistas",
242-
"Disable Hints Notifications": "Deshabilitar Notificaciones de Pistas",
243-
"Hint notifications disabled for this workspace. You can re-enable them in settings or access hints manually in ESP-IDF bottom panel": "Las notificaciones de pistas están deshabilitadas para este espacio de trabajo. Puede volver a habilitarlas en la configuración o acceder a las pistas manualmente en el panel inferior de ESP-IDF"
241+
"💡 New ESP-IDF Hints!": "💡 ¡Nuevas Pistas ESP-IDF!",
242+
"ESP-IDF: Hints available. Click to view.": "ESP-IDF: Pistas disponibles. Haga clic para ver.",
243+
"Error Hints": "Pistas de Error",
244+
"Clear All Error Hints": "Borrar Todas las Pistas de Error",
245+
"Clear Build Error Hints": "Borrar Pistas de Error de Compilación",
246+
"Clear OpenOCD Error Hints": "Borrar Pistas de Error de OpenOCD",
247+
"Open Reference": "Abrir Referencia"
244248
}

l10n/bundle.l10n.pt.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,11 @@
239239
"No standard ESP-IDF project was found in this workspace. Do you want to activate the ESP-IDF extension anyway?": "Nenhum projeto ESP-IDF padrão foi encontrado neste espaço de trabalho. Deseja ativar a extensão ESP-IDF mesmo assim?",
240240
"🔗 Reference Documentation": "🔗Documentação de Referência",
241241
"Open {0}": "Abrir {0}",
242-
"💡 Show Hints": "💡 Mostrar Dicas",
243-
"Disable Hints Notifications": "Desabilitar Notificações de Dicas",
244-
"Hint notifications disabled for this workspace. You can re-enable them in settings or access hints manually in ESP-IDF bottom panel": "Notificações de dicas desabilitadas para este workspace. Você pode reabilitá-las nas configurações ou acessar dicas manualmente no painel inferior do ESP-IDF"
242+
"💡 New ESP-IDF Hints!": "💡 Novas Dicas ESP-IDF!",
243+
"ESP-IDF: Hints available. Click to view.": "ESP-IDF: Dicas disponíveis. Clique para visualizar.",
244+
"Error Hints": "Dicas de Erro",
245+
"Clear All Error Hints": "Limpar Todas as Dicas de Erro",
246+
"Clear Build Error Hints": "Limpar Dicas de Erro de Compilação",
247+
"Clear OpenOCD Error Hints": "Limpar Dicas de Erro do OpenOCD",
248+
"Open Reference": "Abrir Referência"
245249
}

l10n/bundle.l10n.ru.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,11 @@
239239
"No standard ESP-IDF project was found in this workspace. Do you want to activate the ESP-IDF extension anyway?": "В этой рабочей области не найден стандартный проект ESP-IDF. Хотите активировать расширение ESP-IDF в любом случае?",
240240
"🔗 Reference Documentation": "🔗 Справочная Документация",
241241
"Open {0}": "Открыть {0}",
242-
"💡 Show Hints": "💡 Показать Подсказки",
243-
"Disable Hints Notifications": "Отключить уведомления с подсказками",
244-
"Hint notifications disabled for this workspace. You can re-enable them in settings or access hints manually in ESP-IDF bottom panel": "Уведомления с подсказками отключены для этой рабочей области. Вы можете включить их в настройках или получить доступ к подсказкам вручную в нижней панели ESP-IDF"
242+
"💡 New ESP-IDF Hints!": "💡 Новые подсказки ESP-IDF!",
243+
"ESP-IDF: Hints available. Click to view.": "ESP-IDF: Подсказки доступны. Нажмите для просмотра.",
244+
"Error Hints": "Подсказки по ошибкам",
245+
"Clear All Error Hints": "Очистить все подсказки по ошибкам",
246+
"Clear Build Error Hints": "Очистить подсказки по ошибкам сборки",
247+
"Clear OpenOCD Error Hints": "Очистить подсказки по ошибкам OpenOCD",
248+
"Open Reference": "Открыть ссылку"
245249
}

l10n/bundle.l10n.zh-CN.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,11 @@
239239
"No standard ESP-IDF project was found in this workspace. Do you want to activate the ESP-IDF extension anyway?": "在当前工作区中未找到标准 ESP-IDF 项目。您是否仍要激活 ESP-IDF 扩展?",
240240
"🔗 Reference Documentation": "🔗 参考文档",
241241
"Open {0}": "打开 {0}",
242-
"💡 Show Hints": "💡 显示提示",
243-
"Disable Hints Notifications": "禁用提示通知",
244-
"Hint notifications disabled for this workspace. You can re-enable them in settings or access hints manually in ESP-IDF bottom panel": "已为此工作区禁用提示通知。您可以在设置中重新启用它们,或手动在 ESP-IDF 底部面板中访问提示"
242+
"💡 New ESP-IDF Hints!": "💡 新的 ESP-IDF 提示!",
243+
"ESP-IDF: Hints available. Click to view.": "ESP-IDF:提示可用。点击查看。",
244+
"Error Hints": "错误提示",
245+
"Clear All Error Hints": "清除所有错误提示",
246+
"Clear Build Error Hints": "清除构建错误提示",
247+
"Clear OpenOCD Error Hints": "清除 OpenOCD 错误提示",
248+
"Open Reference": "打开参考"
245249
}

package.json

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@
313313
"espIdfHints": [
314314
{
315315
"id": "idfErrorHints",
316-
"name": "Error Hints",
317-
"title": "Error Hints ($idfErrorHints.count$)"
316+
"name": "%view.idf.errorHints%",
317+
"title": "%view.idf.errorHints% ($idfErrorHints.count$)"
318318
}
319319
],
320320
"debug": [
@@ -1198,12 +1198,6 @@
11981198
"default": false,
11991199
"description": "%param.useSerialPortVendorProductFilter.title%"
12001200
},
1201-
"idf.showHintsNotification": {
1202-
"type": "boolean",
1203-
"scope": "resource",
1204-
"default": true,
1205-
"description": "%param.showHintsNotification%"
1206-
},
12071201
"idf.usbSerialPortFilters": {
12081202
"type": "object",
12091203
"scope": "application",
@@ -1279,19 +1273,19 @@
12791273
"commands": [
12801274
{
12811275
"command": "espIdf.errorHints.clearAll",
1282-
"title": "Clear All Error Hints",
1276+
"title": "%command.errorHints.clearAll.title%",
12831277
"icon": "$(clear-all)",
12841278
"category": "ESP-IDF"
12851279
},
12861280
{
12871281
"command": "espIdf.errorHints.clearBuildErrors",
1288-
"title": "Clear Build Error Hints",
1282+
"title": "%command.errorHints.clearBuild.title%",
12891283
"icon": "$(trash)",
12901284
"category": "ESP-IDF"
12911285
},
12921286
{
12931287
"command": "espIdf.errorHints.clearOpenOCDErrors",
1294-
"title": "Clear OpenOCD Error Hints",
1288+
"title": "%command.errorHints.clearOpenOCD.title%",
12951289
"icon": "$(trash)",
12961290
"category": "ESP-IDF"
12971291
},

package.nls.es.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
"param.usbSerialPortFilters.vendorId": "Número hexadecimal del USB vendorID como texto.",
183183
"param.usbSerialPortFilters.productId": "Número hexadecimal del USB productID como texto.",
184184
"param.hasWalkthroughBeenShown": "Indica si se ha mostrado el recorrido de bienvenida",
185-
"param.showHintsNotification": "Mostrar notificaciones emergentes cuando se encuentren sugerencias para errores de compilación",
185+
186186
"trace.poll_period.description": "poll_period se establecerá para el rastreo de la aplicación",
187187
"trace.skip_size.description": "skip_size se establecerá para el rastreo de la aplicación",
188188
"trace.stop_tmo.description": "stop_tmo se establecerá para el rastreo de la aplicación",
@@ -201,5 +201,9 @@
201201
"viewContainer.title": "ESP-IDF: Explorador",
202202
"viewWelcome.idfPartitionExplorer": "Muestra la lista de particiones de su dispositivo con la opción de flashear binarios (.bin) en la partición seleccionada.\n\nSeleccione el puerto serial de su dispositivo y haga clic en Actualizar tabla de particiones.",
203203
"viewWelcome.idfSearchResults": "En cualquier editor de archivos abierto, seleccione un texto y haga clic con el botón derecho y seleccione ESP-IDF: Buscar en la documentación para obtener resultados coincidentes aquí.\n\nLos resultados se basan en su idioma actual de VS Code, versión de idf.espIdfPath (si no, la última)",
204-
"viewWelcome.peripheralView": "Muestra los registros periféricos del archivo SVD definido en la configuración idf.svdFilePath durante la sesión de depuración activa"
204+
"viewWelcome.peripheralView": "Muestra los registros periféricos del archivo SVD definido en la configuración idf.svdFilePath durante la sesión de depuración activa",
205+
"view.idf.errorHints": "Pistas de Error",
206+
"command.errorHints.clearAll.title": "Borrar Todas las Pistas de Error",
207+
"command.errorHints.clearBuild.title": "Borrar Pistas de Error de Compilación",
208+
"command.errorHints.clearOpenOCD.title": "Borrar Pistas de Error de OpenOCD"
205209
}

package.nls.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
"param.uncoveredLightTheme": "Background color for uncovered lines in light theme for ESP-IDF coverage",
177177
"param.useIDFKConfigStyle": "Enable/Disable ESP-IDF style validation for Kconfig files",
178178
"param.hintsViewer.title": "Path to the hints file",
179-
"param.showHintsNotification": "Show pop-up notifications when hints are found for compilation errors",
179+
180180
"param.enableSerialPortChipIdRequest.title": "Enable detecting the chip ID and show on serial port selection list",
181181
"param.useSerialPortVendorProductFilter.title": "Use USB Product ID and Vendor ID to filter known Espressif devices",
182182
"param.usbSerialPortFilters.title": "USB serial port Product ID and Vendor ID list to filter",
@@ -201,5 +201,9 @@
201201
"viewContainer.title": "ESP-IDF: Explorer",
202202
"viewWelcome.idfPartitionExplorer": "Show the partition list from your device with the option to flash binaries (.bin) to the selected partition.\n\nSelect your device serial port and click Refresh Partition Table.",
203203
"viewWelcome.idfSearchResults": "On any opened file editor, select some text, right click and select ESP-IDF: Search in Documentation to get matching results here.\n\nResults are based on your current VS Code language and idf.espIdfPath version (latest otherwise).",
204-
"viewWelcome.peripheralView": "Show peripheral registers from SVD files defined in ESP-IDF SVD file path (idf.svdFilePath) configuration setting during active debug session."
204+
"viewWelcome.peripheralView": "Show peripheral registers from SVD files defined in ESP-IDF SVD file path (idf.svdFilePath) configuration setting during active debug session.",
205+
"view.idf.errorHints": "Error Hints",
206+
"command.errorHints.clearAll.title": "Clear All Error Hints",
207+
"command.errorHints.clearBuild.title": "Clear Build Error Hints",
208+
"command.errorHints.clearOpenOCD.title": "Clear OpenOCD Error Hints"
205209
}

package.nls.pt.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
"param.usbSerialPortFilters.vendorId": "Número hexadecimal do USB vendorID como string.",
182182
"param.usbSerialPortFilters.productId": "Número hexadecimal de USB productID como string.",
183183
"param.hasWalkthroughBeenShown": "Mostrar o guia de introdução na inicialização da extensão",
184-
"param.showHintsNotification": "Mostrar notificações pop-up quando dicas forem encontradas para erros de compilação",
184+
185185
"trace.poll_period.description": "poll_period será definido para o apptrace",
186186
"trace.skip_size.description": "skip_size será definido para o apptrace",
187187
"trace.stop_tmo.description": "stop_tmo será definido para o apptrace",
@@ -200,5 +200,9 @@
200200
"viewContainer.title": "ESP-IDF: Explorador",
201201
"viewWelcome.idfPartitionExplorer": "Mostre a lista de partições do seu dispositivo com a opção de atualizar binários (.bin) para a partição selecionada.\n\n",
202202
"viewWelcome.idfSearchResults": "Em qualquer editor de arquivo aberto, selecione algum texto e clique com o botão direito e selecione ESP-IDF: Pesquise na documentação para obter resultados correspondentes aqui.\n\n",
203-
"viewWelcome.peripheralView": "Mostrar registros de periféricos do arquivo SVD definido na configuração ESP-IDF Svd File Path (idf.svdFilePath) durante a sessão de depuração ativa"
203+
"viewWelcome.peripheralView": "Mostrar registros de periféricos do arquivo SVD definido na configuração ESP-IDF Svd File Path (idf.svdFilePath) durante a sessão de depuração ativa",
204+
"view.idf.errorHints": "Dicas de Erro",
205+
"command.errorHints.clearAll.title": "Limpar Todas as Dicas de Erro",
206+
"command.errorHints.clearBuild.title": "Limpar Dicas de Erro de Compilação",
207+
"command.errorHints.clearOpenOCD.title": "Limpar Dicas de Erro do OpenOCD"
204208
}

package.nls.ru.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
"param.usbSerialPortFilters.vendorId": "Шестнадцатеричное число USB Vendor ID в виде строки, например, 0x0403",
183183
"param.usbSerialPortFilters.productId": "Шестнадцатеричное число USB Product ID в виде строки, например, 0x6010",
184184
"param.hasWalkthroughBeenShown": "Показывать руководство по настройке ESP-IDF при первом запуске",
185-
"param.showHintsNotification": "Показывать всплывающие уведомления при обнаружении подсказок для ошибок сборки",
185+
186186
"trace.poll_period.description": "для apptrace будет установлен параметр poll_ period",
187187
"trace.skip_size.description": "для apptrace будет установлен параметр skip_size",
188188
"trace.stop_tmo.description": "для apptrace будет установлен параметр stop_tmo",
@@ -201,5 +201,9 @@
201201
"viewContainer.title": "ESP-IDF: Проводник",
202202
"viewWelcome.idfPartitionExplorer": "Показать список разделов устройства с возможностью перепрошивки бинарников (.bin) в выбранный раздел.\n\nВыберите последовательный порт устройства и кликните 'Обновить таблицу разделов'.",
203203
"viewWelcome.idfSearchResults": "В любом открытом файле редактора выделите текст, кликните правой кнопкой мыши и выберите 'ESP-IDF: Поиск в документации', чтобы получить соответствующие результаты.\n\nРезультаты основаны на вашем текущем языке VS Code и версии idf.espIdfPath (в противном случае последней).",
204-
"viewWelcome.peripheralView": "Показывать периферийные регистры из SVD-файлов, определенных в параметре конфигурации ESP-IDF путь к файлу SVD (idf.svdFilePath) во время активного сеанса отладки."
204+
"viewWelcome.peripheralView": "Показывать периферийные регистры из SVD-файлов, определенных в параметре конфигурации ESP-IDF путь к файлу SVD (idf.svdFilePath) во время активного сеанса отладки.",
205+
"view.idf.errorHints": "Подсказки по ошибкам",
206+
"command.errorHints.clearAll.title": "Очистить все подсказки по ошибкам",
207+
"command.errorHints.clearBuild.title": "Очистить подсказки по ошибкам сборки",
208+
"command.errorHints.clearOpenOCD.title": "Очистить подсказки по ошибкам OpenOCD"
205209
}

0 commit comments

Comments
 (0)