uutils / uutils/coreutils

l10n: `uucore/uptime` has dependency on `uptime`

Open
#8,962 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

J - Locale
Dominant language
Rust
Stars
24.1k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
365

Description

While running procps/top, which uses uucore/uptime, I noticed the following in the header of its TUI:

top - 15:27:28 up  1.53, uptime-user-count, uptime-lib-format-loadavg

Those keys are defined in the ftl-files of uptime, thus creating an "invisible" dependency of uucore/uptime on uptime.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how procps/top reaches uucore/uptime, then inspect the localization keys in the uptime ftl-files mentioned in the issue. Determine where the dependency is introduced and verify that the resulting change removes uucore/uptime's reliance on uptime while preserving the displayed TUI header.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, localization
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.