diff --git a/i18n/manuskript_fr.qm b/i18n/manuskript_fr.qm
index 14a7417d..b5e5a5af 100644
Binary files a/i18n/manuskript_fr.qm and b/i18n/manuskript_fr.qm differ
diff --git a/i18n/manuskript_fr.ts b/i18n/manuskript_fr.ts
index 0444ab4d..b78ac84b 100644
--- a/i18n/manuskript_fr.ts
+++ b/i18n/manuskript_fr.ts
@@ -49,7 +49,7 @@
Informations sur l'auteur
-
+
Name
Nom
@@ -59,7 +59,7 @@
Email
-
+
Summary
Résumé
@@ -74,12 +74,12 @@
Résumé en une phrase
-
+
Next
Suivant
-
+
One paragraph
Un paragraphe
@@ -89,7 +89,7 @@
Résumé en un paragraphe
-
+
One page
Une page
@@ -99,7 +99,7 @@
Développez chaque phrase du paragraphe précédent en un paragraphe complet
-
+
Full
Complet
@@ -124,322 +124,307 @@
Noms
-
+
Filter
Filtre
-
+
Basic infos
Informations générales
-
+
Importance
Importance
-
+
Motivation
Motivation
-
+
Goal
Goal
-
+
Conflict
Conflit
-
+
Epiphany
Épiphanie
-
+
<html><head/><body><p align="right">One sentance<br/>summary</p></body></html>
<html><head/><body><p align="right">Résumé<br/>en une phrase</p></body></html>
-
+
<html><head/><body><p align="right">One paragraph<br/>summary</p></body></html>
<html><head/><body><p align="right">Résumé<br/>en un paragraphe</p></body></html>
-
+
Notes
Notes
-
+
Detailed infos
Informations détaillées
-
+
Plots
Intrigues
-
+
Plot
Intrigue
-
+
Character(s)
Personnage(s)
-
+
Description
Description
-
+
Result
Résultat
-
+
Resolution steps
Étapes de résolution
-
+
Context
Contexte
-
+
Outline
Plan
-
+
Redaction
Rédaction
-
- F11
- F11
-
-
-
+
Tools
Outils
-
+
Cheat sheet
Aide-mémoire
-
+
Albert - perso
-
+
Jean - perso
-
+
Crapoquak - animal
-
+
La revenche du capitaine - intrigue
-
+
Debug
Debug
-
+
FlatData
FlatData
-
+
Persos
Persos
-
- Perso Infos
- Perso Infos
-
-
-
+
File
Fichier
-
+
Help
Aide
-
+
Open
Ouvrir
-
+
Ctrl+O
-
+
Recents
Récents
-
+
Save
Enregistrer
-
+
Ctrl+S
Ctrl+S
-
+
Save as...
Enregistrer sous...
-
+
Ctrl+Shift+S
-
+
Quit
Quitter
-
+
Ctrl+Q
-
+
Show help texts
Montrer les bulles d'aides
-
+
Ctrl+Shift+B
-
+
Spellcheck
Correcteur orthographique
-
+
F8
-
+
Mode
Mode
-
- New character
- Nouveau perso
-
-
-
+
(~{} pages)
(~{} pages)
-
+
Enter infos about your book, and yourself.
Entrez toutes les informations relatives au livre, ainsi qu'à vous.
-
+
Take time to think about a one sentance (~50 words) summary of your book. Then expand it to a paragraph, then to a page, then to a full summary.
Prenez le temps de réfléchir à un résumé de votre livre, en une phrase (~50 mots). Puis augmentez cette phrase en un paragraphe, puis en une page, puis en un résumé complet.
-
+
Create your characters.
Créez ici vos personnage.
-
+
Develop plots.
Développez vos intrigues.
-
+
Create the outline of your masterpiece.
Créez le plan de votre chef-d'œuvre.
-
+
Write.
Écrivez.
-
+
Debug infos. Sometimes useful.
Des infos pour débugger des fois pendant qu'on code c'est utile.
-
+
Dictionary
Dictionnaire
-
+
Install PyEnchant to use spellcheck
Installez PyEnchant pour profiter du correcteur orthographique
-
+
Words: {}{}
Mots: {}{}
-
+
Text
Texte
-
+
Labels
Labels
-
+
Edit
Édition
-
+
Labels...
Labels...
-
+
Status...
Status...
@@ -449,7 +434,7 @@
Situation:
-
+
Summary:
Résumé:
@@ -459,147 +444,147 @@
Et si...?
-
+
Index cards
Cartes
-
+
Metadata
Métadonnées
-
+
View
Vue
-
+
F9
F9
-
+
Tree
Arbre
-
+
Normal
Normal
-
+
Simple
Simple
-
+
Fractal
Fractal
-
+
Settings
Réglages
-
+
Project {} saved.
Le projet {} a été enregistré.
-
+
Project {} loaded.
Le projet {} a été chargé.
-
+
The basic situation, in the form of a 'What if...?' question. Ex: 'What if the most dangerous evil wizard could wasn't abled to kill a baby?' (Harry Potter)
La situation de base, sous la forme d'une question: "Et si...?" Par exemple: "Et si le plus dangereux magiciens mauvais n'était pas capable de tuer un bébé?" (Harry Potter)
-
+
Nothing
Rien
-
+
POV
POV
-
+
Label
Label
-
+
Progress
Progrès
-
+
Compile
Compilation
-
+
Icon color
Couleur de l'icone
-
+
Text color
Couleur du texte
-
+
Background color
Couleur de l'arrière-plan
-
+
Icon
Icone
-
+
Background
Arrière-plan
-
+
Border
Bordure
-
+
Corner
Coin
-
+
Close project
Fermer le projet
-
+
The file {} does not exist. Try again.
Le fichier {} n'existe pas. Essayez encore.
-
+
Project {} loaded with some errors:
Le projet {} a été chargé, avec des erreurs:
-
+
* {} wasn't found in project file.
* {} n'a pas été trouvé dans le fichier du projet.
-
+
Project {} loaded with some errors.
Le projet {} a été chargé avec des erreurs.
@@ -1071,7 +1056,7 @@ des lignes:
SpellAction
-
+
Spelling Suggestions
Suggestions
@@ -1133,7 +1118,7 @@ des lignes:
cmbOutlinePersoChoser
-
+
Various
Différentes valeurs
@@ -1166,6 +1151,34 @@ des lignes:
Différentes valeurs
+
+ completer
+
+
+ Texts
+ Textes
+
+
+
+ Minor
+ Mineur
+
+
+
+ Secondary
+ Secondaire
+
+
+
+ Main
+ Principal
+
+
+
+ Characters
+ Personnages
+
+
corkDelegate
@@ -1179,19 +1192,6 @@ des lignes:
Résumé complet
-
- editorWidget
-
-
- {} words / {}
- {} mots / {}
-
-
-
- {} words
- {} mots
-
-
editorWidget_ui
@@ -1234,6 +1234,24 @@ des lignes:
Différentes valeurs
+
+ mainEditor
+
+
+ Root
+ Racine
+
+
+
+ {} words / {}
+ {} mots / {}
+
+
+
+ {} words
+ {} mots
+
+
metadataView
@@ -1290,12 +1308,12 @@ des lignes:
Choisir le POV
-
+
Set Status
Choisir le status
-
+
Set Label
Choisir le label
@@ -1310,7 +1328,7 @@ des lignes:
Aucun
-
+
New
Nouveau
@@ -1338,37 +1356,37 @@ des lignes:
outlineModel
-
+
Title
Titre
-
+
POV
POV
-
+
Label
Label
-
+
Status
Status
-
+
Compile
Compilation
-
+
Word count
Nombre de mots
-
+
Goal
Goal
@@ -1381,21 +1399,39 @@ des lignes:
Aucun
-
+
Main
Principal
-
+
Secondary
Secondaire
-
+
Minor
Mineur
+
+ persosModel
+
+
+ New character
+ Nouveau personnage
+
+
+
+ Name
+ Nom
+
+
+
+ Value
+ Valeur
+
+
persosProxyModel
@@ -1417,27 +1453,27 @@ des lignes:
plotModel
-
+
New plot
Nouvelle intrigue
-
+
New subplot
Nouvelle sous-intrigue
-
+
Main
Principale
-
+
Secondary
Secondaire
-
+
Minor
Mineure
@@ -1503,6 +1539,24 @@ des lignes:
Format:
+
+ references
+
+
+ Unknown reference: {}.
+ Référence inconnue: {}.
+
+
+
+ Text: <b>{}</b>
+ Texte: <b>{}</b>
+
+
+
+ Character: <b>{}</b>
+ Personnage: <b>{}</b>
+
+
settingsWindow
@@ -1572,7 +1626,7 @@ des lignes:
textEditView
-
+
Various
Différentes valeurs
@@ -1623,25 +1677,40 @@ des lignes:
treeView
-
+
Expand {}
Développer {}
-
+
Collapse {}
Fermer {}
-
+
Expand All
Tout développer
-
+
Collapse All
Tout fermer
+
+
+ Root
+ Racine
+
+
+
+ Open {} items in new tabs
+ Ouvrir {} éléments dans des nouveaux onglets
+
+
+
+ Open {} in a new tab
+ Ouvrir {} dans un nouvel onglet
+
welcome
@@ -1656,37 +1725,37 @@ des lignes:
-
+
Templates
Modèles
-
+
Empty
Vide
-
+
Novel
Roman
-
+
Novella
Nouvelle
-
+
Short Story
-
+
Research paper
-
+
Demo projects
Projets de démonstration
@@ -1721,129 +1790,129 @@ des lignes:
Créer
-
+
Open project
Ouvrir le projet
-
+
Manuskript project (*.msk)
Projet Manuskript (*.msk)
-
+
Save project as...
Enregistrer le projer sous...
-
+
Create New Project
Créer un nouveau projet
-
+
Chapter
Chapitre
-
+
Scene
Scène
-
+
Trilogy
Trilogie
-
+
Book
Livre
-
+
Section
Section
-
+
words each.
mots chacun(e).
-
+
of
de
-
+
Text
Texte
-
+
Something
Quelque chose
-
+
<b>Total:</b> {} words (~ {} pages)
<b>Total:</b> {} mots (~ {} pages)
-
+
Idea
Idée
-
+
Note
Note
-
+
Research
Recherche
-
+
TODO
TODO
-
+
First draft
Premier brouillon
-
+
Second draft
Second brouillon
-
+
Final
Final
Default text type:
-
-
-
-
- Txt2Tags
-
+ Type de texte par défaut:
- Rich Text (html)
-
+ Txt2Tags
+ Txt2Tags
+ Rich Text (html)
+ Texte riche (html)
+
+
+
Plain Text
-
+ Texte simple
diff --git a/src/ui/editors/mainEditor.py b/src/ui/editors/mainEditor.py
index 750ff1be..b5e74424 100644
--- a/src/ui/editors/mainEditor.py
+++ b/src/ui/editors/mainEditor.py
@@ -6,6 +6,9 @@ from enums import *
from ui.editors.mainEditor_ui import *
from ui.editors.editorWidget import *
from functions import *
+import locale
+locale.setlocale(locale.LC_ALL, '')
+
class mainEditor(QWidget, Ui_mainEditor):
@@ -166,10 +169,13 @@ class mainEditor(QWidget, Ui_mainEditor):
drawProgress(p, rect, progress, 2)
del p
self.lblRedacProgress.setPixmap(self.px)
- self.lblRedacWC.setText(self.tr("{} words / {}").format(wc, goal))
+ self.lblRedacWC.setText(self.tr("{} words / {}").format(
+ locale.format("%d", wc, grouping=True),
+ locale.format("%d", goal, grouping=True)))
else:
self.lblRedacProgress.hide()
- self.lblRedacWC.setText(self.tr("{} words").format(wc))
+ self.lblRedacWC.setText(self.tr("{} words").format(
+ locale.format("%d", wc, grouping=True)))
###############################################################################
# VIEWS