fix(i18n): LocalClustersSection defaultValue hides missing keys#13160
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
👋 Hey @kubestellar-hive[bot] — thanks for opening this PR!
This is an automated message. |
✅ Deploy Preview for kubestellarconsole ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Remove defaultValue: '' from both t() calls in getVClusterActionMessage. The empty-string default silently renders blank when a key is missing; without it, react-i18next falls back to the key name, making translation gaps visible during development. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Copilot <copilot@github.com>
ef45914 to
9646454
Compare
|
Thank you for your contribution! Your PR has been merged. Check out what's new:
Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey |
❌ Post-Merge Verification: failedCommit: |
|
Post-merge build verification passed ✅ Both Go and frontend builds compiled successfully against merge commit |
…stellar#13160) Remove defaultValue: '' from both t() calls in getVClusterActionMessage. The empty-string default silently renders blank when a key is missing; without it, react-i18next falls back to the key name, making translation gaps visible during development. Signed-off-by: Copilot <copilot@github.com> Co-authored-by: Copilot <copilot@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Fixes #13154
Changes
Remove
defaultValue: ''from botht()calls ingetVClusterActionMessageinLocalClustersSection.tsx.When a translation key is missing, react-i18next normally falls back to the key name — making the gap visible. Passing
defaultValue: ''overrides that behaviour and renders a silent empty string, which hides missing translation coverage.