diff --git a/arduino-ide-extension/src/browser/ide-updater/ide-updater-commands.ts b/arduino-ide-extension/src/browser/ide-updater/ide-updater-commands.ts index fb98a30be..2ab2b754a 100644 --- a/arduino-ide-extension/src/browser/ide-updater/ide-updater-commands.ts +++ b/arduino-ide-extension/src/browser/ide-updater/ide-updater-commands.ts @@ -52,9 +52,12 @@ export class IDEUpdaterCommands implements CommandContribution { } } export namespace IDEUpdaterCommands { - export const CHECK_FOR_UPDATES: Command = { - id: 'arduino-ide-check-for-updates', - category: 'Arduino', - label: 'Check for Arduino IDE updates', - }; + export const CHECK_FOR_UPDATES: Command = Command.toLocalizedCommand( + { + id: 'arduino-ide-check-for-updates', + label: 'Check for Arduino IDE updates', + category: 'Arduino', + }, + 'arduino/ide-updater/checkForUpdates' + ); } diff --git a/arduino-ide-extension/src/browser/serial/plotter/plotter-frontend-contribution.ts b/arduino-ide-extension/src/browser/serial/plotter/plotter-frontend-contribution.ts index 0e9d6bbcc..1a4c84483 100644 --- a/arduino-ide-extension/src/browser/serial/plotter/plotter-frontend-contribution.ts +++ b/arduino-ide-extension/src/browser/serial/plotter/plotter-frontend-contribution.ts @@ -18,15 +18,17 @@ const queryString = require('query-string'); export namespace SerialPlotterContribution { export namespace Commands { - export const OPEN: Command = { - id: 'serial-plotter-open', - label: 'Serial Plotter', - category: 'Arduino', - }; + export const OPEN: Command = Command.toLocalizedCommand( + { + id: 'serial-plotter-open', + label: 'Serial Plotter', + category: 'Arduino', + }, + 'arduino/serial/openSerialPlotter' + ); + export const RESET: Command = { id: 'serial-plotter-reset', - label: 'Reset Serial Plotter', - category: 'Arduino', }; } } diff --git a/i18n/en.json b/i18n/en.json index 3dcee3556..773313a80 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -190,6 +190,7 @@ "visit": "Visit Arduino.cc" }, "ide-updater": { + "checkForUpdates": "Check for Arduino IDE updates", "closeAndInstallButton": "Close and Install", "closeToInstallNotice": "Close the software and install the update on your machine.", "downloadButton": "Download", @@ -294,6 +295,7 @@ "newLineCarriageReturn": "Both NL & CR", "noLineEndings": "No Line Ending", "notConnected": "Not connected. Select a board and a port to connect automatically.", + "openSerialPlotter": "Serial Plotter", "timestamp": "Timestamp", "toggleTimestamp": "Toggle Timestamp" },