Skip to content

Crowdin plugin - #546

Closed
madebyisaacr wants to merge 113 commits into
mainfrom
crowdin
Closed

madebyisaacr wants to merge 113 commits into
mainfrom
crowdin

Conversation

@madebyisaacr

@madebyisaacr madebyisaacr commented Jan 28, 2026 •

Copy link
Copy Markdown
Contributor

@madebyisaacr madebyisaacr changed the title Crowdin Crowdin plugin Jan 28, 2026
@github-actions

github-actions Bot commented Feb 7, 2026

Copy link
Copy Markdown

This PR has been automatically marked as stale because it has not had any activity in the last 7 days. It will be closed if no further activity occurs in the next 7 days.

@github-actions github-actions Bot added the stale label Feb 7, 2026
@madebyisaacr madebyisaacr removed the stale label Feb 9, 2026
@madebyisaacr
madebyisaacr marked this pull request as ready for review February 13, 2026 11:44

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 5 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment @cursor review or bugbot run to trigger another review on this PR

Comment thread plugins/crowdin/src/xliff.ts
if (!sourceId) {
console.warn(`No source ID found for text: "${sourceText}"`)
continue
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Import matches by text instead of trans-unit ID

High Severity

createValuesBySourceFromXliff builds a sourceTextToId map keyed by source text to look up source IDs during import. When multiple localization sources share the same text value, only the last one's ID is stored in the map, causing translations for the other sources to be silently dropped or misapplied. The export already writes source.id as the trans-unit id attribute, so the import could read it directly from the element via unit.getAttribute("id") instead.

Fix in Cursor Fix in Web

Comment thread plugins/crowdin/src/App.tsx Outdated
Comment thread plugins/crowdin/src/App.tsx Outdated
Comment thread plugins/crowdin/src/xliff.ts Outdated
@madebyisaacr
madebyisaacr marked this pull request as draft February 13, 2026 15:57
@madebyisaacr
madebyisaacr marked this pull request as ready for review February 19, 2026 07:17
@github-actions

Copy link
Copy Markdown

This PR has been automatically marked as stale because it has not had any activity in the last 7 days. It will be closed if no further activity occurs in the next 7 days.

@github-actions github-actions Bot added the stale label Feb 28, 2026
@github-actions github-actions Bot closed this Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants