@@ -353,7 +353,10 @@ static size_t check_subst_formatstring (const char *format, const char *param_na
353353 maxsize ++ ;
354354 }
355355 if (unnumbered_arg_count > 1 )
356- error (EXIT_FAILURE ,0 ,_ ("%s argument: The format string consumes more than one argument: %u arguments." ),param_name ,unnumbered_arg_count );
356+ error (EXIT_FAILURE ,0 ,ngettext ("%s argument: The format string consumes more than one argument: %u argument." ,
357+ "%s argument: The format string consumes more than one argument: %u arguments." ,
358+ unnumbered_arg_count ),
359+ param_name ,unnumbered_arg_count );
357360 return maxsize ;
358361}
359362
@@ -515,7 +518,7 @@ static void subst_wc_to_mb_fallback
515518 == (size_t )(-1 )
516519 || iconv (subst_wc_to_mb_cd , NULL ,NULL , & outptr ,& outbytesleft )
517520 == (size_t )(-1 ))
518- error (EXIT_FAILURE ,0 ,_ ("iconv: cannot convert widechar substitution to target encoding: %s" ),ilseq_wchar_subst_buffer );
521+ error (EXIT_FAILURE ,0 ,_ ("cannot convert widechar substitution to target encoding: %s" ),ilseq_wchar_subst_buffer );
519522 write_replacement (subst_wc_to_mb_temp_buffer ,
520523 ilseq_wchar_subst_size * 4 - outbytesleft ,
521524 callback_arg );
@@ -552,7 +555,7 @@ static void subst_mb_to_mb_fallback (const char* inbuf, size_t inbufsize)
552555 == (size_t )(-1 )
553556 || iconv (subst_mb_to_mb_cd , NULL ,NULL , & outptr ,& outbytesleft )
554557 == (size_t )(-1 ))
555- error (EXIT_FAILURE ,0 ,_ ("iconv: cannot convert byte substitution to target encoding: %s" ),ilseq_byte_subst_buffer );
558+ error (EXIT_FAILURE ,0 ,_ ("cannot convert byte substitution to target encoding: %s" ),ilseq_byte_subst_buffer );
556559 fwrite (subst_mb_to_mb_temp_buffer ,1 ,ilseq_byte_subst_size * 4 - outbytesleft ,
557560 stdout );
558561 }
0 commit comments