@@ -343,35 +343,35 @@ public Base(String[] args) throws Exception {
343343 if (args [i ].equals ("--board" )) {
344344 i ++;
345345 if (i >= args .length )
346- showError (null , "Argument required for --board" , 3 );
346+ showError (null , _ ( "Argument required for --board" ) , 3 );
347347 selectBoard = args [i ];
348348 continue ;
349349 }
350350 if (args [i ].equals ("--port" )) {
351351 i ++;
352352 if (i >= args .length )
353- showError (null , "Argument required for --port" , 3 );
353+ showError (null , _ ( "Argument required for --port" ) , 3 );
354354 selectPort = args [i ];
355355 continue ;
356356 }
357357 if (args [i ].equals ("--curdir" )) {
358358 i ++;
359359 if (i >= args .length )
360- showError (null , "Argument required for --curdir" , 3 );
360+ showError (null , _ ( "Argument required for --curdir" ) , 3 );
361361 currentDirectory = args [i ];
362362 continue ;
363363 }
364364 if (args [i ].equals ("--pref" )) {
365365 i ++;
366366 if (i >= args .length )
367- showError (null , "Argument required for --pref" , 3 );
367+ showError (null , _ ( "Argument required for --pref" ) , 3 );
368368 processPrefArgument (args [i ]);
369369 continue ;
370370 }
371371 if (args [i ].equals ("--preferences-file" )) {
372372 i ++;
373373 if (i >= args .length )
374- showError (null , "Argument required for --preferences-file" , 3 );
374+ showError (null , _ ( "Argument required for --preferences-file" ) , 3 );
375375 // Argument should be already processed by Preferences.init(...)
376376 continue ;
377377 }
0 commit comments