From: Paul Eggert Date: Sat, 1 Jul 2023 18:31:41 +0000 (-0700) Subject: stty: fix untranslated diagnostics X-Git-Tag: v9.4~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57ffc403234f6981088e9c45c443aa6aeb361a2a;p=thirdparty%2Fcoreutils.git stty: fix untranslated diagnostics * src/stty.c (set_speed): Translate diagnostics. --- diff --git a/src/stty.c b/src/stty.c index 01de92f889..9a2aa62c0d 100644 --- a/src/stty.c +++ b/src/stty.c @@ -1728,13 +1728,13 @@ set_speed (enum speed_setting type, char const *arg, struct termios *mode) { last_ibaud = baud; if (cfsetispeed (mode, baud)) - error (EXIT_FAILURE, 0, "unsupported ispeed %s", quoteaf (arg)); + error (EXIT_FAILURE, 0, _("unsupported ispeed %s"), quoteaf (arg)); } if (type == output_speed || type == both_speeds) { last_obaud = baud; if (cfsetospeed (mode, baud)) - error (EXIT_FAILURE, 0, "unsupported ospeed %s", quoteaf (arg)); + error (EXIT_FAILURE, 0, _("unsupported ospeed %s"), quoteaf (arg)); } }