File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
arduino-ide-extension/src/browser/library Expand file tree Collapse file tree 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<
119119 message . appendChild ( question ) ;
120120 const result = await new MessageBoxDialog ( {
121121 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'
126124 ) ,
127125 message,
128126 buttons : [
@@ -201,6 +199,7 @@ class MessageBoxDialog extends AbstractDialog<MessageBoxDialog.Result> {
201199 const button = this . createButton ( text ) ;
202200 const isPrimaryButton =
203201 index === ( options . buttons ? options . buttons . length - 1 : 0 ) ;
202+ button . title = text ;
204203 button . classList . add (
205204 isPrimaryButton ? 'main' : 'secondary' ,
206205 'message-box-dialog-button'
Original file line number Diff line number Diff line change 254254 "addZip" : " Add .ZIP Library..." ,
255255 "arduinoLibraries" : " Arduino libraries" ,
256256 "contributedLibraries" : " Contributed libraries" ,
257- "dependenciesForLibrary" : " Dependencies for library {0}:{1}" ,
258257 "include" : " Include Library" ,
259258 "installAll" : " Install all" ,
259+ "installLibraryDependencies" : " Install library dependencies" ,
260260 "installMissingDependencies" : " Would you like to install all the missing dependencies?" ,
261261 "installOneMissingDependency" : " Would you like to install the missing dependency?" ,
262262 "installWithoutDependencies" : " Install without dependencies" ,
You can’t perform that action at this time.
0 commit comments