lemmy/crates/utils/build.rs

11 lines
322 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
rosetta_build::config()
.source("en", "translations/email/en.json")
.source("fi", "translations/email/fi.json")
.source("ko", "translations/email/ko.json")
.source("pt", "translations/email/pt.json")
.fallback("en")
.generate()?;
Ok(())
}