bem / bem-bl

Base BEM library
http://bem.github.com/bem-bl/
198 stars 84 forks source link

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

Open chaporgin opened 9 years ago

chaporgin commented 9 years ago

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.