Closed jaschaio closed 6 years ago
Is this intended?
nope, quite the opposite, but I think the issue is that the AST parser is not walking through template literals interpolations.
Will have a look ASAP, thanks for filling this.
please let me know how it works now, thanks.
This might be my fault or missing understanding of hyperHTML. But it seems that I can't use i18n inside the the
hyper.wire()``
method.This is recognized by
i18n-utils
:let test = i18n`Simple test i18n message`;
This as well:
let test = `This is a template literal ${ i18n`Simple test i18n message` } inside another one`;
But this isn't:
let test = hyper.wire()`This is a template literal ${ i18n`Simple test i18n message` } inside another one`;
Is this intended?
Thanks