Skip to content

[bug]: Attach button aria-label and analytics "Unassigned" use undefined i18n keys #10248

Open

Description

@kekubhai

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Two t() calls in apps/web use translation keys that no locale defines, so the raw key or untranslated English is shown:

  1. Attach button aria-label – apps/web/components/editor/lite-text/lite-toolbar.tsx:35 calls t("attach"), but the string lives at common.attach in packages/i18n/src/locales/en/common.json. Screen readers announce the raw key attach, and the label is never translated.
  2. "Unassigned" in the analytics work-items insight table – apps/web/components/analytics/work-items/workitems-insight-table.tsx:128 calls t(`Unassigned`). Keys are case-sensitive and the defined key is unassigned. English looks correct only because the fallback equals the key; every other locale shows English "Unassigned".

Expected: use t("common.attach") and t("unassigned").

Steps to reproduce

  1. Switch the interface language to any non-English locale.
  2. Open Analytics → Work items and look at a row with no assignee: the text is "Unassigned" in English.
  3. Open a work item comment box and inspect the attach (paperclip) button: its aria-label is attach.

Environment

Production

Browser

Google Chrome

Edition

Community

Version

preview @ 618d0eb


I'll open a PR with the fix for this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions