Skip to content

Commit ada7b41

Browse files
committed
Print library name when installing library via library manager
1 parent 87e2e68 commit ada7b41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arduino-core/src/cc/arduino/contributions/libraries/LibraryInstaller.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public void install(ContributedLibrary lib, ContributedLibrary replacedLib) thro
106106

107107
// Step 1: Download library
108108
try {
109-
downloader.download(lib, progress, _("Downloading library."));
109+
downloader.download(lib, progress, _("Downloading library: \"" + lib.getName() + "\""));
110110
} catch (InterruptedException e) {
111111
// Download interrupted... just exit
112112
return;
@@ -117,7 +117,7 @@ public void install(ContributedLibrary lib, ContributedLibrary replacedLib) thro
117117
// all the temporary folders and abort installation.
118118

119119
// Step 2: Unpack library on the correct location
120-
progress.setStatus(_("Installing library..."));
120+
progress.setStatus(_("Installing library: \"" + lib.getName() + "\""));
121121
onProgress(progress);
122122
File libsFolder = indexer.getSketchbookLibrariesFolder();
123123
File tmpFolder = FileUtils.createTempFolderIn(libsFolder);
@@ -148,7 +148,7 @@ public void remove(ContributedLibrary lib) throws IOException {
148148
final MultiStepProgress progress = new MultiStepProgress(2);
149149

150150
// Step 1: Remove library
151-
progress.setStatus(_("Removing library..."));
151+
progress.setStatus(_("Removing library: \"" + lib.getName() + "\""));
152152
onProgress(progress);
153153
FileUtils.recursiveDelete(lib.getInstalledFolder());
154154
progress.stepDone();

0 commit comments

Comments
 (0)