File tree Expand file tree Collapse file tree 4 files changed +4
-1
lines changed Expand file tree Collapse file tree 4 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ readlink-help-zero = separate output with NUL rather than newline
1414# Error messages
1515readlink-error-missing-operand = missing operand
1616readlink-error-ignoring-no-newline = ignoring --no-newline with multiple arguments
17+ readlink-error-invalid-argument = { $path } : Invalid argument
Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ readlink-help-zero = séparer la sortie avec NUL plutôt qu'une nouvelle ligne
1414# Messages d'erreur
1515readlink-error-missing-operand = opérande manquant
1616readlink-error-ignoring-no-newline = ignorer --no-newline avec plusieurs arguments
17+ readlink-error-invalid-argument = { $path } : argument non valide
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
9595
9696 let path = p. to_string_lossy ( ) . into_owned ( ) ;
9797 let message = if err. raw_os_error ( ) == Some ( EINVAL ) {
98- format ! ( "{ path}: Invalid argument" )
98+ translate ! ( "readlink-error-invalid-argument" , " path" => path . clone ( ) )
9999 } else {
100100 err. map_err_context ( || path. clone ( ) ) . to_string ( )
101101 } ;
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ fn test_symlink_to_itself_verbose() {
103103}
104104
105105#[ test]
106+ #[ cfg( not( windows) ) ]
106107fn test_posixly_correct_regular_file ( ) {
107108 let scene = TestScenario :: new ( util_name ! ( ) ) ;
108109 let at = & scene. fixtures ;
You can’t perform that action at this time.
0 commit comments