XAMPPRocky / fluent-templates

Easily add Fluent to your Rust project.
Apache License 2.0
136 stars 28 forks source link

Check that `fallback_language` exists between locales building static bundles #58

Closed mondeja closed 6 months ago

mondeja commented 6 months ago

Raise the next compilation error if fallback_language not exists in locales directory:

error: Fallback language not found in locales directory
 --> path/to/file.rs:8:28
  |
8 |         fallback_language: "en-US",
  |                            ^^^^^^^
XAMPPRocky commented 6 months ago

Thank you for your PR, and congrats on your first contribution! 🎉