svelte-intl-precompile icon indicating copy to clipboard operation
svelte-intl-precompile copied to clipboard

Not showing warning for empty string translation

Open EskelCz opened this issue 3 years ago • 0 comments

Thanks for this awesome library. :) Just a super simple question/request. Does it make sense to throw a warning for $t('') that '' was not found in the dictionary? Because I don't think think translating an empty string to something else is very useful. :)

I like both my code and console as clean as possible and this forces me to add a lot of ugly checks for empty strings. Thanks for your consideration.

EskelCz avatar Sep 03 '22 00:09 EskelCz