kellpossible / cargo-i18n

A Rust Cargo sub-command and libraries to extract and build localization resources to embed in your application/library
MIT License
120 stars 24 forks source link

Use domain override in fl! macro #124

Closed Matt3o12 closed 1 month ago

Matt3o12 commented 3 months ago

domain from Cargo.toml was unused in the fl! macro. It seems like this was an oversight #106

When a domain is not specified, the fl! macro increases build times slightly because we have to open the config file and translation files for every macro invokation. I didn't see any increase in build times but I can make some improvements if that's a concern for this merge request.

kellpossible commented 1 month ago

Thanks @Matt3o12 !