Skip to content

uucore: translations not found in findutils (and probably other projects) #14478

Description

@cakebaker

I noticed in findutils that the update to uucore 0.11.0 breaks a test (see https://github.com/uutils/findutils/actions/runs/34085599515/job/101628921985?pr=858):

thread 'find::matchers::tests::build_top_level_matcher_perm_bad' (4939) panicked at src/find/matchers/mod.rs:1743:13:
assertion failed: e.to_string().contains("invalid operator")

And when running the corresponding command from the test:

$ cargo run -q --bin=find find -perm foo
find: mode-error-invalid-operator

The key mode-error-invalid-operator is used in src/uucore/src/lib/features/mode.rs.

It looks like the translations of uucore are not found in findutils, even though they are in the crate: https://crates.io/crates/uucore/0.11.0/code/locales/en-US.ftl

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    J - Localelocale related issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions