Commit Graph

16253 Commits

Author SHA1 Message Date
Sylvestre Ledru 026d378c0e fix some last clap errors mgmt 2025-08-12 10:10:49 +02:00
Sylvestre Ledru ce941947b7 clap: also support translations for invalid values 2025-08-12 10:10:49 +02:00
Sylvestre Ledru 3b9a506825 clap: translate Usage too 2025-08-12 10:10:49 +02:00
Sylvestre Ledru 1023ce1dbf allow translation of "For more information, try '--help'." 2025-08-12 10:10:49 +02:00
Sylvestre Ledru f534bb9ac4 clap: improve translation support 2025-08-12 10:10:49 +02:00
Sylvestre Ledru 15315f820e Port factor for translation 2025-08-12 10:10:49 +02:00
Sylvestre Ledru 7fdc75eb33 Port printenv translation: fix tests/misc/invalid-opt 2025-08-12 10:10:49 +02:00
Sylvestre Ledru 0caf5fc40b clap: improve the clap support + add tests 2025-08-12 10:10:49 +02:00
Sylvestre Ledru afd6390b48 clap: override the usage section 2025-08-12 10:10:49 +02:00
Sylvestre Ledru 72f5683208 fix more 2025-08-12 10:10:49 +02:00
Sylvestre Ledru d2690fdf9e fix syntax 2025-08-12 10:10:49 +02:00
Sylvestre Ledru 45edcc4d3a fix try 2025-08-12 10:10:49 +02:00
Sylvestre Ledru 3d69817817 clap localization: address PR review comments
- Make colorize() function private since only used internally
  - Remove redundant colors_enabled checks
  - Add apply_color helper closure to reduce code duplication
  - Remove try_ prefix from function names for consistency
  - Update all utilities to use renamed functions
  - Fix app variable reference in mv utility
2025-08-12 10:10:49 +02:00
Sylvestre Ledru 0326522d3b l10n: also install uucore locales 2025-08-12 10:09:59 +02:00
Sylvestre Ledru d00ad102e5 cspell: also ignore flt files in uucore 2025-08-12 10:09:59 +02:00
Sylvestre Ledru a00f65c09e add test (in sort) to verify that the clap error mgmt work (english and french) 2025-08-12 10:09:59 +02:00
Sylvestre Ledru 085f9d5c62 l10n/github action: verify that clap localization works 2025-08-12 10:09:59 +02:00
Sylvestre Ledru 4a570c331d l10n: Migrate all utilities to use LocalizedCommand 2025-08-12 10:09:59 +02:00
Sylvestre Ledru 206da5c28b l10n: Add LocalizedCommand trait for clap localization 2025-08-12 10:08:29 +02:00
Daniel Hofstetter 005ccccddf Merge pull request #8472 from uutils/renovate/thiserror-2.x-lockfile
chore(deps): update rust crate thiserror to v2.0.14
2025-08-12 07:57:49 +02:00
Nicolas Boichat 33c15cadcc Merge pull request #8470 from uutils/renovate/clap_complete-4.x-lockfile
chore(deps): update rust crate clap_complete to v4.5.57
2025-08-12 12:51:16 +08:00
Nicolas Boichat bcf3b356f5 Merge pull request #8469 from uutils/renovate/clap-4.x-lockfile
chore(deps): update rust crate clap to v4.5.44
2025-08-12 12:50:48 +08:00
Nicolas Boichat e28abe3630 Merge pull request #8468 from uutils/renovate/terminal_size-0.x-lockfile
chore(deps): update rust crate terminal_size to v0.4.3
2025-08-12 12:50:27 +08:00
Nicolas Boichat 08e6f5c7f6 Merge pull request #8473 from uutils/renovate/proc-macro2-1.x-lockfile
fix(deps): update rust crate proc-macro2 to v1.0.97
2025-08-12 12:50:05 +08:00
renovate[bot] af2c22787c fix(deps): update rust crate proc-macro2 to v1.0.97 2025-08-12 01:06:19 +00:00