Closed Almost-Senseless-Coder closed 1 year ago
Refs #96 Various changes to i18n-embed and i18n-embed-fl enable ergonomic interaction with Fluent attributes.
Changes include:
FluentLanguageLoader
FluentMessages
FluentLanguageLoader::has_attr()
fl!()
Hi thanks for the contribution!
I've released this in i18n-embed version 0.13.5 andi18n-embed-flversion0.6.5`.
i18n-embed
0.13.5 and
version
Refs #96 Various changes to i18n-embed and i18n-embed-fl enable ergonomic interaction with Fluent attributes.
Changes include:
FluentLanguageLoader
to mirror the methods used to accessFluentMessages
,FluentLanguageLoader::has_attr()
to enable verifying if an attribute is present in any language for the given message,fl!()
macro definition such that it optionally accepts an attribute ID in addition to a message ID and arguments,