Which package(s) are affected?
Localize (@lit/localize)
Description
Reported by @kensternberg-authentik in #4489
https://lit.dev/docs/localization/overview/#message-ids states the rules for message id generation and how they're used to deduplicate translation targets. This can be interpreted that changing the code inside expressions in your source code should not fail on future extract and build calls but there seems to exist some validation that compares the value of equiv-text attribute.
Reproduction
See linked discussion above for sample and error message.
Workaround
Manually update the xliff to match the equiv-text
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
@lit/[email protected]
Browser/OS/Node environment
n/a