Skip to content

uudoc: resolve shared Fluent keys across utility crates#11457

Open
sylvestre wants to merge 4 commits intouutils:mainfrom
sylvestre:fix-uudoc-fluent-key-resolution
Open

uudoc: resolve shared Fluent keys across utility crates#11457
sylvestre wants to merge 4 commits intouutils:mainfrom
sylvestre:fix-uudoc-fluent-key-resolution

Conversation

@sylvestre
Copy link
Contributor

@sylvestre sylvestre commented Mar 22, 2026

No description provided.

Load all FTL files from src/uu/*/locales/ and always attempt key
resolution, fixing raw identifiers like "base-common-help-decode"
and "ck-common-help-check" appearing in generated docs.
@sylvestre
Copy link
Contributor Author

@github-actions
Copy link

GNU testsuite comparison:

GNU test failed: tests/cp/parent-perm-race. tests/cp/parent-perm-race is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/pr/bounded-memory (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/seq/seq-epipe is no longer failing!

@cakebaker
Copy link
Contributor

clippy is not happy :|

error: implementation of inherent method `to_string(&self) -> String` for type `tests::SharedBuf`
     --> src/bin/uudoc.rs:970:9
      |
  970 | /         fn to_string(&self) -> String {
  971 | |             String::from_utf8_lossy(&self.0.lock().unwrap()).into_owned()
  972 | |         }
      | |_________^
      |
      = help: implement trait `Display` for type `tests::SharedBuf` instead
      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#inherent_to_string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants