Skip to content

Conversation

@mattsu2020
Copy link
Contributor

Summary

Refactored the get_formatted_loadavg function to explicitly build a FluentArgs struct with load average values formatted to two decimal places, then pass it to crate::locale::get_message_with_args instead of using the translate! macro inline. This improves argument handling for fluent localization, enhancing code structure and maintainability without altering functionality.

related
#10056

…ted_loadavg

Refactored the `get_formatted_loadavg` function to explicitly build a `FluentArgs` struct with load average values formatted to two decimal places, then pass it to `crate::locale::get_message_with_args` instead of using the `translate!` macro inline. This improves argument handling for fluent localization, enhancing code structure and maintainability without altering functionality.
@github-actions
Copy link

github-actions bot commented Jan 7, 2026

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@cakebaker cakebaker merged commit b804ca4 into uutils:main Jan 7, 2026
129 of 130 checks passed
@cakebaker
Copy link
Contributor

Thanks!

@mattsu2020 mattsu2020 deleted the timeout_fix_testcode branch January 7, 2026 23:28
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