Skip to content

fix(ui): translate shared display and event captions - #1269

Merged
scttbnsn merged 4 commits into
dev/v1.8from
fix/v1.8-common-display-labels
Oct 3, 2026
Merged

scttbnsn merged 4 commits into
dev/v1.8from
fix/v1.8-common-display-labels

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Fix

Fill English copies of shared yes/no and unnamed custom-registry labels, plus missing-profile and paused/offline log captions, in 13 language catalogs. Also translate maintenance-window states, maturity-cleared audit captions and the synthetic test-container name across all 16 non-English locales. Spanish maintenance wording now describes the current state rather than an action. Submitted booleans, real registry/user identities, raw log messages, schedules and streaming state stay unchanged.

The Arabic Custom translation matches the same pending leaf in #1258. That PR still supplies the ContainersView translator binding; this catalog patch does not replace it.

Verification

  • Original shared-label change: fifteen new tests failed before the catalog fix; four already-translated locale cases passed. All 17 locale cases then passed with the real display helper. GHCR, registry hostnames and configured registry names stay unchanged.
  • The real notification editor updates mounted German/Arabic boolean labels without refetching, preserves the selection, and submits boolean false through the existing service.
  • Configuration follow-up: 26 tests reproduced 39 untranslated profile/log captions before the catalog fix. Tests use the real ConfigView and ConfigLogsTab/AppLogViewer, update the locale without remounting, preserve a real username matching the English fallback and raw log text, and check that locale changes do not reload profiles, write settings, toggle streaming or retry.
  • State/event follow-up: 48 new locale cases failed before the catalog changes. Tests retain the original watcher data and selected audit entry, preserve server diagnostics, and verify that only an explicit test-button click submits the localized synthetic name, with trigger/agent/id/image/update-kind unchanged.
  • Latest focused run: 336 tests across seven suites passed, plus Vue typechecking, Biome and diff checks.
  • Normal pre-push gate passed for 4ff0c71 in 354.63 seconds: configured backend/UI coverage, both builds, 284 script tests, 318 workflow tests, Vue typechecking and static checks. Website scripts, local Docker and workflow-security scanning correctly skipped under their normal conditions. No browser or screenshot claim. Hosted checks and source review remain separate gates.

Review scope: display catalogs and regression tests only. No changes to authentication, action permissions, notification routing, configuration ownership or API schemas. The required image-security gate remains a separate blocker; it has not been bypassed.

Changelog

  • ✨ Added translations for shared yes/no and custom labels, profile and log captions, maintenance-window states, maturity-cleared audit captions, and the test-container name across the affected locales.
  • 🔧 Changed Spanish maintenance-window wording to describe the current state.
  • ✨ Added regression tests for locale changes and for preserving submitted values, configured data, and view state.
  • 🔒 The required image-security gate remains a separate blocker. It has not been bypassed.

Concerns or issues

  • Confirm the required image-security gate passes before merge.

@vercel

vercel Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
drydock-website Ready Ready Preview Sep 19, 2026 3:21am UTC
drydockdemo-website Ready Ready Preview Sep 19, 2026 3:21am UTC

@coderabbitai

coderabbitai Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

🧰 Additional context used
📚 Code guidelines (2)
AGENTS.md — auto-discovered
CONTRIBUTING.md — configured

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: CodesWhat/drydock/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 89826bd3-6937-4303-b86b-4f0af0997ce5
📥 Commits

Reviewing files that changed from the base of the PR and between 4ff0c71 and d86c03a.

⛔ Files ignored due to path filters (1)
  • CHANGELOG.md is excluded by !CHANGELOG.md
📒 Files selected for processing (17)
  • ui/src/locales/ar/listViews.json
  • ui/src/locales/de/listViews.json
  • ui/src/locales/es/listViews.json
  • ui/src/locales/fr/listViews.json
  • ui/src/locales/it/listViews.json
  • ui/src/locales/ja/listViews.json
  • ui/src/locales/ko/listViews.json
  • ui/src/locales/nl/listViews.json
  • ui/src/locales/pl/listViews.json
  • ui/src/locales/pt-BR/listViews.json
  • ui/src/locales/ru/listViews.json
  • ui/src/locales/tr/listViews.json
  • ui/src/locales/uk/listViews.json
  • ui/src/locales/vi/listViews.json
  • ui/src/locales/zh-CN/listViews.json
  • ui/src/locales/zh-TW/listViews.json
  • ui/tests/views/ConfigView.spec.ts
🚧 Files skipped from review as they are similar to previous changes (16)
  • ui/src/locales/pt-BR/listViews.json
  • ui/src/locales/zh-TW/listViews.json
  • ui/src/locales/ar/listViews.json
  • ui/src/locales/ko/listViews.json
  • ui/src/locales/uk/listViews.json
  • ui/src/locales/zh-CN/listViews.json
  • ui/src/locales/es/listViews.json
  • ui/src/locales/ja/listViews.json
  • ui/src/locales/de/listViews.json
  • ui/src/locales/tr/listViews.json
  • ui/src/locales/pl/listViews.json
  • ui/src/locales/it/listViews.json
  • ui/src/locales/vi/listViews.json
  • ui/src/locales/ru/listViews.json
  • ui/src/locales/nl/listViews.json
  • ui/src/locales/fr/listViews.json

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


📝 Walkthrough

Walkthrough

Locale files replace English placeholder values with translations for common labels, configuration labels, maintenance-window states, audit actions, and test-container names. Tests cover locale changes across components, views, computed dashboard labels, submitted payloads, preserved state, and fallback behavior.

Priority: ⬇️ Low

Change: Bug fix

Merge Risk: ⚪ Minimal · up to d86c0

No actionable issue remains in the reviewed changes; merge after the required checks pass.

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
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.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Sep 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@scttbnsn scttbnsn changed the title fix(ui): translate shared boolean and custom labels fix(ui): translate shared and configuration display labels Sep 19, 2026
@scttbnsn scttbnsn changed the title fix(ui): translate shared and configuration display labels fix(ui): translate shared display and event captions Sep 19, 2026

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

CodeRabbit completed the full source review at this exact head with no actionable comments. The local full gate passed; hosted image-security checks still apply.

@vercel

vercel Bot commented Oct 3, 2026

Copy link
Copy Markdown

Deployment failed for project drydockdemo-website with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/codeswhat?upgradeToPro=build-rate-limit

@vercel

vercel Bot commented Oct 3, 2026

Copy link
Copy Markdown

Deployment failed for project drydock-website with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/codeswhat?upgradeToPro=build-rate-limit

@scttbnsn
scttbnsn merged commit 9000d1b into dev/v1.8 Oct 3, 2026
@scttbnsn
scttbnsn deleted the fix/v1.8-common-display-labels branch October 3, 2026 09:30
scttbnsn added a commit that referenced this pull request Nov 2, 2026