To translate the 'enum' within the Badge in the Table.

I need to translate the 'enum' within the Badge in the Table. For this I have a constant with the translation, but I am not able to use it with the color. How can I do it?
image.png
image.png
Was this page helpful?