No fill on workload charts for some languages
What happened?
When I change the language from "English" to "French" (for example) the workload charts become black (no fill):
What did you expect to happen?
The charts should be green ("Running" status)
How can we reproduce it (as minimally and precisely as possible)?
- install the 7.8.0 chart version
- go to settings and change the language from "English" to "French"
Anything else we need to know?
The issue seems to be related to the method:
https://github.com/kubernetes/dashboard/blob/5e385bfbb5fcf778c1ea848bfdc6b0279b822d3a/modules/web/src/common/components/workloadstatus/component.ts#L42-L53
and the translations:
https://github.com/kubernetes/dashboard/blob/5e385bfbb5fcf778c1ea848bfdc6b0279b822d3a/modules/web/i18n/fr/messages.fr.xlf#L557-L560
https://github.com/kubernetes/dashboard/blob/5e385bfbb5fcf778c1ea848bfdc6b0279b822d3a/modules/web/i18n/fr/messages.fr.xlf#L1803-L1806
In french, the translation En cours d'exécution: X does not include En fonctionnement so the color is not resolved.
FYI, in the previous version, the above translations contain En fonctionnement
Related issue: #7515
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
Kubernetes Dashboard version
from 7.0.0 to 7.8.0
Kubernetes version
1.27.10
Dev environment
No response
I've noticed the same problem while migrating from v2.7.0 (HELM Release 6.0.8) to 7.2.0 and using german language in the dashboard.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle stale - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
Same for me, in french the pie charts are black. Tested with chart 7.0.0 and 7.5.0
Same for me, using latest release for kubernetes dashboard. Tested with spanish, Light theme, dark theme.... All pie charts are painted black