Skip to content

fix(i18n): add generic label.applied and label.pending - #35661

Closed
chirag-madlani wants to merge 1 commit into
mainfrom
chirag-madlani/i18n-pending-applied-labels
Closed

chirag-madlani wants to merge 1 commit into
mainfrom
chirag-madlani/i18n-pending-applied-labels

Conversation

@chirag-madlani

@chirag-madlani chirag-madlani commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Describe your changes:

Fixes #35660

Adds generic label.applied and label.pending to all 20 locales.

Why: status renderers build the key from the task status (label.${kebab(status)}, e.g. taskResolution.utils.ts in the Inbox). TaskEntityStatus includes Pending, but no locale had label.pending, so pending tasks showed the raw key.

Translations: reused from the label.change-outcome-Applied / label.change-outcome-Pending entries added in #32038, which already have native translations in every locale.

Downstream: Collate defines its own label.applied / label.pending. Its locale-duplicate check now fails on every Collate PR because #32038's values match them. The Collate companion PR (open-metadata/openmetadata-collate#7552) deletes its copies so they resolve to these OSS keys. Merge this one first.

Type of change:

  • Bug fix

Checklist:

  • I have read the CONTRIBUTING document.
  • sync-i18n --check passes on all locale files.

🤖 Generated with Claude Code

Task statuses render via label.<status>, and TaskEntityStatus includes
Pending, but no locale defined label.pending, so pending tasks showed the
raw key. Reuse the existing change-outcome translations.

Fixes #35660

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 16, 2026 14:01
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs UI UI specific issues labels Oct 16, 2026
@gitar-bot

gitar-bot Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved

🟢 Low risk · Adding translated applied and pending labels only changes localized status text, replacing raw keys without affecting application logic.

Adds generic label.applied and label.pending keys to all 20 locale files, reusing the existing label.change-outcome-Applied and label.change-outcome-Pending translations so pending tasks stop rendering the raw key. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@github-actions

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 78%
78.18% (128416/164249) 64.84% (81438/125580) 66.14% (27209/41137)

@sonarqubecloud

Copy link
Copy Markdown

@chirag-madlani
chirag-madlani added this pull request to the merge queue Oct 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Oct 17, 2026
@github-actions github-actions Bot added the merge conflict Conflicts with the latest main; removed from the merge queue label Oct 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚦 Removed from the merge queue — merge_conflict (2026-10-17T02:15:54Z)

The entry left the queue before it was built, so no checks ran against it.

Conflicts with the latest main — rebase, then re-queue.

@chirag-madlani

Copy link
Copy Markdown
Collaborator Author

Closing as redundant: #34694 already added label.applied and label.pending to every locale on main. Resolving the conflict in favour of main leaves this PR with no changes.

@chirag-madlani
chirag-madlani deleted the chirag-madlani/i18n-pending-applied-labels branch October 17, 2026 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge conflict Conflicts with the latest main; removed from the merge queue safe to test Add this label to run secure Github workflows on PRs UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI shows raw i18n key 'label.pending' for pending task statuses

3 participants