mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-06-14 16:16:32 +00:00
Localize commands (#1196)
- "check for updates" - "open serial plotter"
This commit is contained in:
parent
99664ee544
commit
fe31d15b9f
@ -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'
|
||||
);
|
||||
}
|
||||
|
@ -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',
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -192,6 +192,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",
|
||||
@ -297,6 +298,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"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user