File tree 3 files changed +19
-12
lines changed
arduino-ide-extension/src/browser
3 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,12 @@ export class IDEUpdaterCommands implements CommandContribution {
52
52
}
53
53
}
54
54
export namespace IDEUpdaterCommands {
55
- export const CHECK_FOR_UPDATES : Command = {
56
- id : 'arduino-ide-check-for-updates' ,
57
- category : 'Arduino' ,
58
- label : 'Check for Arduino IDE updates' ,
59
- } ;
55
+ export const CHECK_FOR_UPDATES : Command = Command . toLocalizedCommand (
56
+ {
57
+ id : 'arduino-ide-check-for-updates' ,
58
+ label : 'Check for Arduino IDE updates' ,
59
+ category : 'Arduino' ,
60
+ } ,
61
+ 'arduino/ide-updater/checkForUpdates'
62
+ ) ;
60
63
}
Original file line number Diff line number Diff line change @@ -18,15 +18,17 @@ const queryString = require('query-string');
18
18
19
19
export namespace SerialPlotterContribution {
20
20
export namespace Commands {
21
- export const OPEN : Command = {
22
- id : 'serial-plotter-open' ,
23
- label : 'Serial Plotter' ,
24
- category : 'Arduino' ,
25
- } ;
21
+ export const OPEN : Command = Command . toLocalizedCommand (
22
+ {
23
+ id : 'serial-plotter-open' ,
24
+ label : 'Serial Plotter' ,
25
+ category : 'Arduino' ,
26
+ } ,
27
+ 'arduino/serial/openSerialPlotter'
28
+ ) ;
29
+
26
30
export const RESET : Command = {
27
31
id : 'serial-plotter-reset' ,
28
- label : 'Reset Serial Plotter' ,
29
- category : 'Arduino' ,
30
32
} ;
31
33
}
32
34
}
Original file line number Diff line number Diff line change 192
192
"visit" : " Visit Arduino.cc"
193
193
},
194
194
"ide-updater" : {
195
+ "checkForUpdates" : " Check for Arduino IDE updates" ,
195
196
"closeAndInstallButton" : " Close and Install" ,
196
197
"closeToInstallNotice" : " Close the software and install the update on your machine." ,
197
198
"downloadButton" : " Download" ,
297
298
"newLineCarriageReturn" : " Both NL & CR" ,
298
299
"noLineEndings" : " No Line Ending" ,
299
300
"notConnected" : " Not connected. Select a board and a port to connect automatically." ,
301
+ "openSerialPlotter" : " Serial Plotter" ,
300
302
"timestamp" : " Timestamp" ,
301
303
"toggleTimestamp" : " Toggle Timestamp"
302
304
},
You can’t perform that action at this time.
0 commit comments