Skip to content

fix(i18n): correct first-discovery translations - #82

Merged
somethingwithproof merged 1 commit into
mainfrom
fix/i18n-review
Nov 20, 2026
Merged

somethingwithproof merged 1 commit into
mainfrom
fix/i18n-review

Conversation

@somethingwithproof

@somethingwithproof somethingwithproof commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Review of the translations added by the recent review-fix PRs (they had no native review).

  • ar-SA README: meaning error. The text said "while any node is unmapped". The source says "while no node is mapped". Corrected.
  • ar-SA po: لم يُكتشف did not agree with the feminine شبكة الربط. Changed to لم تُكتشف.
  • es-ES and es-419: the new README section used "fabric" and "asignado/Asigne" for map. The rest of the guide and the catalog use "red" and "asociar". Aligned the README section and 2 po strings, and fixed gender agreement to match "red".
  • zh-CN: 分配 (assign) was used for "map", which collides with fabric-to-poller assignment. The catalog uses 映射. Changed in the README and 2 po strings.
  • hi-IN: जुड़े/जोड़ें was used for "map", and "नोड जोड़ें" reads as "add a node". The catalog uses मैप. Changed in the README and 2 po strings.

Checks: sh locales/build_gettext.sh --check passes locally (msgfmt --check, msgcmp, fuzzy/untranslated, .mo comparison, placeholder and guide-digest checks).

Summary by CodeRabbit

  • Documentation
    • Clarified translated discovery instructions and inventory refresh conditions.
    • Updated terminology in translated health-page messages to consistently describe nodes as mapped or associated with Cacti devices.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
@sonarqubecloud

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Translated discovery documentation and HealthPage messages were revised in Arabic, Spanish, Hindi, and Chinese. The changes update wording about networks, node mappings, and discovery status. The documented command and discovery workflow remain unchanged.

Changes: Translated discovery terminology

Layer / File(s) Summary
Align discovery terminology
docs/i18n/*/README.md, locales/po/{ar-SA,es-419,es-ES,hi-IN,zh-CN}.po
Translated discovery instructions and HealthPage messages use revised wording for networks, node mappings, and discovery status. The command and workflow remain unchanged.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Possibly related PRs

Merge Risk: Minimal · up to 32b23

This PR corrects translation wording in the README files and message catalogs for five locales. It does not change behavior or commands. No concrete merge risk was found.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Description check Inconclusive The description follows the author's own structure rather than the repository template. It explains what changed per locale and why, and reports that the local build check passes. It has no Summary/Is… Restructure the description to follow the template. Add an Issue reference (Closes #NN or Refs #NN; the objectives mention PR #82, but no issue number is given). Write "none" under Requirements affected if no requirement applies. Give tool …
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title "fix(i18n): correct first-discovery translations" matches the main change. The PR corrects first-discovery translations across the ar-SA, es-ES, es-419, zh-CN, and hi-IN READMEs and PO catal…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "fix(i18n): correct first-discovery translations" matches the main change. The PR corrects first-discovery translations across the ar-SA, es-ES, es-419, zh-CN, and hi-IN READMEs and PO catalogs. It is short, specific, and follows a conventional commit style.

Full details: Description check

Explanation

The description follows the author's own structure rather than the repository template. It explains what changed per locale and why, and reports that the local build check passes. It has no Summary/Issue/Requirements affected/Verification headings. It does not reference an issue (Closes #NN or Refs #NN), and it does not state requirement IDs. The checklist items (signed-off commits, docs/PLAN.md and docs/REQUIREMENTS.md updates, decision record) are not addressed. The Verification content is partly covered by the build check note, but the versions are not given.

Resolution

Restructure the description to follow the template. Add an Issue reference (Closes #NN or Refs #NN; the objectives mention PR #82, but no issue number is given). Write "none" under Requirements affected if no requirement applies. Give tool versions under Verification for the build check. Confirm the checklist items: signed-off commits, whether docs/PLAN.md or docs/REQUIREMENTS.md need updates, and whether a decision record applies.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the translated guide,
Then hops through words from side to side.
The mapped nodes shine in each locale,
The discovery steps stay in their place.
“All clear,” it says, and nibbles greens.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d1ddaafe-02dd-495a-9044-3447528e026c
Commits

Reviewing files that changed from the base of the PR and between 60e85e7 and 32b23d1.

Files selected for processing: 15

  • docs/i18n/ar-SA/README.md
  • docs/i18n/es-419/README.md
  • docs/i18n/es-ES/README.md
  • docs/i18n/hi-IN/README.md
  • docs/i18n/zh-CN/README.md
  • locales/LC_MESSAGES/ar-SA.mo
  • locales/LC_MESSAGES/es-419.mo
  • locales/LC_MESSAGES/es-ES.mo
  • locales/LC_MESSAGES/hi-IN.mo
  • locales/LC_MESSAGES/zh-CN.mo
  • locales/po/ar-SA.po
  • locales/po/es-419.po
  • locales/po/es-ES.po
  • locales/po/hi-IN.po
  • locales/po/zh-CN.po

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@gitar-bot

gitar-bot Bot commented Nov 20, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

@somethingwithproof
somethingwithproof merged commit f496eb0 into main Nov 20, 2026
19 checks passed
@somethingwithproof
somethingwithproof deleted the fix/i18n-review branch November 20, 2026 09:17
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.

1 participant