mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
add newline to mear clearly separate different ftl files
This commit is contained in:
parent
ea3c6cad42
commit
01e9f889b7
1 changed files with 2 additions and 0 deletions
|
@ -108,6 +108,7 @@ fn main() -> std::io::Result<()> {
|
||||||
let path = entry.path();
|
let path = entry.path();
|
||||||
println!("cargo:rerun-if-changed=./ftl/{}", fname);
|
println!("cargo:rerun-if-changed=./ftl/{}", fname);
|
||||||
buf += &fs::read_to_string(path)?;
|
buf += &fs::read_to_string(path)?;
|
||||||
|
buf.push('\n');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let combined_ftl = Path::new("src/i18n/ftl/template.ftl");
|
let combined_ftl = Path::new("src/i18n/ftl/template.ftl");
|
||||||
|
@ -145,6 +146,7 @@ fn main() -> std::io::Result<()> {
|
||||||
let path = entry.path();
|
let path = entry.path();
|
||||||
println!("cargo:rerun-if-changed={:?}", entry.path());
|
println!("cargo:rerun-if-changed={:?}", entry.path());
|
||||||
buf += &fs::read_to_string(path)?;
|
buf += &fs::read_to_string(path)?;
|
||||||
|
buf.push('\n');
|
||||||
}
|
}
|
||||||
langs
|
langs
|
||||||
.entry(lang_name)
|
.entry(lang_name)
|
||||||
|
|
Loading…
Reference in a new issue