@@ -458,11 +458,11 @@ static int parse_archive_args(int argc, const char **argv,
458458 argc = parse_options (argc , argv , NULL , opts , archive_usage , 0 );
459459
460460 if (remote )
461- die ("Unexpected option --remote" );
461+ die (_ ( "Unexpected option --remote" ) );
462462 if (exec )
463- die ("Option --exec can only be used together with --remote" );
463+ die (_ ( "Option --exec can only be used together with --remote" ) );
464464 if (output )
465- die ("Unexpected option --output" );
465+ die (_ ( "Unexpected option --output" ) );
466466
467467 if (!base )
468468 base = "" ;
@@ -484,14 +484,14 @@ static int parse_archive_args(int argc, const char **argv,
484484 usage_with_options (archive_usage , opts );
485485 * ar = lookup_archiver (format );
486486 if (!* ar || (is_remote && !((* ar )-> flags & ARCHIVER_REMOTE )))
487- die ("Unknown archive format '%s'" , format );
487+ die (_ ( "Unknown archive format '%s'" ) , format );
488488
489489 args -> compression_level = Z_DEFAULT_COMPRESSION ;
490490 if (compression_level != -1 ) {
491491 if ((* ar )-> flags & ARCHIVER_WANT_COMPRESSION_LEVELS )
492492 args -> compression_level = compression_level ;
493493 else {
494- die ("Argument not supported for format '%s': -%d" ,
494+ die (_ ( "Argument not supported for format '%s': -%d" ) ,
495495 format , compression_level );
496496 }
497497 }
0 commit comments