"CPU Cores" on the Nodes tab is unlocalized
Bug #1756251 reported by
Yuko Katabami
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: | added: i18n ui |
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 |
To post a comment you must log in.
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.