Skip to content

Commit 5c2be26

Browse files
author
Friedrich W. H. Kossebau
committed
Add French translation for the editor
1 parent b16f0d1 commit 5c2be26

3 files changed

Lines changed: 69 additions & 1 deletion

File tree

programs/editor/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ add_custom_command(
102102
COMMAND ${CMAKE_COMMAND} -E copy_directory dojo-deps/dist/dojox/layout/resources/ dojox/layout/resources/
103103
COMMAND ${CMAKE_COMMAND} -E copy_directory dojo-deps/dist/dojox/widget/ColorPicker/ dojox/widget/ColorPicker/
104104

105-
COMMAND ${NODE} ${CMAKE_SOURCE_DIR}/webodf/tools/dojoNlsCompile.js dojo-deps/dist de nl it eu > dojobundle.js
105+
COMMAND ${NODE} ${CMAKE_SOURCE_DIR}/webodf/tools/dojoNlsCompile.js dojo-deps/dist de fr nl it eu > dojobundle.js
106106

107107
COMMAND ${NODE} ${CMAKE_CURRENT_SOURCE_DIR}/libexec/mergeIntoDojo.js dojobuild=${DOJO_DEPS}/dist/dojo/dojo.js dojobundle.js > dojo-amalgamation.js
108108

programs/editor/Translator.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ define("webodf/editor/Translator", [], function () {
4040
newLocale = "de-DE";
4141
} else if (newLocale.split('-')[0] === "nl" || newLocale.split('_')[0] === "nl") {
4242
newLocale = "nl-NL";
43+
} else if (newLocale.split('-')[0] === "fr" || newLocale.split('_')[0] === "fr") {
44+
newLocale = "fr-FR";
4345
} else if (newLocale.split('-')[0] === "it" || newLocale.split('_')[0] === "it") {
4446
newLocale = "it-IT";
4547
} else if (newLocale.split('-')[0] === "eu" || newLocale.split('_')[0] === "eu") {
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"Loading": "Chargement de",
3+
"Unknown Author": "Auteur inconnu",
4+
5+
"File": "Fichier",
6+
"Open": "Ouvrir",
7+
"Save": "Enregistrer",
8+
"Save as...": "Enregistrer sous…",
9+
"Edit": "Éditer",
10+
"View": "Vue",
11+
"Annotate": "Annoter",
12+
"Align Left": "Aligné à gauche",
13+
"Center": "Centré",
14+
"Align Right": "Aligné à droite",
15+
"Justify" : "Justifier",
16+
"Increase Indent": "Augmenter l'indentation",
17+
"Decrease Indent": "Diminuer l'indentation",
18+
"Clone": "Copier",
19+
"Create": "Créer",
20+
"Delete": "Supprimer",
21+
"Insert": "Insérer",
22+
"Format": "Formater",
23+
"Download": "Téléchargement",
24+
"Close": "Fermer",
25+
"Character...": "Caractère…",
26+
"Paragraph...": "Paragraphe…",
27+
"OK": "OK",
28+
"Cancel": "Annuler",
29+
"Alignment": "Alignement",
30+
"Font Effects": "Effets de caractère",
31+
"Character": "Caractère",
32+
"Paragraph Styles": "Styles de Paragraphe",
33+
"Clone this Style": "Copier ce Style",
34+
"New Name:": "Nouveau Nom :",
35+
"Collaboration Pane": "Collaboration",
36+
"Members": "Participants",
37+
"Invite Members": "Inviter des participants",
38+
"Left": "Gauche",
39+
"Right": "Droite",
40+
"Top": "Haut",
41+
"Bottom": "Bas",
42+
"Justified": "Justification",
43+
"Spacing": "Espacement",
44+
"Options": "Options",
45+
"Style": "Style",
46+
"Undo": "Défaire",
47+
"Redo": "Refaire",
48+
"Bold": "Gras",
49+
"Italic": "Italique",
50+
"Underline": "Souligné",
51+
"Strikethrough": "Barré",
52+
"Font": "Police",
53+
"Family": "Famille",
54+
"Size": "Taille",
55+
"Color": "Couleur",
56+
"Text": "Texte",
57+
"Background": "Arrière-plan",
58+
"Default Style": "Style par défaut",
59+
"Insert Image": "Insérer une image",
60+
"Edit link": "Éditer le lien",
61+
"Remove link": "Supprimer le lien",
62+
"Display Text": "Texte du lien",
63+
"URL": "URL",
64+
"Ctrl-click to follow link": "Ctrl-clic pour ouvrir le lien",
65+
"⌘-click to follow link": "⌘-clic pour ouvrir le lien"
66+
}

0 commit comments

Comments
 (0)