@@ -145,20 +145,20 @@ pub fn uu_app() -> Command {
145145 . arg (
146146 Arg :: new ( options:: NO_NEWLINE )
147147 . short ( 'n' )
148- . help ( "do not output the trailing newline")
148+ . help ( get_message ( "echo-help-no- newline") )
149149 . action ( ArgAction :: SetTrue ) ,
150150 )
151151 . arg (
152152 Arg :: new ( options:: ENABLE_BACKSLASH_ESCAPE )
153153 . short ( 'e' )
154- . help ( " enable interpretation of backslash escapes")
154+ . help ( get_message ( "echo-help- enable- escapes") )
155155 . action ( ArgAction :: SetTrue )
156156 . overrides_with ( options:: DISABLE_BACKSLASH_ESCAPE ) ,
157157 )
158158 . arg (
159159 Arg :: new ( options:: DISABLE_BACKSLASH_ESCAPE )
160160 . short ( 'E' )
161- . help ( " disable interpretation of backslash escapes (default)" )
161+ . help ( get_message ( "echo-help- disable- escapes" ) )
162162 . action ( ArgAction :: SetTrue )
163163 . overrides_with ( options:: ENABLE_BACKSLASH_ESCAPE ) ,
164164 )
@@ -177,10 +177,7 @@ fn execute(
177177) -> UResult < ( ) > {
178178 for ( i, input) in arguments_after_options. into_iter ( ) . enumerate ( ) {
179179 let Some ( bytes) = bytes_from_os_string ( input. as_os_str ( ) ) else {
180- return Err ( USimpleError :: new (
181- 1 ,
182- "Non-UTF-8 arguments provided, but this platform does not support them" ,
183- ) ) ;
180+ return Err ( USimpleError :: new ( 1 , get_message ( "echo-error-non-utf8" ) ) ) ;
184181 } ;
185182
186183 if i > 0 {
0 commit comments