@@ -100,15 +100,15 @@ public void updateIndex() throws Exception {
100
100
101
101
public void install (ContributedLibrary lib , ContributedLibrary replacedLib ) throws Exception {
102
102
if (lib .isInstalled ()) {
103
- System .out .println (I18n .format (_ ("Library is already installed: \" {0}\" " ), lib .getName () + " " + lib .getParsedVersion ()));
103
+ System .out .println (I18n .format (_ ("Library is already installed: {0}" ), lib .getName () + _ ( " version " ) + lib .getParsedVersion ()));
104
104
return ;
105
105
}
106
106
107
107
final MultiStepProgress progress = new MultiStepProgress (3 );
108
108
109
109
// Step 1: Download library
110
110
try {
111
- downloader .download (lib , progress , I18n .format (_ ("Downloading library: \" {0}\" " ), lib .getName ()));
111
+ downloader .download (lib , progress , I18n .format (_ ("Downloading library: {0}" ), lib .getName ()));
112
112
} catch (InterruptedException e ) {
113
113
// Download interrupted... just exit
114
114
return ;
@@ -119,7 +119,7 @@ public void install(ContributedLibrary lib, ContributedLibrary replacedLib) thro
119
119
// all the temporary folders and abort installation.
120
120
121
121
// Step 2: Unpack library on the correct location
122
- progress .setStatus (I18n .format (_ ("Installing library: \" {0}\" " ), lib .getName ()));
122
+ progress .setStatus (I18n .format (_ ("Installing library: {0}" ), lib .getName ()));
123
123
onProgress (progress );
124
124
File libsFolder = indexer .getSketchbookLibrariesFolder ();
125
125
File tmpFolder = FileUtils .createTempFolderIn (libsFolder );
@@ -150,7 +150,7 @@ public void remove(ContributedLibrary lib) throws IOException {
150
150
final MultiStepProgress progress = new MultiStepProgress (2 );
151
151
152
152
// Step 1: Remove library
153
- progress .setStatus (I18n .format (_ ("Removing library: \" {0}\" " ), lib .getName ()));
153
+ progress .setStatus (I18n .format (_ ("Removing library: {0}" ), lib .getName ()));
154
154
onProgress (progress );
155
155
FileUtils .recursiveDelete (lib .getInstalledFolder ());
156
156
progress .stepDone ();
0 commit comments