From 53c29e85b24800ab43e637870b96bbcd2931209d Mon Sep 17 00:00:00 2001 From: oech3 <79379754+oech3@users.noreply.github.com> Date: Tue, 30 Jun 2026 13:18:31 +0900 Subject: [PATCH 1/2] pathchk: readable error message without scrolling terminal --- src/uu/pathchk/locales/en-US.ftl | 8 ++++---- src/uu/pathchk/locales/fr-FR.ftl | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/uu/pathchk/locales/en-US.ftl b/src/uu/pathchk/locales/en-US.ftl index ee5dad5c0c4..4655e86b299 100644 --- a/src/uu/pathchk/locales/en-US.ftl +++ b/src/uu/pathchk/locales/en-US.ftl @@ -9,10 +9,10 @@ pathchk-help-portability = check for all POSIX systems (equivalent to -p -P) # Error messages pathchk-error-missing-operand = missing operand pathchk-error-empty-file-name = empty file name -pathchk-error-posix-path-length-exceeded = limit { $limit } exceeded by length { $length } of file name { $path } -pathchk-error-posix-name-length-exceeded = limit { $limit } exceeded by length { $length } of file name component { $component } +pathchk-error-posix-path-length-exceeded = { $path }: limit { $limit } exceeded by length { $length } of file name +pathchk-error-posix-name-length-exceeded = { $component }: limit { $limit } exceeded by length { $length } of file name component pathchk-error-leading-hyphen = leading hyphen in file name component { $component } -pathchk-error-path-length-exceeded = limit { $limit } exceeded by length { $length } of file name { $path } -pathchk-error-name-length-exceeded = limit { $limit } exceeded by length { $length } of file name component { $component } +pathchk-error-path-length-exceeded = { $path }: limit { $limit } exceeded by length { $length } of file name +pathchk-error-name-length-exceeded = { $component }: limit { $limit } exceeded by length { $length } of file name component pathchk-error-empty-path-not-found = pathchk: '': No such file or directory pathchk-error-nonportable-character = nonportable character '{ $character }' in file name component { $component } diff --git a/src/uu/pathchk/locales/fr-FR.ftl b/src/uu/pathchk/locales/fr-FR.ftl index 31eaaa6565d..d31dad4fb66 100644 --- a/src/uu/pathchk/locales/fr-FR.ftl +++ b/src/uu/pathchk/locales/fr-FR.ftl @@ -9,10 +9,10 @@ pathchk-help-portability = vérifier pour tous les systèmes POSIX (équivalent # Messages d'erreur pathchk-error-missing-operand = opérande manquant pathchk-error-empty-file-name = nom de fichier vide -pathchk-error-posix-path-length-exceeded = limite { $limit } dépassée par la longueur { $length } du nom de fichier { $path } -pathchk-error-posix-name-length-exceeded = limite { $limit } dépassée par la longueur { $length } du composant de nom de fichier { $component } +pathchk-error-posix-path-length-exceeded = { $path }: limite { $limit } dépassée par la longueur { $length } du nom de fichier +pathchk-error-posix-name-length-exceeded = { $component }: limite { $limit } dépassée par la longueur { $length } du composant de nom de fichier pathchk-error-leading-hyphen = tiret en début dans le composant de nom de fichier { $component } -pathchk-error-path-length-exceeded = limite { $limit } dépassée par la longueur { $length } du nom de fichier { $path } -pathchk-error-name-length-exceeded = limite { $limit } dépassée par la longueur { $length } du composant de nom de fichier { $component } +pathchk-error-path-length-exceeded = { $path }: limite { $limit } dépassée par la longueur { $length } du nom de fichier +pathchk-error-name-length-exceeded = { $component }: limite { $limit } dépassée par la longueur { $length } du composant de nom de fichier pathchk-error-empty-path-not-found = pathchk: '' : Aucun fichier ou répertoire de ce type pathchk-error-nonportable-character = caractère non portable '{ $character }' dans le composant de nom de fichier { $component } From 0ebf12f7201ed27223b03eb270c481e155132318 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 30 Jun 2026 04:54:54 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/uu/pathchk/locales/en-US.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uu/pathchk/locales/en-US.ftl b/src/uu/pathchk/locales/en-US.ftl index 4655e86b299..5a562350cc4 100644 --- a/src/uu/pathchk/locales/en-US.ftl +++ b/src/uu/pathchk/locales/en-US.ftl @@ -10,9 +10,9 @@ pathchk-help-portability = check for all POSIX systems (equivalent to -p -P) pathchk-error-missing-operand = missing operand pathchk-error-empty-file-name = empty file name pathchk-error-posix-path-length-exceeded = { $path }: limit { $limit } exceeded by length { $length } of file name -pathchk-error-posix-name-length-exceeded = { $component }: limit { $limit } exceeded by length { $length } of file name component +pathchk-error-posix-name-length-exceeded = { $component }: limit { $limit } exceeded by length { $length } of file name component pathchk-error-leading-hyphen = leading hyphen in file name component { $component } -pathchk-error-path-length-exceeded = { $path }: limit { $limit } exceeded by length { $length } of file name +pathchk-error-path-length-exceeded = { $path }: limit { $limit } exceeded by length { $length } of file name pathchk-error-name-length-exceeded = { $component }: limit { $limit } exceeded by length { $length } of file name component pathchk-error-empty-path-not-found = pathchk: '': No such file or directory pathchk-error-nonportable-character = nonportable character '{ $character }' in file name component { $component }