-
-
Notifications
You must be signed in to change notification settings - Fork 428
Closed
Labels
Description
Description
Changing a translation from eg.
t`Náhledový obrázek aplikace ${title}`to
t`Náhledový obrázek aplikace ${title ?? '-'}`Will destroy current translations like this:
+ #. placeholder {0}: title ?? '-'
#: src/modules/SoftwareTools/components/SoftwareToolsListItem/SoftwareToolsListItemBox.tsx
#: src/modules/SoftwareTools/components/SoftwareToolsListItem/SoftwareToolsListItem.tsx
+ msgid "Náhledový obrázek aplikace {0}"
+ msgstr ""
+ #: src/modules/SoftwareTools/components/SoftwareToolsListItem/SoftwareToolsListItemBox.tsx
+ #: src/modules/SoftwareTools/components/SoftwareToolsListItem/SoftwareToolsListItem.tsx
+ #~ msgid "Náhledový obrázek aplikace {title}"
+ #~ msgstr "Preview image of the {title} application"Is this really intentional?
Verifications
Reproduction Steps
see Description
Expected Behavior
Changing an expression in the placeholder variable should not change translation key.
Maybe use the number index always, since the context is available in the comment.
Macro Support
SWC with @lingui/swc-plugin
Lingui Version
5.3.0
Babel Version
no babel
Framework
RsBuild + Typescript