diff --git a/kiwix-desktop.pro b/kiwix-desktop.pro
index e7f5828..786c50e 100644
--- a/kiwix-desktop.pro
+++ b/kiwix-desktop.pro
@@ -79,13 +79,15 @@ FORMS += \
ui/about.ui \
src/tocsidebar.ui
+TRANSLATIONS = "resources/i18n/kiwix-desktop_fr.ts"
+CODECFORSRC = UTF-8
+
isEmpty(PREFIX) {
PREFIX = /usr/local
}
target.path = $$PREFIX/bin
INSTALLS += target
-
static {
PKGCONFIG_OPTION = "--static"
}
@@ -113,4 +115,8 @@ QMAKE_CFLAGS += $$PKGCONFIG_CFLAGS
LIBS += $$system(pkg-config --libs $$PKGCONFIG_OPTION kiwix)
RESOURCES += \
- resources/kiwix.qrc
+ resources/kiwix.qrc \
+ resources/translations.qrc
+
+system($$QMAKE_LUPDATE -locations relative -no-ui-lines $$_PRO_FILE_)
+system($$QMAKE_LRELEASE $$_PRO_FILE_)
diff --git a/resources/i18n/kiwix-desktop_fr.qm b/resources/i18n/kiwix-desktop_fr.qm
new file mode 100644
index 0000000..be55624
Binary files /dev/null and b/resources/i18n/kiwix-desktop_fr.qm differ
diff --git a/resources/i18n/kiwix-desktop_fr.ts b/resources/i18n/kiwix-desktop_fr.ts
new file mode 100644
index 0000000..e6c738e
--- /dev/null
+++ b/resources/i18n/kiwix-desktop_fr.ts
@@ -0,0 +1,393 @@
+
+
+
+
+ AboutDialog
+
+
+ About
+ A propos
+
+
+
+ qrc:/texts/about.html
+ qrc:/texts/about.html
+
+
+
+ KiwixApp
+
+
+ Open Zim
+ Ouvrir Zim
+
+
+
+ Local Kiwix Server
+ Serveur local Kiwix
+
+
+
+ Random Article
+ Article aléatoire
+
+
+
+ Print
+ Imprimer
+
+
+
+ New tab
+ Nouvel onglet
+
+
+
+ Close tab
+ Fermer l'onglet
+
+
+
+ Reopen closed tab
+ Rouvrir l'onglet fermé
+
+
+
+ Browse library
+ Parcourir la bibliothèque
+
+
+
+ Open file
+ Ouvrir un ficher
+
+
+
+ Open recent
+ Fichiers récemment ouverts
+
+
+
+ Save page as ...
+ Enregister sous...
+
+
+
+ Search article
+ Chercher un article
+
+
+
+ Search in library
+ Chercher dans la bibliothèque
+
+
+
+ Find in page
+ Chercher dans la page
+
+
+ Find next
+ Trouver le suivant
+
+
+ Find previous
+ Trouver le précédent
+
+
+
+
+ Set fullScreen
+ Mode plein écran
+
+
+
+ Quit fullScreen
+ Quitter le pein écran
+
+
+
+ Table of content
+ Table des matières
+
+
+
+ Reading list
+ Liste de lecture
+
+
+
+ Zoom in
+ Zoom +
+
+
+
+ Zoom out
+ Zoom -
+
+
+
+ Zoom reset
+ Réinitialisation du zoom
+
+
+
+ Help
+ Aide
+
+
+
+ Feedback
+ Retour d'information
+
+
+
+ Repost a bug
+ Déclarer un bogue
+
+
+
+ Request a feature
+ Demander une nouvelle fonctionnalité
+
+
+
+ About Kiwix
+ A propos de Kiwix
+
+
+
+ Settings
+ Paramètres
+
+
+
+ Donate to support Kiwix
+ Faire un don pour soutenir Kiwix
+
+
+
+ Exit
+ Quitter
+
+
+
+ MainMenu
+
+
+ File
+ Fichier
+
+
+
+ Edit
+ Édition
+
+
+
+ View
+ Affichage
+
+
+
+ Tools
+ Outils
+
+
+
+ Help
+ Aide
+
+
+
+ MainWindow
+
+
+ MainWindow
+ MainWindow
+
+
+
+ Find in page
+ Chercher dans la page
+
+
+
+ QObject
+
+ Open Zim
+ Ouvrir Zim
+
+
+ Local Kiwix Server
+ Serveur local Kiwix
+
+
+ Random Article
+ Article aléatoire
+
+
+ Print
+ Imprimer
+
+
+ New tab
+ Nouvel onglet
+
+
+ Close tab
+ Fermer l'onglet
+
+
+ Reopen closed tab
+ Rouvrir l'onglet fermé
+
+
+ Browse library
+ Parcourir la bibliothèque
+
+
+ Open file
+ Ouvrir un ficher
+
+
+ Open recent
+ Fichiers récemment ouverts
+
+
+ Save page as ...
+ Enregister sous...
+
+
+ Search article
+ Chercher un article
+
+
+ Search in library
+ Chercher dans la bibliothèque
+
+
+ Find in page
+ Chercher dans la page
+
+
+ Set fullScreen
+ Mode plein écran
+
+
+ Quit fullScreen
+ Quitter le pein écran
+
+
+ Table of content
+ Table des matières
+
+
+ Reading list
+ Liste de lecture
+
+
+ Zoom in
+ Zoom +
+
+
+ Zoom out
+ Zoom -
+
+
+ Zoom reset
+ Réinitialisation du zoom
+
+
+ Help
+ Aide
+
+
+ Feedback
+ Retour d'information
+
+
+ Repost a bug
+ Déclarer un bogue
+
+
+ Request a feature
+ Demander une nouvelle fonctionnalité
+
+
+ About Kiwix
+ A propos de Kiwix
+
+
+ Settings
+ Paramètres
+
+
+ Donate to support Kiwix
+ Faire un don pour soutenir Kiwix
+
+
+ Exit
+ Quitter
+
+
+ File
+ Fichier
+
+
+ Edit
+ Édition
+
+
+ View
+ Affichage
+
+
+ Tools
+ Outils
+
+
+ Search
+ Recherche
+
+
+ back
+ Précédent
+
+
+ forward
+ Suivant
+
+
+
+ SearchBar
+
+
+ Search
+ Recherche
+
+
+
+ TocSideBar
+
+
+ Form
+
+
+
+
+ TopWidget
+
+
+
+ back
+ Précédent
+
+
+
+
+ forward
+ Suivant
+
+
+
diff --git a/resources/kiwix.qrc b/resources/kiwix.qrc
index fab3b66..68b5a44 100644
--- a/resources/kiwix.qrc
+++ b/resources/kiwix.qrc
@@ -65,4 +65,7 @@
icons/search_backward.svgicons/search_forward.svg
+
+ texts/fr/about.html
+
diff --git a/resources/texts/fr/about.html b/resources/texts/fr/about.html
new file mode 100644
index 0000000..d8619e9
--- /dev/null
+++ b/resources/texts/fr/about.html
@@ -0,0 +1,29 @@
+
+
+
+
+
Kiwix Desktop
+
Kiwix vous permet d'avoir tout Wikipedia à portée de main où que vous alliez! Dans un bateau, au milieu de nul-part ou en prison, Kiwix vous donne accès à l'ensemble du savoir humain. Vous n'avez pas besoin d'internet, tout est conservé dans votre ordinateur.