JS Templates stopped working in v0.2.2 or higher
cdeutsch opened this issue · 1 comments
cdeutsch commented
FormattedMessage
tags formatted like this are not being picked up anymore
<FormattedMessage
id="configure.info"
defaultMessage={`The installer has detected {numDrives, number} {numDrives, plural,
one {drive}
other {drives}
} and determined {numDrives, plural,
one {its}
other {their}
} best configuration.
If this is not the intended use of {numDrives, plural,
one {this drive}
other {these drives}
}, please change the configuration to your preferences.`}
values={{ numDrives: writableVolumes.length }}
/>
It used to output:
{ "configure.info": "The installer has detected {numDrives, number} {numDrives, plural,\n one {drive}\n other {drives}\n } and determined {numDrives, plural,\n one {its}\n other {their}\n } best configuration.\n If this is not the intended use of {numDrives, plural,\n one {this drive}\n other {these drives}\n }, please change the configuration to your preferences." }
BANG88 commented
0.2.4