| 1 | //! Rebuild when locale catalogs change. |
| 2 | //! |
| 3 | //! `rust_i18n::i18n!` embeds YAML at compile time. Without these hints Cargo |
| 4 | //! can keep a stale catalog after editing `locales/*.yml`, so the UI shows |
| 5 | //! raw keys like `auth.banner.connecting`. |
| 6 | |
| 7 | fn main() { |
| 8 | println!("cargo:rerun-if-changed=locales"); |
| 9 | println!("cargo:rerun-if-changed=locales/app.yml"); |
| 10 | } |