cpuCores: {
id: 'NodeListItem.cpuCores',
defaultMessage: `CPU {cpuCores, plural,
one {Core} other {Cores}}`
I think I was able to find the string in Zanata, could you confirm? I know there's been issues before when using the back ` sign.
This is really unclear but reading through the docs ( https://formatjs.io/guides/message-syntax/#plural-format ) I think you are supposed to translate the word between the inner brackets (Core and Cores) but NOT the other words (one and other) which are used to determine whether to pluralise.
It looks like it is marked as translatable, albeit in an unusual format: https:/ /github. com/openstack/ tripleo- ui/blob/ master/ src/js/ components/ nodes/NodesList View/NodeListIt em.js#L41- L44
cpuCores: { cpuCores' ,
id: 'NodeListItem.
defaultMessage: `CPU {cpuCores, plural,
one {Core} other {Cores}}`
I think I was able to find the string in Zanata, could you confirm? I know there's been issues before when using the back ` sign.
This is really unclear but reading through the docs ( https:/ /formatjs. io/guides/ message- syntax/ #plural- format ) I think you are supposed to translate the word between the inner brackets (Core and Cores) but NOT the other words (one and other) which are used to determine whether to pluralise.