fr Documentation updated to reflect the new structure.
This commit is contained in:
@@ -0,0 +1,158 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2025
|
||||
# This file is distributed under the same license as the novelWriter
|
||||
# package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: novelWriter 2.7rc1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
|
||||
"PO-Revision-Date: 2025-05-29 11:25+0200\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: fr <LL@li.org>\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"Generated-By: Babel 2.16.0\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
|
||||
#: ../../source/technical/locations.rst:5
|
||||
msgid "File Locations"
|
||||
msgstr "Emplacement des fichiers"
|
||||
|
||||
#: ../../source/technical/locations.rst:9
|
||||
msgid ""
|
||||
"novelWriter will create a few files on your system outside of the "
|
||||
"application folder itself. These file locations are described in this "
|
||||
"chapter."
|
||||
msgstr ""
|
||||
"novelWriter créera quelques fichiers sur votre système en dehors du "
|
||||
"dossier de l'application elle-même. L'emplacement de ces fichiers est "
|
||||
"décrit dans ce chapitre."
|
||||
|
||||
#: ../../source/technical/locations.rst:16
|
||||
msgid "Configuration"
|
||||
msgstr "Configuration"
|
||||
|
||||
#: ../../source/technical/locations.rst:18
|
||||
msgid ""
|
||||
"The general configuration of novelWriter, including everything that is "
|
||||
"in **Preferences**, is saved in one central configuration file. The "
|
||||
"location of this file depends on your operating system. The system paths "
|
||||
"are provided by the Qt QStandardPaths_ class and its ``ConfigLocation`` "
|
||||
"value."
|
||||
msgstr ""
|
||||
"La configuration générale de novelWriter, y compris tout ce qui se "
|
||||
"trouve dans les **Préférences**, est enregistrée dans un fichier de "
|
||||
"configuration central. L'emplacement de ce fichier dépend de votre "
|
||||
"système d'exploitation. Les chemins d'accès au système sont fournis par "
|
||||
"la classe Qt QStandardPaths_ et sa valeur ``ConfigLocation``."
|
||||
|
||||
#: ../../source/technical/locations.rst:22
|
||||
#: ../../source/technical/locations.rst:45
|
||||
msgid "The standard paths are:"
|
||||
msgstr "Les chemins standard sont les suivants :"
|
||||
|
||||
#: ../../source/technical/locations.rst:24
|
||||
msgid "Linux: ``~/.config/novelwriter/novelwriter.conf``"
|
||||
msgstr "Linux : ``~/.config/novelwriter/novelwriter.conf``"
|
||||
|
||||
#: ../../source/technical/locations.rst:25
|
||||
msgid "MacOS: ``~/Library/Preferences/novelwriter/novelwriter.conf``"
|
||||
msgstr "MacOS: ``~/Library/Preferences/novelwriter/novelwriter.conf``"
|
||||
|
||||
#: ../../source/technical/locations.rst:26
|
||||
msgid ""
|
||||
"Windows: ``C:\\Users\\<USER>\\AppData\\Local\\novelwriter\\novelwriter."
|
||||
"conf``"
|
||||
msgstr ""
|
||||
"Windows: ``C:\\Users\\<USER>\\AppData\\Local\\novelwriter\\novelwriter."
|
||||
"conf``"
|
||||
|
||||
#: ../../source/technical/locations.rst:28
|
||||
#: ../../source/technical/locations.rst:51
|
||||
msgid ""
|
||||
"Here, ``~`` corresponds to the user's home directory on Linux and MacOS, "
|
||||
"and ``<USER>`` is the user's username on Windows."
|
||||
msgstr ""
|
||||
"Ici, ``~`` correspond au répertoire personnel de l'utilisateur sous "
|
||||
"Linux et MacOS, et ``<USER>`` est le nom d'utilisateur de l'utilisateur "
|
||||
"sous Windows."
|
||||
|
||||
#: ../../source/technical/locations.rst:32
|
||||
#: ../../source/technical/locations.rst:55
|
||||
msgid ""
|
||||
"These are the standard operating system defined locations. If your "
|
||||
"system has been set up in a different way, these locations may also be "
|
||||
"different."
|
||||
msgstr ""
|
||||
"Il s'agit des emplacements standard définis par le système "
|
||||
"d'exploitation. Si votre système a été configuré différemment, ces "
|
||||
"emplacements peuvent également être différents."
|
||||
|
||||
#: ../../source/technical/locations.rst:39
|
||||
msgid "Application Data"
|
||||
msgstr "Données d'application"
|
||||
|
||||
#: ../../source/technical/locations.rst:41
|
||||
msgid ""
|
||||
"novelWriter also stores a bit of data that is generated by the user's "
|
||||
"actions. This includes the list of recent projects form the **Welcome** "
|
||||
"dialog. Custom themes should also be saved here. The system paths are "
|
||||
"provided by the Qt QStandardPaths_ class and its ``AppDataLocation`` "
|
||||
"value."
|
||||
msgstr ""
|
||||
"novelWriter stocke également un certain nombre de données générées par "
|
||||
"les actions de l'utilisateur. Cela inclut la liste des projets récents "
|
||||
"de la boîte de dialogue **Bienvenue**. Les thèmes personnalisés "
|
||||
"devraient également être sauvegardés ici. Les chemins d'accès au système "
|
||||
"sont fournis par la classe Qt QStandardPaths_ et sa valeur "
|
||||
"``AppDataLocation``."
|
||||
|
||||
#: ../../source/technical/locations.rst:47
|
||||
msgid "Linux: ``~/.local/share/novelwriter/``"
|
||||
msgstr "Linux: ``~/.local/share/novelwriter/``"
|
||||
|
||||
#: ../../source/technical/locations.rst:48
|
||||
msgid "MacOS: ``~/Library/Application Support/novelwriter/``"
|
||||
msgstr "MacOS: ``~/Library/Application Support/novelwriter/``"
|
||||
|
||||
#: ../../source/technical/locations.rst:49
|
||||
msgid "Windows: ``C:\\Users\\<USER>\\AppData\\Roaming\\novelwriter\\``"
|
||||
msgstr "Windows: ``C:\\Users\\<USER>\\AppData\\Roaming\\novelwriter\\``"
|
||||
|
||||
#: ../../source/technical/locations.rst:58
|
||||
msgid "The Application Data location also holds several folders:"
|
||||
msgstr ""
|
||||
"L'emplacement des données d'application contient également plusieurs "
|
||||
"dossiers :"
|
||||
|
||||
#: ../../source/technical/locations.rst:60
|
||||
msgid "``cache``"
|
||||
msgstr "``cache``"
|
||||
|
||||
#: ../../source/technical/locations.rst:61
|
||||
msgid ""
|
||||
"This folder is used to save the preview data for the **Manuscript "
|
||||
"Build** tool."
|
||||
msgstr ""
|
||||
"Ce dossier est utilisé pour enregistrer les données de prévisualisation "
|
||||
"pour l'outil **Compilation de manuscrit**."
|
||||
|
||||
#: ../../source/technical/locations.rst:63
|
||||
msgid "``icons``, ``syntax`` and ``themes``"
|
||||
msgstr "``icons``, ``syntax`` and ``themes``"
|
||||
|
||||
#: ../../source/technical/locations.rst:64
|
||||
msgid ""
|
||||
"These folders are empty by default, but this is where the user can store "
|
||||
"custom theme files. See :ref:`docs_more_custom` for more details."
|
||||
msgstr ""
|
||||
"Ces dossiers sont vides par défaut, mais c'est là que l'utilisateur peut "
|
||||
"stocker des fichiers de thèmes personnalisés. Voir :ref:"
|
||||
"`docs_more_custom` pour plus de détails."
|
||||
@@ -0,0 +1,283 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2025
|
||||
# This file is distributed under the same license as the novelWriter
|
||||
# package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: novelWriter 2.7rc1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
|
||||
"PO-Revision-Date: 2025-05-29 11:39+0200\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: fr <LL@li.org>\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"Generated-By: Babel 2.16.0\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
|
||||
#: ../../source/technical/source.rst:5
|
||||
msgid "Running from Source"
|
||||
msgstr "Exécuter depuis la source"
|
||||
|
||||
#: ../../source/technical/source.rst:11
|
||||
msgid ""
|
||||
"This chapter describes various ways of running novelWriter directly from "
|
||||
"the source code, and how to build the various components like the "
|
||||
"translation files and documentation."
|
||||
msgstr ""
|
||||
"Ce chapitre décrit les différentes façons d'exécuter novelWriter "
|
||||
"directement à partir du code source, et comment construire les "
|
||||
"différents composants tels que les fichiers de traduction et la "
|
||||
"documentation."
|
||||
|
||||
#: ../../source/technical/source.rst:16
|
||||
msgid ""
|
||||
"The text below assumes the command ``python`` corresponds to a Python 3 "
|
||||
"executable. Python 2 is now deprecated, but on many systems the command "
|
||||
"``python3`` may be needed instead. Likewise, ``pip`` may need to be "
|
||||
"replaced with ``pip3``."
|
||||
msgstr ""
|
||||
"Le texte ci-dessous suppose que la commande ``python`` correspond à un "
|
||||
"exécutable Python 3. Python 2 est maintenant déprécié, mais sur de "
|
||||
"nombreux systèmes, la commande ``python3`` peut être utilisée à la "
|
||||
"place. De même, ``pip`` peut être remplacé par ``pip3``."
|
||||
|
||||
#: ../../source/technical/source.rst:20
|
||||
msgid ""
|
||||
"Most of the custom commands for building packages of novelWriter, or "
|
||||
"building assets, are contained in the ``pkgutils.py`` script in the root "
|
||||
"of the source code. You can list the available commands by running:"
|
||||
msgstr ""
|
||||
"La plupart des commandes personnalisées pour construire des paquets de "
|
||||
"novelWriter, ou pour construire des actifs, sont contenues dans le "
|
||||
"script ``pkgutils.py`` à la racine du code source. Vous pouvez lister "
|
||||
"les commandes disponibles en lançant :"
|
||||
|
||||
#: ../../source/technical/source.rst:32
|
||||
msgid "Dependencies"
|
||||
msgstr "Dépendances"
|
||||
|
||||
#: ../../source/technical/source.rst:34
|
||||
msgid ""
|
||||
"novelWriter has been designed to rely on as few dependencies as "
|
||||
"possible. Only the Python wrapper for the Qt GUI libraries is required. "
|
||||
"The package for spell checking is optional, but recommended. Everything "
|
||||
"else is handled with standard Python libraries."
|
||||
msgstr ""
|
||||
"novelWriter a été conçu pour s'appuyer sur le moins de dépendances "
|
||||
"possible. Seul le wrapper Python pour les bibliothèques Qt GUI est "
|
||||
"nécessaire. Le paquetage pour la vérification orthographique est "
|
||||
"optionnel, mais recommandé. Tout le reste est géré par les bibliothèques "
|
||||
"Python standard."
|
||||
|
||||
#: ../../source/technical/source.rst:38
|
||||
msgid ""
|
||||
"The following Python packages are needed to run all features of "
|
||||
"novelWriter:"
|
||||
msgstr ""
|
||||
"Les paquets Python suivants sont nécessaires pour exécuter toutes les "
|
||||
"fonctionnalités de novelWriter :"
|
||||
|
||||
#: ../../source/technical/source.rst:40
|
||||
msgid "``PyQt6`` – needed for connecting with the Qt6 libraries."
|
||||
msgstr "``PyQt6`` - nécessaire pour se connecter aux bibliothèques Qt6."
|
||||
|
||||
#: ../../source/technical/source.rst:41
|
||||
msgid "``PyEnchant`` – needed for spell checking (optional)."
|
||||
msgstr ""
|
||||
"``PyEnchant`` - nécessaire pour la vérification orthographique "
|
||||
"(optionnel)."
|
||||
|
||||
#: ../../source/technical/source.rst:43
|
||||
msgid ""
|
||||
"If you want spell checking, you must install the ``PyEnchant`` package. "
|
||||
"The spell check library must be at least 3.0 to work with Windows. On "
|
||||
"Linux, 2.0 also works fine."
|
||||
msgstr ""
|
||||
"Si vous voulez un correcteur orthographique, vous devez installer le "
|
||||
"paquet ``PyEnchant``. La bibliothèque de vérification orthographique "
|
||||
"doit être au moins en version 3.0 pour fonctionner sous Windows. Sous "
|
||||
"Linux, la version 2.0 fonctionne également très bien."
|
||||
|
||||
#: ../../source/technical/source.rst:46
|
||||
msgid ""
|
||||
"If you install from PyPi, these dependencies should be installed "
|
||||
"automatically. If you install from source, dependencies can still be "
|
||||
"installed from PyPi with:"
|
||||
msgstr ""
|
||||
"Si vous installez à partir de PyPi, ces dépendances devraient être "
|
||||
"installées automatiquement. Si vous installez à partir des sources, les "
|
||||
"dépendances peuvent toujours être installées à partir de PyPi avec :"
|
||||
|
||||
#: ../../source/technical/source.rst:55
|
||||
msgid ""
|
||||
"On Linux distros, the Qt library is usually split up into multiple "
|
||||
"packages. In some cases, secondary dependencies may not be installed "
|
||||
"automatically. For novelWriter, the library files for rendering the SVG "
|
||||
"icons may be left out and needs to be installed manually. This is the "
|
||||
"case on for instance Arch Linux."
|
||||
msgstr ""
|
||||
"Sur les distributions Linux, la bibliothèque Qt est généralement divisée "
|
||||
"en plusieurs paquets. Dans certains cas, des dépendances secondaires "
|
||||
"peuvent ne pas être installées automatiquement. Pour novelWriter, les "
|
||||
"fichiers de la bibliothèque pour le rendu des icônes SVG peuvent être "
|
||||
"omis et doivent être installés manuellement. C'est le cas, par exemple, "
|
||||
"sous Arch Linux."
|
||||
|
||||
#: ../../source/technical/source.rst:64
|
||||
msgid "Build and Install from Source"
|
||||
msgstr "Compiler et installer à partir des sources"
|
||||
|
||||
#: ../../source/technical/source.rst:66
|
||||
msgid ""
|
||||
"If you want to install novelWriter directly from the source available on "
|
||||
"GitHub_, you must first build the package using the Python Packaging "
|
||||
"Authority's build tool. It can be installed with:"
|
||||
msgstr ""
|
||||
"Si vous souhaitez installer novelWriter directement à partir des sources "
|
||||
"disponibles sur GitHub_, vous devez d'abord construire le paquet à "
|
||||
"l'aide de l'outil de construction de la Python Packaging Authority. Il "
|
||||
"peut être installé avec :"
|
||||
|
||||
#: ../../source/technical/source.rst:73
|
||||
msgid "On Debian-based systems the tool can also be installed with:"
|
||||
msgstr ""
|
||||
"Sur les systèmes basés sur Debian, l'outil peut également être installé "
|
||||
"avec :"
|
||||
|
||||
#: ../../source/technical/source.rst:79
|
||||
msgid ""
|
||||
"With the tool installed, run the following command from the root of the "
|
||||
"novelWriter source code:"
|
||||
msgstr ""
|
||||
"Une fois l'outil installé, exécutez la commande suivante à partir de la "
|
||||
"racine du code source de novelWriter :"
|
||||
|
||||
#: ../../source/technical/source.rst:85
|
||||
msgid ""
|
||||
"This should generate a ``.whl`` file in the ``dist/`` folder at your "
|
||||
"current location. The wheel file can then be installed on your system. "
|
||||
"Here with example version number 2.0.7, but yours may be different:"
|
||||
msgstr ""
|
||||
"Cela devrait générer un fichier ``.whl`` dans le dossier ``dist/`` de "
|
||||
"votre emplacement actuel. Le fichier wheel peut alors être installé sur "
|
||||
"votre système. Ici avec l'exemple de la version numéro 2.0.7, mais la "
|
||||
"vôtre peut être différente :"
|
||||
|
||||
#: ../../source/technical/source.rst:97
|
||||
msgid "Building the Translation Files"
|
||||
msgstr "Création des fichiers de traduction"
|
||||
|
||||
#: ../../source/technical/source.rst:99
|
||||
msgid ""
|
||||
"If you installed novelWriter from a package, the translation files "
|
||||
"should be pre-built and included. If you're running novelWriter from the "
|
||||
"source code, you will need to generate the files yourself. The files you "
|
||||
"need will be written to the ``novelwriter/assets/i18n`` folder, and will "
|
||||
"have the ``.qm`` file extension."
|
||||
msgstr ""
|
||||
"Si vous avez installé novelWriter à partir d'un paquetage, les fichiers "
|
||||
"de traduction devraient être préconstruits et inclus. Si vous exécutez "
|
||||
"novelWriter à partir du code source, vous devrez générer les fichiers "
|
||||
"vous-même. Les fichiers dont vous avez besoin seront écrits dans le "
|
||||
"dossier ``novelwriter/assets/i18n``, et auront l'extension ``.qm``."
|
||||
|
||||
#: ../../source/technical/source.rst:104
|
||||
msgid "You can build the ``.qm`` files with:"
|
||||
msgstr "Vous pouvez construire les fichiers ``.qm`` avec :"
|
||||
|
||||
#: ../../source/technical/source.rst:110
|
||||
msgid ""
|
||||
"This requires that the Qt Linguist tool is installed on your system. On "
|
||||
"Ubuntu and Debian, the needed package is called ``qttools5-dev-tools``."
|
||||
msgstr ""
|
||||
"Cela nécessite que l'outil Qt Linguist soit installé sur votre système. "
|
||||
"Sur Ubuntu et Debian, le paquet nécessaire s'appelle ``qttools5-dev-"
|
||||
"tools``."
|
||||
|
||||
#: ../../source/technical/source.rst:115
|
||||
msgid ""
|
||||
"If you want to improve novelWriter with translation files for another "
|
||||
"language, or update an existing translation, instructions for how to "
|
||||
"contribute can be found in the ``README.md`` file in the ``i18n`` folder "
|
||||
"of the source code."
|
||||
msgstr ""
|
||||
"Si vous voulez améliorer novelWriter avec des fichiers de traduction "
|
||||
"pour une autre langue, ou mettre à jour une traduction existante, les "
|
||||
"instructions pour contribuer peuvent être trouvées dans le fichier "
|
||||
"``README.md`` dans le dossier ``i18n`` du code source."
|
||||
|
||||
#: ../../source/technical/source.rst:123
|
||||
msgid "Building the Example Project"
|
||||
msgstr "Construction du projet d'exemple"
|
||||
|
||||
#: ../../source/technical/source.rst:125
|
||||
msgid ""
|
||||
"In order to be able to create new projects from example files, you need "
|
||||
"a ``sample.zip`` file in the ``assets`` folder of the source. This file "
|
||||
"can be built from the ``pkgutils.py`` script by running:"
|
||||
msgstr ""
|
||||
"Afin de pouvoir créer de nouveaux projets à partir des fichiers "
|
||||
"d'exemple, vous avez besoin d'un fichier ``sample.zip`` dans le dossier "
|
||||
"``assets`` de la source. Ce fichier peut être construit à partir du "
|
||||
"script ``pkgutils.py`` en exécutant :"
|
||||
|
||||
#: ../../source/technical/source.rst:137
|
||||
msgid "Building the Documentation"
|
||||
msgstr "Élaboration de la documentation"
|
||||
|
||||
#: ../../source/technical/source.rst:139
|
||||
msgid ""
|
||||
"A local copy of this documentation can be generated as HTML. This "
|
||||
"requires installing some Python packages from PyPi:"
|
||||
msgstr ""
|
||||
"Une copie locale de cette documentation peut être générée au format "
|
||||
"HTML. Cela nécessite l'installation de certains paquets Python à partir "
|
||||
"de PyPi :"
|
||||
|
||||
#: ../../source/technical/source.rst:146
|
||||
msgid ""
|
||||
"The documentation can then be built from the root folder in the source "
|
||||
"code by running:"
|
||||
msgstr ""
|
||||
"La documentation peut ensuite être créée à partir du dossier racine du "
|
||||
"code source en lançant le programme :"
|
||||
|
||||
#: ../../source/technical/source.rst:152
|
||||
msgid ""
|
||||
"If successful, the documentation should be available in the ``docs/build/"
|
||||
"html`` folder and you can open the ``index.html`` file in your browser."
|
||||
msgstr ""
|
||||
"En cas de succès, la documentation devrait être disponible dans le "
|
||||
"dossier `docs/build/html` et vous pouvez ouvrir le fichier `index.html` "
|
||||
"dans votre navigateur."
|
||||
|
||||
#: ../../source/technical/source.rst:155
|
||||
msgid ""
|
||||
"You can also build a PDF manual from the documentation using the "
|
||||
"``pkgutils.py`` script:"
|
||||
msgstr ""
|
||||
"Vous pouvez également créer un manuel PDF à partir de la documentation "
|
||||
"en utilisant le script ``pkgutils.py`` :"
|
||||
|
||||
#: ../../source/technical/source.rst:161
|
||||
msgid ""
|
||||
"This will build the English documentation as a PDF using LaTeX. The file "
|
||||
"will then be copied into the assets folder and made available in the "
|
||||
"**Help** menu in novelWriter. Replace ``en`` with ``all`` to build for "
|
||||
"all languages. The Sphinx build system has a few extra dependencies when "
|
||||
"building the PDF. Please check the `Sphinx Docs`_ for more details."
|
||||
msgstr ""
|
||||
"Cela permettra de créer la documentation anglaise au format PDF en "
|
||||
"utilisant LaTeX. Le fichier sera ensuite copié dans le dossier assets et "
|
||||
"rendu disponible dans le menu **Aide** de novelWriter. Remplacez ``en`` "
|
||||
"par ``all`` pour construire pour toutes les langues. Le système de "
|
||||
"construction Sphinx a quelques dépendances supplémentaires lors de la "
|
||||
"construction du PDF. Veuillez consulter la `Docs Sphinx`_ pour plus de "
|
||||
"détails."
|
||||
@@ -0,0 +1,501 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2025
|
||||
# This file is distributed under the same license as the novelWriter
|
||||
# package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: novelWriter 2.7rc1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
|
||||
"PO-Revision-Date: 2025-05-29 11:33+0200\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: fr <LL@li.org>\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"Generated-By: Babel 2.16.0\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
|
||||
#: ../../source/technical/storage.rst:5
|
||||
msgid "How Data is Stored"
|
||||
msgstr "Comment les données sont stockées"
|
||||
|
||||
#: ../../source/technical/storage.rst:9
|
||||
msgid ""
|
||||
"This chapter contains details of how novelWriter stores and handles the "
|
||||
"project data."
|
||||
msgstr ""
|
||||
"Ce chapitre contient des détails sur la manière dont novelWriter stocke "
|
||||
"et gère les données du projet."
|
||||
|
||||
#: ../../source/technical/storage.rst:13
|
||||
msgid "Overview"
|
||||
msgstr "Présentation générale"
|
||||
|
||||
#: ../../source/technical/storage.rst:15
|
||||
msgid ""
|
||||
"The files of a novelWriter project are stored in a dedicated project "
|
||||
"folder. The project structure is kept in a file at the root of this "
|
||||
"folder called ``nwProject.nwx``. All the document files and associated "
|
||||
"meta data are stored in other folders below the project folder."
|
||||
msgstr ""
|
||||
"Les fichiers d'un projet novelWriter sont stockés dans un dossier dédié "
|
||||
"au projet. La structure du projet est conservée dans un fichier à la "
|
||||
"racine de ce dossier appelé ``nwProject.nwx``. Tous les fichiers de "
|
||||
"documents et les métadonnées associées sont stockés dans d'autres "
|
||||
"dossiers sous le dossier du projet."
|
||||
|
||||
#: ../../source/technical/storage.rst:19
|
||||
msgid "This way of storing data was chosen for several reasons."
|
||||
msgstr ""
|
||||
"Ce mode de stockage des données a été choisi pour plusieurs raisons."
|
||||
|
||||
#: ../../source/technical/storage.rst:21
|
||||
msgid ""
|
||||
"Firstly, all the text you add to your project is saved directly to your "
|
||||
"project folder in separate files. Only the project structure and the "
|
||||
"text you are currently editing is stored in memory at any given time, "
|
||||
"which means there is a smaller risk of losing data if the application or "
|
||||
"your computer crashes."
|
||||
msgstr ""
|
||||
"Tout d'abord, tout le texte que vous ajoutez à votre projet est "
|
||||
"enregistré directement dans le dossier de votre projet, dans des "
|
||||
"fichiers séparés. Seule la structure du projet et le texte que vous êtes "
|
||||
"en train d'éditer sont stockés en mémoire à un moment donné, ce qui "
|
||||
"signifie qu'il y a moins de risque de perdre des données si "
|
||||
"l'application ou votre ordinateur tombe en panne."
|
||||
|
||||
#: ../../source/technical/storage.rst:26
|
||||
msgid ""
|
||||
"Secondly, having multiple small files means it is very easy to "
|
||||
"synchronise them between computers with standard file synchronisation "
|
||||
"tools."
|
||||
msgstr ""
|
||||
"Deuxièmement, le fait d'avoir plusieurs petits fichiers signifie qu'il "
|
||||
"est très facile de les synchroniser entre ordinateurs à l'aide d'outils "
|
||||
"de synchronisation de fichiers standard."
|
||||
|
||||
#: ../../source/technical/storage.rst:29
|
||||
msgid ""
|
||||
"Thirdly, if you use `version control`_ software to track the changes to "
|
||||
"your project, the file formats used for the files are well suited. All "
|
||||
"the JSON documents have line breaks and indents as well, which makes it "
|
||||
"easier to track them with version control software."
|
||||
msgstr ""
|
||||
"Troisièmement, si vous utilisez un logiciel de `contrôle de version`_ "
|
||||
"pour suivre les modifications apportées à votre projet, les formats "
|
||||
"utilisés pour les fichiers sont bien adaptés. Tous les documents JSON "
|
||||
"comportent des sauts de ligne et des retraits, ce qui facilite leur "
|
||||
"suivi avec un logiciel de contrôle de version."
|
||||
|
||||
#: ../../source/technical/storage.rst:35
|
||||
msgid ""
|
||||
"Since novelWriter has to keep track of a bunch of files and folders when "
|
||||
"a project is open, it may not run well on some virtual file systems. A "
|
||||
"file or folder must be accessible with exactly the path it was saved or "
|
||||
"created with. An example where this is not the case is the way Google "
|
||||
"Drive is mapped on Linux Gnome desktops using gvfs/gio."
|
||||
msgstr ""
|
||||
"Comme novelWriter doit garder la trace d'un grand nombre de fichiers et "
|
||||
"de dossiers lorsqu'un projet est ouvert, il peut ne pas fonctionner "
|
||||
"correctement sur certains systèmes de fichiers virtuels. Un fichier ou "
|
||||
"un dossier doit être accessible avec exactement le chemin avec lequel il "
|
||||
"a été sauvegardé ou créé. Un exemple où ce n'est pas le cas est la façon "
|
||||
"dont Google Drive est mappé sur les bureaux Linux Gnome en utilisant "
|
||||
"gvfs/gio."
|
||||
|
||||
#: ../../source/technical/storage.rst:42
|
||||
msgid ""
|
||||
"You should not add additional files to the project folder yourself. Nor "
|
||||
"should you, as a rule, manually edit files within it. If you really must "
|
||||
"manually edit the text files, e.g. with some automated task you want to "
|
||||
"perform, you need to rebuild the Project Index when you open the project "
|
||||
"again."
|
||||
msgstr ""
|
||||
"Vous ne devez pas ajouter vous-même des fichiers supplémentaires au "
|
||||
"dossier du projet. En règle générale, vous ne devez pas non plus "
|
||||
"modifier manuellement les fichiers qui s'y trouvent. Si vous devez "
|
||||
"vraiment modifier manuellement les fichiers texte, par exemple dans le "
|
||||
"cadre d'une tâche automatisée, vous devez reconstruire l'index du projet "
|
||||
"lorsque vous ouvrez à nouveau le projet."
|
||||
|
||||
#: ../../source/technical/storage.rst:47
|
||||
msgid ""
|
||||
"Editing text files in the ``content`` folder is less risky as these are "
|
||||
"just plain text. Editing the main project XML file, however, may make "
|
||||
"the project file unreadable and you may crash novelWriter and lose "
|
||||
"project structure information and project settings."
|
||||
msgstr ""
|
||||
"L'édition de fichiers texte dans le dossier ``content`` est moins "
|
||||
"risquée car il s'agit de texte simple. Cependant, éditer le fichier XML "
|
||||
"du projet principal peut rendre le fichier du projet illisible et vous "
|
||||
"risquez de planter novelWriter et de perdre les informations sur la "
|
||||
"structure et les paramètres du projet."
|
||||
|
||||
#: ../../source/technical/storage.rst:53
|
||||
msgid "Project Structure"
|
||||
msgstr "Structure du projet"
|
||||
|
||||
#: ../../source/technical/storage.rst:55
|
||||
msgid ""
|
||||
"All novelWriter files are written with utf-8 encoding. Since Python "
|
||||
"automatically converts Unix line endings to Windows line endings on "
|
||||
"Windows systems, novelWriter does not make any adaptations to the "
|
||||
"formatting on Windows systems. This is handled entirely by the Python "
|
||||
"standard library. Python also handles this when working on the same "
|
||||
"files on both Windows and Unix-based operating systems."
|
||||
msgstr ""
|
||||
"Tous les fichiers novelWriter sont écrits avec l'encodage utf-8. Comme "
|
||||
"Python convertit automatiquement les fins de ligne Unix en fins de ligne "
|
||||
"Windows sur les systèmes Windows, novelWriter ne fait aucune adaptation "
|
||||
"au formatage sur les systèmes Windows. Ceci est entièrement géré par la "
|
||||
"bibliothèque standard de Python. Python s'en occupe également lorsqu'il "
|
||||
"travaille sur les mêmes fichiers sur les systèmes d'exploitation Windows "
|
||||
"et Unix."
|
||||
|
||||
#: ../../source/technical/storage.rst:63
|
||||
msgid "Main Project File"
|
||||
msgstr "Fichier principal du projet"
|
||||
|
||||
#: ../../source/technical/storage.rst:65
|
||||
msgid ""
|
||||
"The project itself requires a dedicated folder for storing its files, "
|
||||
"where novelWriter will create its own \"file system\" where the "
|
||||
"project's folder and file hierarchy is described in a project XML file. "
|
||||
"This is the main project file in the project's root folder with the name "
|
||||
"``nwProject.nwx``. This file also contains all the meta data required "
|
||||
"for the project (except the index data), and a number of related project "
|
||||
"settings."
|
||||
msgstr ""
|
||||
"Le projet lui-même nécessite un dossier dédié pour stocker ses fichiers, "
|
||||
"où novelWriter créera son propre « système de fichiers » où la "
|
||||
"hiérarchie des dossiers et des fichiers du projet est décrite dans un "
|
||||
"fichier XML du projet. C'est le fichier principal du projet dans le "
|
||||
"dossier racine du projet avec le nom ``nwProject.nwx``. Ce fichier "
|
||||
"contient également toutes les métadonnées requises pour le projet (à "
|
||||
"l'exception des données d'index), ainsi qu'un certain nombre de "
|
||||
"paramètres liés au projet."
|
||||
|
||||
#: ../../source/technical/storage.rst:71
|
||||
msgid ""
|
||||
"If this file is lost or corrupted, the structure of the project is lost, "
|
||||
"although not the text itself. It is important to keep this file backed "
|
||||
"up, either through the built-in backup tool, or your own backup solution."
|
||||
msgstr ""
|
||||
"Si ce fichier est perdu ou corrompu, la structure du projet est perdue, "
|
||||
"mais pas le texte lui-même. Il est important de sauvegarder ce fichier, "
|
||||
"soit à l'aide de l'outil de sauvegarde intégré, soit à l'aide de votre "
|
||||
"propre solution de sauvegarde."
|
||||
|
||||
#: ../../source/technical/storage.rst:75
|
||||
msgid ""
|
||||
"The project XML file is indent-formatted, and is suitable for diff tools "
|
||||
"and version control since most of the file will stay static, although a "
|
||||
"timestamp is set in the meta section on line 2, and various meta data "
|
||||
"entries incremented, on each save."
|
||||
msgstr ""
|
||||
"Le fichier XML du projet est formaté en indentation et convient aux "
|
||||
"outils de comparaison et de contrôle de version, car la majeure partie "
|
||||
"du fichier reste statique, bien qu'un horodatage soit défini dans la "
|
||||
"section méta à la ligne 2 et que diverses entrées de données méta soient "
|
||||
"incrémentées à chaque enregistrement."
|
||||
|
||||
#: ../../source/technical/storage.rst:79
|
||||
msgid ""
|
||||
"A full project file format specification is available under \"More "
|
||||
"Documents\"."
|
||||
msgstr ""
|
||||
"Une spécification complète du format de fichier du projet est disponible "
|
||||
"sous « Plus d'informations »."
|
||||
|
||||
#: ../../source/technical/storage.rst:83
|
||||
msgid "Project Documents"
|
||||
msgstr "Documents de projet"
|
||||
|
||||
#: ../../source/technical/storage.rst:85
|
||||
msgid ""
|
||||
"All the project documents are saved in a subfolder of the main project "
|
||||
"folder named ``content``. Each document has a file handle based on a 52 "
|
||||
"bit random number, represented as a hexadecimal string. The documents "
|
||||
"are saved with a filename assembled from this handle and the file "
|
||||
"extension ``.nwd``."
|
||||
msgstr ""
|
||||
"Tous les documents du projet sont enregistrés dans un sous-dossier du "
|
||||
"dossier principal du projet nommé ``content``. Chaque document possède "
|
||||
"un identifiant de fichier basé sur un nombre aléatoire de 52 bits, "
|
||||
"représenté sous la forme d'une chaîne hexadécimale. Les documents sont "
|
||||
"enregistrés avec un nom de fichier assemblé à partir de cet identifiant "
|
||||
"et de l'extension ``.nwd``."
|
||||
|
||||
#: ../../source/technical/storage.rst:90
|
||||
msgid ""
|
||||
"If you wish to find the file system location of a document in the "
|
||||
"project, you can either look it up in the project XML file, select "
|
||||
"**Show File Details** from the **Document** menu when having the "
|
||||
"document open in the editor, or look in the ``ToC.txt`` file in the root "
|
||||
"of the project folder. The ``ToC.txt`` file has a list of all documents "
|
||||
"in the project, referenced by their label, and where they are saved."
|
||||
msgstr ""
|
||||
"Si vous souhaitez trouver l'emplacement du système de fichiers d'un "
|
||||
"document dans le projet, vous pouvez soit le rechercher dans le fichier "
|
||||
"XML du projet, soit sélectionner **Afficher les détails du fichier** "
|
||||
"dans le menu **Document** lorsque le document est ouvert dans l'éditeur, "
|
||||
"soit rechercher dans le fichier ``ToC.txt`` à la racine du dossier du "
|
||||
"projet. Le fichier ``ToC.txt`` contient une liste de tous les documents "
|
||||
"du projet, référencés par leur étiquette, et l'endroit où ils sont "
|
||||
"sauvegardés."
|
||||
|
||||
#: ../../source/technical/storage.rst:96
|
||||
msgid ""
|
||||
"The reason for this cryptic file naming is to avoid issues with file "
|
||||
"naming conventions and restrictions on different operating systems, and "
|
||||
"also to have a file name that does not depend on what you name the "
|
||||
"document within the project, or changes it to. This is particularly "
|
||||
"useful when using a versioning system."
|
||||
msgstr ""
|
||||
"La raison de ce nom de fichier cryptique est d'éviter les problèmes liés "
|
||||
"aux conventions de dénomination des fichiers et aux restrictions sur les "
|
||||
"différents systèmes d'exploitation, et aussi d'avoir un nom de fichier "
|
||||
"qui ne dépend pas du nom que vous donnez au document dans le projet, ou "
|
||||
"des modifications que vous lui apportez. Ceci est particulièrement utile "
|
||||
"lors de l'utilisation d'un système de gestion des versions."
|
||||
|
||||
#: ../../source/technical/storage.rst:101
|
||||
msgid ""
|
||||
"Each document file contains a plain text version of the text from the "
|
||||
"editor. The file can in principle be edited in any text editor, and is "
|
||||
"suitable for diffing and version control if so desired. Just make sure "
|
||||
"the file remains in utf-8 encoding, otherwise unicode characters may "
|
||||
"become mangled when the file is opened in novelWriter again."
|
||||
msgstr ""
|
||||
"Chaque fichier de document contient une version en texte brut du texte "
|
||||
"de l'éditeur. Le fichier peut en principe être édité dans n'importe quel "
|
||||
"éditeur de texte, et convient pour le diffing et le contrôle de version "
|
||||
"si on le souhaite. Assurez-vous simplement que le fichier reste en "
|
||||
"encodage utf-8, sinon les caractères unicode risquent d'être altérés "
|
||||
"lorsque le fichier est ouvert dans novelWriter."
|
||||
|
||||
#: ../../source/technical/storage.rst:106
|
||||
msgid ""
|
||||
"Editing these files is generally not recommended. The reason for this is "
|
||||
"that the index will not be automatically updated when doing so, which "
|
||||
"means novelWriter doesn't know you've altered the file. If you *do* edit "
|
||||
"a file in this manner, you should rebuild the index when you next open "
|
||||
"the project in novelWriter."
|
||||
msgstr ""
|
||||
"Il est généralement déconseillé de modifier ces fichiers. La raison en "
|
||||
"est que l'index ne sera pas automatiquement mis à jour, ce qui signifie "
|
||||
"que novelWriter ne sait pas que vous avez modifié le fichier. Si vous "
|
||||
"modifiez un fichier de cette manière, vous devez reconstruire l'index "
|
||||
"lorsque vous ouvrez le projet dans novelWriter."
|
||||
|
||||
#: ../../source/technical/storage.rst:111
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The first lines of the file may contain some meta data starting with the "
|
||||
"characters ``%%~``. These lines are mainly there to restore some "
|
||||
"information if the file is lost from the main project file, and the "
|
||||
"information may be helpful if you do open the file in an external editor "
|
||||
"as it contains the document label and the document class and layout. The "
|
||||
"lines can be deleted without any consequences to the rest of the content "
|
||||
"of the file, and will be added back the next time the document is saved "
|
||||
"in novelWriter."
|
||||
msgstr ""
|
||||
"Les premières lignes du fichier peuvent contenir des métadonnées "
|
||||
"commençant par les caractères ``%%~``. Ces lignes sont principalement là "
|
||||
"pour restaurer certaines informations si le fichier est perdu dans le "
|
||||
"fichier principal du projet, et ces informations peuvent être utiles si "
|
||||
"vous ouvrez le fichier dans un éditeur externe car elles contiennent "
|
||||
"l'étiquette du document ainsi que la classe et la mise en page du "
|
||||
"document. Les lignes peuvent être supprimées sans conséquences pour le "
|
||||
"reste du contenu du fichier, et seront ajoutées la prochaine fois que le "
|
||||
"document sera sauvegardé dans novelWriter."
|
||||
|
||||
#: ../../source/technical/storage.rst:120
|
||||
msgid "The File Saving Process"
|
||||
msgstr "Le processus d'enregistrement des fichiers"
|
||||
|
||||
#: ../../source/technical/storage.rst:122
|
||||
msgid ""
|
||||
"When saving the project file, or any of the documents, the data is first "
|
||||
"saved to a temporary file. If successful, the old data file is then "
|
||||
"removed, and the temporary file replaces it. This ensures that the "
|
||||
"previously saved data is only replaced when the new data has been "
|
||||
"successfully saved to the storage medium."
|
||||
msgstr ""
|
||||
"Lors de l'enregistrement du fichier de projet ou de l'un des documents, "
|
||||
"les données sont d'abord enregistrées dans un fichier temporaire. En cas "
|
||||
"de succès, l'ancien fichier de données est alors supprimé et remplacé "
|
||||
"par le fichier temporaire. Cela garantit que les données précédemment "
|
||||
"enregistrées ne sont remplacées que lorsque les nouvelles données ont "
|
||||
"été enregistrées avec succès sur le support de stockage."
|
||||
|
||||
#: ../../source/technical/storage.rst:129
|
||||
msgid "Project Meta Data"
|
||||
msgstr "Métadonnées du projet"
|
||||
|
||||
#: ../../source/technical/storage.rst:131
|
||||
msgid ""
|
||||
"The project folder contains a subfolder named ``meta``, containing a "
|
||||
"number of files. The meta folder contains semi-important files. That is, "
|
||||
"they can be lost with only minor impact to the project. All files in "
|
||||
"this folder are JSON or JSON Lines files, although some other files may "
|
||||
"remain from earlier versions of novelWriter as they haven't all been "
|
||||
"JSON files in the past."
|
||||
msgstr ""
|
||||
"Le dossier du projet contient un sous-dossier nommé ``meta``, contenant "
|
||||
"un certain nombre de fichiers. Le dossier meta contient des fichiers "
|
||||
"semi-importants. C'est-à-dire qu'ils peuvent être perdus avec un impact "
|
||||
"mineur sur le projet. Tous les fichiers de ce dossier sont des fichiers "
|
||||
"JSON ou JSON Lines, bien que certains autres fichiers puissent provenir "
|
||||
"de versions antérieures de novelWriter, car ils n'ont pas tous été des "
|
||||
"fichiers JSON dans le passé."
|
||||
|
||||
#: ../../source/technical/storage.rst:136
|
||||
msgid ""
|
||||
"If you use version control software on your project, you can exclude "
|
||||
"this folder, although you may want to track the session log file and the "
|
||||
"custom words list."
|
||||
msgstr ""
|
||||
"Si vous utilisez un logiciel de contrôle de version pour votre projet, "
|
||||
"vous pouvez exclure ce dossier, même si vous souhaitez suivre le fichier "
|
||||
"journal de la session et la liste des mots personnalisés."
|
||||
|
||||
#: ../../source/technical/storage.rst:141
|
||||
msgid "The Project Index"
|
||||
msgstr "L'index des projets"
|
||||
|
||||
#: ../../source/technical/storage.rst:143
|
||||
msgid ""
|
||||
"Between writing sessions, the project index is saved in a JSON file in "
|
||||
"``meta/index.json``. This file is not critical. If it is lost, it can be "
|
||||
"completely rebuilt from within novelWriter from the **Tools** menu."
|
||||
msgstr ""
|
||||
"Entre les sessions d'écriture, l'index du projet est sauvegardé dans un "
|
||||
"fichier JSON dans ``meta/index.json``. Ce fichier n'est pas critique. "
|
||||
"S'il est perdu, il peut être complètement reconstruit à partir de "
|
||||
"novelWriter dans le menu **Outils**."
|
||||
|
||||
#: ../../source/technical/storage.rst:147
|
||||
msgid ""
|
||||
"The index is maintained and updated whenever a document or note is saved "
|
||||
"in the editor. It contains all references and tags in documents and "
|
||||
"notes, as well as the location of all headers in the project, and the "
|
||||
"word counts within each header section."
|
||||
msgstr ""
|
||||
"L'index est maintenu et mis à jour chaque fois qu'un document ou une "
|
||||
"note est enregistré dans l'éditeur. Il contient toutes les références et "
|
||||
"les balises des documents et des notes, ainsi que l'emplacement de tous "
|
||||
"les en-têtes dans le projet et le nombre de mots dans chaque section de "
|
||||
"l'en-tête."
|
||||
|
||||
#: ../../source/technical/storage.rst:151
|
||||
msgid ""
|
||||
"The integrity of the index is checked when the file is loaded. It is "
|
||||
"possible to corrupt the index if the file is manually edited and "
|
||||
"manipulated, so the check is important to avoid sudden crashes of "
|
||||
"novelWriter. If the file contains errors, novelWriter will automatically "
|
||||
"build it anew. If the check somehow fails and novelWriter keeps "
|
||||
"crashing, you can delete the file manually and rebuild the index. If "
|
||||
"this too fails, you have likely encountered a bug."
|
||||
msgstr ""
|
||||
"L'intégrité de l'index est vérifiée lorsque le fichier est chargé. Il "
|
||||
"est possible de corrompre l'index si le fichier est édité et manipulé "
|
||||
"manuellement, c'est pourquoi cette vérification est importante pour "
|
||||
"éviter les plantages soudains de novelWriter. Si le fichier contient des "
|
||||
"erreurs, novelWriter le reconstruira automatiquement. Si la vérification "
|
||||
"échoue d'une manière ou d'une autre et que novelWriter continue à se "
|
||||
"bloquer, vous pouvez supprimer le fichier manuellement et reconstruire "
|
||||
"l'index. Si cela échoue également, vous avez probablement rencontré un "
|
||||
"bogue."
|
||||
|
||||
#: ../../source/technical/storage.rst:159
|
||||
msgid "Build Definitions"
|
||||
msgstr "Définitions des compilations"
|
||||
|
||||
#: ../../source/technical/storage.rst:161
|
||||
msgid ""
|
||||
"The build definitions from the **Manuscript Build** tool are kept in the "
|
||||
"``meta/builds.json`` file. If this file is lost, all custom build "
|
||||
"definitions are lost too."
|
||||
msgstr ""
|
||||
"Les définitions de construction de l'outil **Compilation du manuscrit** "
|
||||
"sont conservées dans le fichier ``meta/builds.json``. Si ce fichier est "
|
||||
"perdu, toutes les définitions de construction personnalisées sont "
|
||||
"également perdues."
|
||||
|
||||
#: ../../source/technical/storage.rst:166
|
||||
msgid "Cached GUI Options"
|
||||
msgstr "Options de l'interface graphique mises en cache"
|
||||
|
||||
#: ../../source/technical/storage.rst:168
|
||||
msgid ""
|
||||
"A file named ``meta/options.json`` contains the latest state of various "
|
||||
"GUI buttons, switches, dialog window sizes, column sizes, etc, from the "
|
||||
"GUI. These are the GUI settings that are specific to the project. Global "
|
||||
"GUI settings are stored in the main config file."
|
||||
msgstr ""
|
||||
"Un fichier nommé ``meta/options.json`` contient le dernier état des "
|
||||
"différents boutons de l'interface graphique, des commutateurs, de la "
|
||||
"taille des fenêtres de dialogue, de la taille des colonnes, etc, de "
|
||||
"l'interface graphique. Ce sont les paramètres de l'interface graphique "
|
||||
"qui sont spécifiques au projet. Les paramètres globaux de l'interface "
|
||||
"graphique sont stockés dans le fichier de configuration principal."
|
||||
|
||||
#: ../../source/technical/storage.rst:172
|
||||
msgid ""
|
||||
"The file is not critical, but if it is lost, all such GUI options will "
|
||||
"revert back to their default settings."
|
||||
msgstr ""
|
||||
"Le fichier n'est pas critique, mais s'il est perdu, toutes les options "
|
||||
"de l'interface graphique reviendront à leurs paramètres par défaut."
|
||||
|
||||
#: ../../source/technical/storage.rst:177
|
||||
msgid "Custom Word List"
|
||||
msgstr "Liste des mots personnalisés"
|
||||
|
||||
#: ../../source/technical/storage.rst:179
|
||||
msgid ""
|
||||
"A file named ``meta/userdict.json`` contains all the custom words you've "
|
||||
"added to the project for spell checking purposes. The content of the "
|
||||
"file can be edited from the **Tools** menu. If you lose this file, all "
|
||||
"your custom spell check words will be lost too."
|
||||
msgstr ""
|
||||
"Un fichier nommé ``meta/userdict.json`` contient tous les mots "
|
||||
"personnalisés que vous avez ajoutés au projet à des fins de vérification "
|
||||
"orthographique. Le contenu de ce fichier peut être édité à partir du "
|
||||
"menu **Outils**. Si vous perdez ce fichier, tous vos mots personnalisés "
|
||||
"pour la vérification orthographique seront également perdus."
|
||||
|
||||
#: ../../source/technical/storage.rst:185
|
||||
msgid "Session Stats"
|
||||
msgstr "Statistiques de la session"
|
||||
|
||||
#: ../../source/technical/storage.rst:187
|
||||
msgid ""
|
||||
"The writing progress is saved in the ``meta/sessions.jsonl`` file. This "
|
||||
"file records the length and word counts of each writing session on the "
|
||||
"given project. The file is used by the **Writing Statistics** tool. If "
|
||||
"this file is lost, the history it contains is also lost, but it has "
|
||||
"otherwise no impact on the project."
|
||||
msgstr ""
|
||||
"La progression de l'écriture est sauvegardée dans le fichier ``meta/"
|
||||
"sessions.jsonl``. Ce fichier enregistre la durée et le nombre de mots de "
|
||||
"chaque session d'écriture sur le projet donné. Ce fichier est utilisé "
|
||||
"par l'outil **Statistiques d'écriture**. Si ce fichier est perdu, "
|
||||
"l'historique qu'il contient est également perdu, mais cela n'a par "
|
||||
"ailleurs aucun impact sur le projet."
|
||||
|
||||
#: ../../source/technical/storage.rst:192
|
||||
msgid ""
|
||||
"Each session is recorded as a JSON object on a single line of the file. "
|
||||
"Each session record is appended tot he file."
|
||||
msgstr ""
|
||||
"Chaque session est enregistrée sous la forme d'un objet JSON sur une "
|
||||
"seule ligne du fichier. Chaque enregistrement de session est ajouté au "
|
||||
"fichier."
|
||||
@@ -0,0 +1,160 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2025
|
||||
# This file is distributed under the same license as the novelWriter
|
||||
# package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: novelWriter 2.7rc1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
|
||||
"PO-Revision-Date: 2025-05-29 11:41+0200\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: fr <LL@li.org>\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"Generated-By: Babel 2.16.0\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
|
||||
#: ../../source/technical/tests.rst:5
|
||||
msgid "Running Tests"
|
||||
msgstr "Exécution des tests"
|
||||
|
||||
#: ../../source/technical/tests.rst:7
|
||||
msgid ""
|
||||
"The novelWriter source code is well covered by tests. The test framework used "
|
||||
"for the development is ``pytest`` with the use of an extension for Qt."
|
||||
msgstr ""
|
||||
"Le code source de novelWriter est bien couvert par des tests. Le cadre de test "
|
||||
"utilisé pour le développement est ``pytest`` avec l'utilisation d'une extension "
|
||||
"pour Qt."
|
||||
|
||||
#: ../../source/technical/tests.rst:12
|
||||
msgid "Dependencies"
|
||||
msgstr "Dépendances"
|
||||
|
||||
#: ../../source/technical/tests.rst:14
|
||||
msgid "The dependencies for running the tests can be installed with:"
|
||||
msgstr ""
|
||||
"Les dépendances nécessaires à l'exécution des tests peuvent être installées "
|
||||
"avec :"
|
||||
|
||||
#: ../../source/technical/tests.rst:20
|
||||
msgid ""
|
||||
"This will install a couple of extra packages for coverage and test management. "
|
||||
"The minimum requirement is ``pytest`` and ``pytest-qt``."
|
||||
msgstr ""
|
||||
"Cela installera quelques paquets supplémentaires pour la couverture et la "
|
||||
"gestion des tests. Le minimum requis est ``pytest`` et ``pytest-qt``."
|
||||
|
||||
#: ../../source/technical/tests.rst:25
|
||||
msgid "Simple Test Run"
|
||||
msgstr "Test simple"
|
||||
|
||||
#: ../../source/technical/tests.rst:27
|
||||
msgid ""
|
||||
"To run the tests, you simply need to execute the following from the root of the "
|
||||
"source folder:"
|
||||
msgstr ""
|
||||
"Pour exécuter les tests, il suffit d'exécuter ce qui suit à partir de la racine "
|
||||
"du dossier source :"
|
||||
|
||||
#: ../../source/technical/tests.rst:33
|
||||
msgid ""
|
||||
"Since several of the tests involve opening up the novelWriter GUI, you may want "
|
||||
"to disable the GUI for the duration of the test run. Moving your mouse while "
|
||||
"the tests are running may otherwise interfere with the execution of some tests."
|
||||
msgstr ""
|
||||
"Puisque plusieurs des tests impliquent l'ouverture de l'interface graphique de "
|
||||
"novelWriter, vous pouvez désactiver l'interface graphique pour la durée de "
|
||||
"l'exécution du test. Si vous déplacez votre souris pendant que les tests sont "
|
||||
"en cours d'exécution, vous risquez d'interférer avec l'exécution de certains "
|
||||
"tests."
|
||||
|
||||
#: ../../source/technical/tests.rst:37
|
||||
msgid ""
|
||||
"You can disable the renderring of the GUI by setting the flag "
|
||||
"``QT_QPA_PLATFORM=offscreen``:"
|
||||
msgstr ""
|
||||
"Vous pouvez désactiver le rendu de l'interface graphique en définissant le "
|
||||
"drapeau ``QT_QPA_PLATFORM=offscreen`` :"
|
||||
|
||||
#: ../../source/technical/tests.rst:45
|
||||
msgid "Advanced Options"
|
||||
msgstr "Options avancées"
|
||||
|
||||
#: ../../source/technical/tests.rst:47
|
||||
msgid ""
|
||||
"Adding the flag ``-v`` to the ``pytest`` command will increase verbosity of the "
|
||||
"test execution."
|
||||
msgstr ""
|
||||
"L'ajout du drapeau ``-v`` à la commande ``pytest`` augmente la verbosité de "
|
||||
"l'exécution du test."
|
||||
|
||||
#: ../../source/technical/tests.rst:49
|
||||
msgid "You can also add coverage report generation. For instance to HTML:"
|
||||
msgstr ""
|
||||
"Vous pouvez également ajouter la génération de rapports de couverture. Par "
|
||||
"exemple en HTML :"
|
||||
|
||||
#: ../../source/technical/tests.rst:55
|
||||
msgid "Other useful report formats are ``xml``, and ``term`` for terminal output."
|
||||
msgstr ""
|
||||
"D'autres formats de rapport utiles sont ``xml``, et ``term`` pour la sortie "
|
||||
"terminal."
|
||||
|
||||
#: ../../source/technical/tests.rst:57
|
||||
msgid ""
|
||||
"You can also run tests per subpackage of novelWriter with the ``-m`` command. "
|
||||
"The available subpackage groups are ``base``, ``core``, and ``gui``. Consider "
|
||||
"for instance:"
|
||||
msgstr ""
|
||||
"Vous pouvez aussi lancer des tests par sous-paquet de novelWriter avec la "
|
||||
"commande ``-m``. Les groupes de sous-paquetages disponibles sont ``base``, "
|
||||
"``core``, et ``gui``. Prenons un exemple :"
|
||||
|
||||
#: ../../source/technical/tests.rst:64
|
||||
msgid ""
|
||||
"This will only run the tests of the \"core\" package, that is, all the classes "
|
||||
"that deal with the project data of a novelWriter project. The \"gui\" tests, "
|
||||
"likewise, will run the tests for the GUI components, and the \"base\" tests "
|
||||
"cover the bits in-between."
|
||||
msgstr ""
|
||||
"Ceci n'exécutera que les tests du paquet « core », c'est-à-dire toutes les "
|
||||
"classes qui traitent les données d'un projet novelWriter. Les tests « gui », de "
|
||||
"même, exécuteront les tests des composants de l'interface graphique, et les "
|
||||
"tests « base » couvriront les éléments intermédiaires."
|
||||
|
||||
#: ../../source/technical/tests.rst:68
|
||||
msgid ""
|
||||
"You can also filter the tests with the ``-k`` switch. The following will do the "
|
||||
"same as ``-m core``:"
|
||||
msgstr ""
|
||||
"Vous pouvez également filtrer les tests avec le commutateur ``-k``. Ce qui suit "
|
||||
"fera la même chose que ``-m core`` :"
|
||||
|
||||
#: ../../source/technical/tests.rst:75
|
||||
msgid ""
|
||||
"All tests are named in such a way that you can filter them by adding more bits "
|
||||
"of the test names. They all start with the word \"test\". Then comes the group: "
|
||||
"\"Core\", \"Base\", \"Dlg\", \"Tool\", or \"Gui\". Finally comes the name of "
|
||||
"the class or module, which generally corresponds to a single source code file. "
|
||||
"For instance, running the following will run all tests for the document editor:"
|
||||
msgstr ""
|
||||
"Tous les tests sont nommés de manière à ce que vous puissiez les filtrer en "
|
||||
"ajoutant d'autres éléments aux noms des tests. Ils commencent tous par le mot « "
|
||||
"test ». Vient ensuite le groupe : « Core », “Base”, “Dlg”, “Tool” ou “Gui”. "
|
||||
"Enfin, vient le nom de la classe ou du module, qui correspond généralement à un "
|
||||
"seul fichier de code source. Par exemple, l'exécution de ce qui suit lancera "
|
||||
"tous les tests pour l'éditeur de documents :"
|
||||
|
||||
#: ../../source/technical/tests.rst:84
|
||||
msgid "To run a single test, simply add the full test name to the ``-k`` switch."
|
||||
msgstr ""
|
||||
"Pour lancer un seul test, il suffit d'ajouter le nom complet du test au "
|
||||
"commutateur ``-k``."
|
||||
Reference in New Issue
Block a user