Comment 2 for bug 1756251

Revision history for this message
Julie Pichon (jpichon) wrote :

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/NodesListView/NodeListItem.js#L41-L44

  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.