Skip to content

Return key string from BEM.i18n if no translation found #662

@chaporgin

Description

@chaporgin

Current behavior: empty string is returned. An empty string used on a button makes it disappear in some cases. So that it make it easy to pass testing without having a button. On the contrary, if you return the key when no translation found, you avoid the above behavior. And during the testing you can clearly see you button lacks translations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions