File tree 2 files changed +4
-5
lines changed
arduino-ide-extension/src/browser/library
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -119,10 +119,8 @@ export class LibraryListWidget extends ListWidget<
119
119
message . appendChild ( question ) ;
120
120
const result = await new MessageBoxDialog ( {
121
121
title : nls . localize (
122
- 'arduino/library/dependenciesForLibrary' ,
123
- 'Dependencies for library {0}:{1}' ,
124
- item . name ,
125
- version
122
+ 'arduino/library/installLibraryDependencies' ,
123
+ 'Install library dependencies'
126
124
) ,
127
125
message,
128
126
buttons : [
@@ -201,6 +199,7 @@ class MessageBoxDialog extends AbstractDialog<MessageBoxDialog.Result> {
201
199
const button = this . createButton ( text ) ;
202
200
const isPrimaryButton =
203
201
index === ( options . buttons ? options . buttons . length - 1 : 0 ) ;
202
+ button . title = text ;
204
203
button . classList . add (
205
204
isPrimaryButton ? 'main' : 'secondary' ,
206
205
'message-box-dialog-button'
Original file line number Diff line number Diff line change 254
254
"addZip" : " Add .ZIP Library..." ,
255
255
"arduinoLibraries" : " Arduino libraries" ,
256
256
"contributedLibraries" : " Contributed libraries" ,
257
- "dependenciesForLibrary" : " Dependencies for library {0}:{1}" ,
258
257
"include" : " Include Library" ,
259
258
"installAll" : " Install all" ,
259
+ "installLibraryDependencies" : " Install library dependencies" ,
260
260
"installMissingDependencies" : " Would you like to install all the missing dependencies?" ,
261
261
"installOneMissingDependency" : " Would you like to install the missing dependency?" ,
262
262
"installWithoutDependencies" : " Install without dependencies" ,
You can’t perform that action at this time.
0 commit comments