File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
arduino-core/src/processing/app/packages Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 2828 */
2929package processing .app .packages ;
3030
31+ import static processing .app .I18n .format ;
32+ import static processing .app .I18n .tr ;
33+
3134import java .io .File ;
3235import java .io .IOException ;
3336import java .nio .file .Files ;
4245import cc .arduino .Constants ;
4346import cc .arduino .contributions .VersionHelper ;
4447import cc .arduino .contributions .libraries .ContributedLibraryReference ;
45- import processing .app .I18n ;
4648import processing .app .helpers .PreferencesMap ;
4749import processing .app .packages .UserLibraryFolder .Location ;
4850
@@ -152,8 +154,8 @@ public static UserLibrary create(UserLibraryFolder libFolderDesc) throws IOExcep
152154 String declaredVersion = properties .get ("version" ).trim ();
153155 Optional <Version > version = VersionHelper .valueOf (declaredVersion );
154156 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 ()));
157159 }
158160
159161 UserLibrary res = new UserLibrary ();
You can’t perform that action at this time.
0 commit comments