Skip to content

fix(frontend): dedupe management.button.cancel locale id (#7284)#7293

Open
Tarekchehahde wants to merge 1 commit into
hotosm:developfrom
Tarekchehahde:fix/issue-7284-duplicate-locale-ids
Open

fix(frontend): dedupe management.button.cancel locale id (#7284)#7293
Tarekchehahde wants to merge 1 commit into
hotosm:developfrom
Tarekchehahde:fix/issue-7284-duplicate-locale-ids

Conversation

@Tarekchehahde

Copy link
Copy Markdown

Summary

  • Removes duplicate management.button.cancel react-intl id from levels/messages.js and badges/messages.js
  • Reuses the definition in teamsAndOrgs/messages.js

Fixes yarn build-locales failure: Duplicate message id: management.button.cancel

Test plan

  • cd frontend && yarn build-locales completes without duplicate-id error
  • Levels/badges cancel buttons still render "Cancel"

Made with Cursor

Remove duplicate react-intl id from levels/badges messages.js; reuse
teamsAndOrgs definition so yarn build-locales succeeds.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sonarqubecloud

Copy link
Copy Markdown

@Tarekchehahde

Copy link
Copy Markdown
Author

@spwoodcock Ready for review when you have a moment — fixes #7284 (duplicate management.button.cancel locale id breaking yarn build-locales). CI green.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant