From 08dab65dcebda119c3266ad2b65ffdb8216b2b34 Mon Sep 17 00:00:00 2001 From: Elisabeth Henry Date: Fri, 1 Jun 2018 18:01:44 +0200 Subject: [PATCH] Update french translation --- build.rs | 4 +-- lang/bin/crowbook.pot | 70 ++++++++++++++++++++-------------------- lang/bin/fr.po | 74 ++++++++++++++++++++++--------------------- lang/lib/crowbook.pot | 52 +++++++++++++++++++++++------- lang/lib/fr.po | 66 +++++++++++++++++++++++++++++--------- 5 files changed, 166 insertions(+), 100 deletions(-) diff --git a/build.rs b/build.rs index 8c99ef9..85d2a0b 100644 --- a/build.rs +++ b/build.rs @@ -12,7 +12,7 @@ fn main() { let mut extractor = Extractor::new(); extractor.add_messages_from_dir(concat!(env!("CARGO_MANIFEST_DIR"), "/src/lib")).unwrap(); // Uncomment to update crowbook.pot - // extractor.write_pot_file(concat!(env!("CARGO_MANIFEST_DIR"), "/lang/lib/crowbook.pot")).unwrap(); + extractor.write_pot_file(concat!(env!("CARGO_MANIFEST_DIR"), "/lang/lib/crowbook.pot")).unwrap(); let mut localizer = Localizer::new(&extractor); localizer.add_lang("fr", include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/lang/lib/fr.po"))).unwrap(); @@ -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(); diff --git a/lang/bin/crowbook.pot b/lang/bin/crowbook.pot index ad4950e..d150b7d 100644 --- a/lang/bin/crowbook.pot +++ b/lang/bin/crowbook.pot @@ -8,143 +8,143 @@ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:22 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:38 msgid "WARNING" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:32 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:48 msgid "ERROR" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:75 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:91 msgid "An odd number of arguments was passed to --set, but it takes a list of key value pairs." msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:103 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:119 msgid "Error in setting key {}: {}" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:115 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:131 msgid "Could not create file {}: it already exists!" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:128 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:144 msgid "author: Your name\ntitle: Your title\nlang: en\n\n## Output formats\n\n# Uncomment and fill to generate files\n# output.html: some_file.html\n# output.epub: some_file.epub\n# output.pdf: some_file.pdf\n\n# Or uncomment the following to generate PDF, HTML and EPUB files based on this file's name\n# output: [pdf, epub, html]\n\n# Uncomment and fill to set cover image (for EPUB)\n# cover: some_cover.png\n" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:146 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:162 msgid "\n## List of chapters\n" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:152 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:168 msgid "Created {}, now you'll have to complete it!" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:162 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:178 msgid "Print help information" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:163 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:179 msgid "Print version information" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:164 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:180 msgid "Render a Markdown book in EPUB, PDF or HTML." msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:165 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:181 msgid "Use a single Markdown file instead of a book configuration file" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:166 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:182 msgid "Force emoji usage even if it might not work on your system" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:167 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:183 msgid "Print warnings in parsing/rendering" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:168 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:184 msgid "Don't print info/error messages" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:169 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:185 msgid "Enable proofreading" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:170 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:186 msgid "Create a new book with existing Markdown files" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:171 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:187 msgid "Prompts for an autograph for this book" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:172 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:188 msgid "Specify output file" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:173 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:189 msgid "Set the runtime language used by Crowbook" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:174 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:190 msgid "Generate specific format" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:175 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:191 msgid "Set a list of book options" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:176 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:192 msgid "Disably fancy UI" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:177 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:193 msgid "List all possible options" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:178 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:194 msgid "List all possible options, formatted in Markdown" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:179 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:195 msgid "Prints the default content of a template" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:180 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:196 msgid "File containing the book configuration file, or a Markdown file when called with --single" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:181 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:197 msgid "Print some project statistics" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:182 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:198 msgid "{{bin}} {{version}} by {{author}}\n{{about}}\n\nUSAGE:\n {{usage}}\n\nFLAGS:\n{{flags}}\n\nOPTIONS:\n{{options}}\n\nARGS:\n{{positionals}}\n" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:268 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:284 msgid "A list of additional files is only valid with the --create option." msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:121 +#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:123 msgid "{} is not a valid template name." msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:142 +#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:144 msgid "You must pass the file of a book configuration file.\n\n{}\n\nFor more information try --help." msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:188 +#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:190 msgid "Enter autograph: " msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:194 +#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:196 msgid "could not read autograph from stdin" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:244 +#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:246 msgid "Crowbook exited successfully, but the following errors occurred:" msgstr "" diff --git a/lang/bin/fr.po b/lang/bin/fr.po index 2f964f7..2e31fb2 100644 --- a/lang/bin/fr.po +++ b/lang/bin/fr.po @@ -7,15 +7,15 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8\n" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:22 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:38 msgid "WARNING" msgstr "AVERTISSEMENT" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:32 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:48 msgid "ERROR" msgstr "ERREUR" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:75 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:91 msgid "" "An odd number of arguments was passed to --set, but it takes a list of key " "value pairs." @@ -23,15 +23,15 @@ msgstr "" "Un nombre impair d'arguments a été donné à --set, alors qu'il prend une " "liste de paires clé-valeur." -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:103 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:119 msgid "Error in setting key {}: {}" msgstr "Erreur en initialisant la clé {}: {}" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:115 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:131 msgid "Could not create file {}: it already exists!" msgstr "Impossible de créer le fichier {} : il existe déjà !" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:128 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:144 msgid "" "author: Your name\n" "title: Your title\n" @@ -70,7 +70,7 @@ msgstr "" "l'Epub)\n" "# cover: une_couverture.png\n" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:146 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:162 msgid "" "\n" "## List of chapters\n" @@ -78,85 +78,87 @@ msgstr "" "\n" "## Liste des chapitres\n" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:152 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:168 msgid "Created {}, now you'll have to complete it!" msgstr "{} a été crée, maintenant vous n'avez plus qu'à le compléter !" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:162 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:178 msgid "Print help information" msgstr "Affiche l'aide" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:163 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:179 msgid "Print version information" msgstr "Affiche le numéro de version" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:164 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:180 msgid "Render a Markdown book in EPUB, PDF or HTML." msgstr "Fait le rendu en EPUB, PDF ou HTML d'un livre écrit en Markdown." -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:165 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:181 msgid "Use a single Markdown file instead of a book configuration file" msgstr "" "Utilise un simple fichier Markdown au lieu d'un fichier de configuration de " "livre" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:166 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:182 msgid "Force emoji usage even if it might not work on your system" -msgstr "Force l'utilisation d'emoji même si cela risque de ne pas fonctionner sur votre système" +msgstr "" +"Force l'utilisation d'emoji même si cela risque de ne pas fonctionner sur " +"votre système" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:167 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:183 msgid "Print warnings in parsing/rendering" msgstr "Affiche les avertissements dans l'analyse et le rendu" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:168 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:184 msgid "Don't print info/error messages" msgstr "N'affiche pas les messages d'erreurs ou d'information" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:169 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:185 msgid "Enable proofreading" msgstr "Activer la génération de versions pour la relecture" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:170 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:186 msgid "Create a new book with existing Markdown files" msgstr "Crée un nouveau livre à partir de fichiers Markdown existants" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:171 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:187 msgid "Prompts for an autograph for this book" msgstr "Demande un autographe pour ce livre" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:172 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:188 msgid "Specify output file" msgstr "Spécifie un fichier de sortie" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:173 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:189 msgid "Set the runtime language used by Crowbook" msgstr "Spécifie la langue à utiliser par Crowbook à l'exécution" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:174 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:190 msgid "Generate specific format" msgstr "Génère un format spécifique" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:175 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:191 msgid "Set a list of book options" msgstr "Règle une liste d'options pour le livre" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:176 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:192 msgid "Disably fancy UI" msgstr "Désactive l'interface 'avancée'" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:177 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:193 msgid "List all possible options" msgstr "Liste toutes les options possibles" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:178 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:194 msgid "List all possible options, formatted in Markdown" msgstr "Liste toutes les options possibles, formatées en Markdown" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:179 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:195 msgid "Prints the default content of a template" msgstr "Affiche le contenu par défaut d'un template" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:180 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:196 msgid "" "File containing the book configuration file, or a Markdown file when called " "with --single" @@ -164,11 +166,11 @@ msgstr "" "Fichier contenant la configuration du livre, ou un fichier Markdown avec " "l'argument --single" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:181 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:197 msgid "Print some project statistics" msgstr "Affiche quelques statistiques sur le projet" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:182 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:198 msgid "" "{{bin}} {{version}} by {{author}}\n" "{{about}}\n" @@ -200,16 +202,16 @@ msgstr "" "ARGUMENTS:\n" "{{positionals}}\n" -#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:268 +#: /home/lise/Progs/rust/crowbook/src/bin/helpers.rs:284 msgid "A list of additional files is only valid with the --create option." msgstr "" "Une liste de fichiers additionnels n'est valide qu'avec l'option --create." -#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:121 +#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:123 msgid "{} is not a valid template name." msgstr "{} n'est pas un nom de template valide." -#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:142 +#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:144 msgid "" "You must pass the file of a book configuration file.\n" "\n" @@ -223,15 +225,15 @@ msgstr "" "\n" "Pour plus d'informations, essayez --help." -#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:188 +#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:190 msgid "Enter autograph: " msgstr "Entrez l'autographe : " -#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:194 +#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:196 msgid "could not read autograph from stdin" msgstr "impossible de lire l'autographe depuis l'entrée standard" -#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:244 +#: /home/lise/Progs/rust/crowbook/src/bin/real_main.rs:246 msgid "Crowbook exited successfully, but the following errors occurred:" msgstr "" "Crowbook s'est terminé avec succès, mais les erreurs suivantes se sont " diff --git a/lang/lib/crowbook.pot b/lang/lib/crowbook.pot index 1abe5a0..33c80ed 100644 --- a/lang/lib/crowbook.pot +++ b/lang/lib/crowbook.pot @@ -1028,7 +1028,7 @@ msgstr "" msgid "EPUB: could not guess the format of {file} based on extension. Assuming png." msgstr "" -#: /home/lise/Progs/rust/crowbook/src/lib/epub.rs:453 /home/lise/Progs/rust/crowbook/src/lib/latex.rs:277 +#: /home/lise/Progs/rust/crowbook/src/lib/epub.rs:453 /home/lise/Progs/rust/crowbook/src/lib/latex.rs:282 msgid "empty str token, could not find initial" msgstr "" @@ -1200,19 +1200,19 @@ msgstr "" msgid "LaTeX: can't find a tex equivalent for lang '{lang}', fallbacking on english" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:256 +#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:261 msgid "generated LaTeX was not valid utf-8" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:413 +#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:418 msgid "found {n} indented ordered lists, LaTeX only allows for 4" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:455 /home/lise/Progs/rust/crowbook/src/lib/latex.rs:467 +#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:460 /home/lise/Progs/rust/crowbook/src/lib/latex.rs:472 msgid "LaTeX ({source}): image '{url}' doesn't seem to be local; ignoring it." msgstr "" -#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:550 /home/lise/Progs/rust/crowbook/src/lib/latex.rs:567 +#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:555 /home/lise/Progs/rust/crowbook/src/lib/latex.rs:572 msgid "problem when writing LaTeX: {error}" msgstr "" @@ -1316,19 +1316,47 @@ msgstr "" msgid "error in epub rendering: {path} is neither a file nor a directory" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:57 +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:85 +msgid "This version of crowboook has been compiled without support for advanced statistics" +msgstr "" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:91 +msgid "For more advanced statistics, use the --verbose or -v option" +msgstr "" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:272 /home/lise/Progs/rust/crowbook/src/lib/stats.rs:286 msgid "Chapter" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:58 -msgid "Words" -msgstr "" - -#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:59 +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:273 /home/lise/Progs/rust/crowbook/src/lib/stats.rs:287 msgid "Chars" msgstr "" -#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:70 +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:274 +msgid "Syllables" +msgstr "" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:275 /home/lise/Progs/rust/crowbook/src/lib/stats.rs:288 +msgid "Words" +msgstr "" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:276 +msgid "Sentences" +msgstr "" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:277 /home/lise/Progs/rust/crowbook/src/lib/stats.rs:289 +msgid "Chars/Word" +msgstr "" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:278 +msgid "Words/Sentence" +msgstr "" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:279 +msgid "Flesch reading ease index" +msgstr "" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:344 /home/lise/Progs/rust/crowbook/src/lib/stats.rs:359 msgid "TOTAL:" msgstr "" diff --git a/lang/lib/fr.po b/lang/lib/fr.po index de43982..7fb37bf 100644 --- a/lang/lib/fr.po +++ b/lang/lib/fr.po @@ -1225,7 +1225,7 @@ msgstr "" "On part sur du png." #: /home/lise/Progs/rust/crowbook/src/lib/epub.rs:453 -#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:277 +#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:282 msgid "empty str token, could not find initial" msgstr "jeton str vide, impossible de trouver la lettrine" @@ -1422,23 +1422,23 @@ msgstr "" "LaTeX: impossible de trouver un équivalent tex pour la langue '{lang}', " "utilisation de l'anglais par défaut" -#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:256 +#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:261 msgid "generated LaTeX was not valid utf-8" msgstr "le fichier LaTeX généré contenait de l'UTF-8 invalide" -#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:413 +#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:418 msgid "found {n} indented ordered lists, LaTeX only allows for 4" msgstr "liste ordonnée imbriqué à {n} niveau, LaTeX n'en permet que 4" -#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:455 -#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:467 +#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:460 +#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:472 msgid "LaTeX ({source}): image '{url}' doesn't seem to be local; ignoring it." msgstr "" "LaTeX ({source}) : l'image '{url}' n'a pas l'air d'être locale, elle sera " "ignorée" -#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:550 -#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:567 +#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:555 +#: /home/lise/Progs/rust/crowbook/src/lib/latex.rs:572 msgid "problem when writing LaTeX: {error}" msgstr "problème en écrivant dans le fichier LaTeX : {error}" @@ -1480,7 +1480,8 @@ msgid "" "ODT output: {features}. They will be ignored in the generated document." msgstr "" "ODT : Le document utilise les fonctionnalités suivantes qui ne sont pas " -"implementées pour le rendu ODT : {features}. Elles seront ignorées dans le document généré." +"implementées pour le rendu ODT : {features}. Elles seront ignorées dans le " +"document généré." #: /home/lise/Progs/rust/crowbook/src/lib/odt.rs:120 msgid "Parts are not supported yet in ODT" @@ -1560,19 +1561,54 @@ msgid "error in epub rendering: {path} is neither a file nor a directory" msgstr "" "erreur dans le rendu EPUB : {path} n'est ni un fichier ni un répertoire" -#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:57 +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:85 +msgid "" +"This version of crowboook has been compiled without support for advanced " +"statistics" +msgstr "Cette version de crowbook a été compilée sans support pour les statistiques avancées" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:91 +msgid "For more advanced statistics, use the --verbose or -v option" +msgstr "Pour des statistiques plus avancées, utilisez l'option --verbose ou -v" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:272 +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:286 msgid "Chapter" msgstr "Chapitre" -#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:58 -msgid "Words" -msgstr "Mots" - -#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:59 +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:273 +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:287 msgid "Chars" msgstr "Signes" -#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:70 +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:274 +msgid "Syllables" +msgstr "Syllabes" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:275 +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:288 +msgid "Words" +msgstr "Mots" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:276 +msgid "Sentences" +msgstr "Phrases" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:277 +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:289 +msgid "Chars/Word" +msgstr "Signes/Mot" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:278 +msgid "Words/Sentence" +msgstr "Mots/Phrase" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:279 +msgid "Flesch reading ease index" +msgstr "Indice de Flesch" + +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:344 +#: /home/lise/Progs/rust/crowbook/src/lib/stats.rs:359 msgid "TOTAL:" msgstr "TOTAL :"