From 57ffc403234f6981088e9c45c443aa6aeb361a2a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 1 Jul 2023 11:31:41 -0700 Subject: [PATCH] stty: fix untranslated diagnostics * src/stty.c (set_speed): Translate diagnostics. --- src/stty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } } -- 2.47.2