1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-05-12 14:46:04 +02:00

Actually comment line to comment

This commit is contained in:
Elisabeth Henry 2017-10-10 01:14:36 +02:00
parent b4f2262801
commit b206430382

View File

@ -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();