'React, Why localization keys are capitalized by storybook?

I've tried to add my components to the storybook and some of the components have different localization keys inside so that is why I created i18n default decorator. But somehow storybook capitalized the first char after the dot in localization keys and this is not working. Somebody knows the reason for this behavior and how can I disable this functionality?

after storybook formating

original keys



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source