File tree 1 file changed +5
-3
lines changed
arduino-core/src/processing/app/packages
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 28
28
*/
29
29
package processing .app .packages ;
30
30
31
+ import static processing .app .I18n .format ;
32
+ import static processing .app .I18n .tr ;
33
+
31
34
import java .io .File ;
32
35
import java .io .IOException ;
33
36
import java .nio .file .Files ;
42
45
import cc .arduino .Constants ;
43
46
import cc .arduino .contributions .VersionHelper ;
44
47
import cc .arduino .contributions .libraries .ContributedLibraryReference ;
45
- import processing .app .I18n ;
46
48
import processing .app .helpers .PreferencesMap ;
47
49
import processing .app .packages .UserLibraryFolder .Location ;
48
50
@@ -152,8 +154,8 @@ public static UserLibrary create(UserLibraryFolder libFolderDesc) throws IOExcep
152
154
String declaredVersion = properties .get ("version" ).trim ();
153
155
Optional <Version > version = VersionHelper .valueOf (declaredVersion );
154
156
if (!version .isPresent ()) {
155
- System .err .println (
156
- I18n . format ("Invalid version '{0}' for library in: {1}" , declaredVersion , libFolder .getAbsolutePath ()));
157
+ System .out .println (
158
+ format (tr ( "Invalid version '{0}' for library in: {1}" ) , declaredVersion , libFolder .getAbsolutePath ()));
157
159
}
158
160
159
161
UserLibrary res = new UserLibrary ();
You can’t perform that action at this time.
0 commit comments