Skip to content

i18n: translate the remaining French strings in uvault status - #3

Merged
petrus-v merged 1 commit into
petrus-v:mainfrom
bosd:i18n-english-status-output
Sep 30, 2026
Merged

petrus-v merged 1 commit into
petrus-v:mainfrom
bosd:i18n-english-status-output

Conversation

@bosd

@bosd bosd commented Sep 27, 2026 •

Copy link
Copy Markdown

Hi Pierre, thanks for uvault, and for the OCA Days talk that pointed me at it. We're evaluating it at OBS Solutions for a ~60-dependency Odoo project, and these are two small things we hit on day one. Sending them as separate PRs so you can take either independently.

What

uvault status mixes French into otherwise English output:

📦 odoo-addon-base-tier-validation-board (bosd/tier-validation)
   ├─ Statut : 🔵 PullRequestStatus.ACTIVE
   └─ Update : à jour (dernière activité il y a 4 mois)

plus Force-Push detecté! in the inline and table renderers, and inconnue / aujourd'hui from _format_date.

The README, docs, CLI help and every other message are English, so I've assumed this is an oversight.

After

   ├─ Status : 🔵 PullRequestStatus.ACTIVE
   └─ Update : up to date (last activity 4 month(s) ago)

Notes

  • Eleven strings in status.py; assertions in tests/test_status.py updated to match.
  • No behaviour change,
  • I deliberately left Statut→Status as the only alignment-affecting change; the box-drawing columns still line up.

`uvault status` mixes French into otherwise English output:

    ├─ Statut : 🔵 PullRequestStatus.ACTIVE
    └─ Update : à jour (dernière activité il y a 4 mois)

and "Force-Push detecté!" in the inline and table renderers. The README,
docs, CLI help and every other message are English, so this reads as an
oversight rather than a choice.

Translated the eleven affected strings and updated the assertions in
tests/test_status.py. No behaviour change; 100% coverage preserved.

    ├─ Status : 🔵 PullRequestStatus.ACTIVE
    └─ Update : up to date (last activity 4 month(s) ago)

@petrus-v petrus-v left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this cleanup 💟

@codecov-commenter

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@petrus-v
petrus-v merged commit 9dda406 into petrus-v:main Sep 30, 2026
11 checks passed
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.

3 participants