"CPU Cores" on the Nodes tab is unlocalized

Bug #1756251 reported by Yuko Katabami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Won't Fix
Low
Unassigned

Bug Description

"CPU Cores", which is shown in the node list on the Nodes tab is unlocalized.
I cannot find the corresponding string in Zanata.

Tags: i18n ui
Revision history for this message
Yuko Katabami (ykatabam) wrote :
Julie Pichon (jpichon)
tags: added: i18n ui
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.

Changed in tripleo:
milestone: none → rocky-1
status: New → Triaged
importance: Undecided → Low
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Revision history for this message
Alex Schultz (alex-schultz) wrote :

UI has been deprecated

Changed in tripleo:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.