mirror of
https://github.com/lise-henry/crowbook
synced 2024-05-27 04:46:16 +02:00
Actually comment line to comment
This commit is contained in:
parent
b4f2262801
commit
b206430382
2
build.rs
2
build.rs
|
@ -24,7 +24,7 @@ fn main() {
|
|||
let mut extractor = Extractor::new();
|
||||
extractor.add_messages_from_dir(concat!(env!("CARGO_MANIFEST_DIR"), "/src/bin")).unwrap();
|
||||
// Uncomment to update crowbook.pot
|
||||
extractor.write_pot_file(concat!(env!("CARGO_MANIFEST_DIR"), "/lang/bin/crowbook.pot")).unwrap();
|
||||
// extractor.write_pot_file(concat!(env!("CARGO_MANIFEST_DIR"), "/lang/bin/crowbook.pot")).unwrap();
|
||||
|
||||
let mut localizer = Localizer::new(&extractor);
|
||||
localizer.add_lang("fr", include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/lang/bin/fr.po"))).unwrap();
|
||||
|
|
Loading…
Reference in New Issue