Skip to content

Commit

Permalink
feat(i18n): french translation
Browse files Browse the repository at this point in the history
Re #39
  • Loading branch information
iliyaZelenko authored Aug 28, 2019
2 parents 0bbb8e9 + 8980f74 commit 06dd3ea
Show file tree
Hide file tree
Showing 2 changed files with 107 additions and 1 deletion.
104 changes: 104 additions & 0 deletions src/i18n/fr/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
export default {
extensions: {
Blockquote: {
buttons: {
blockquote: {
tooltip: 'Bloc de citation'
}
}
},
Bold: {
buttons: {
bold: {
tooltip: 'Gras'
}
}
},
BulletList: {
buttons: {
bulletList: {
tooltip: 'Liste à puce'
}
}
},
Code: {
buttons: {
code: {
tooltip: 'Code'
}
}
},
CodeBlock: {
buttons: {
codeBlock: {
tooltip: 'Bloc de code'
}
}
},
History: {
buttons: {
undo: {
tooltip: 'Annuler'
},
redo: {
tooltip: 'Rétablir'
}
}
},
HorizontalRule: {
buttons: {
horizontalRule: {
tooltip: 'Ligne horizontale'
}
}
},
Italic: {
buttons: {
italic: {
tooltip: 'Italique'
}
}
},
Link: {
bubble: {
updateLink: 'Mise à jour du lien',
addLink: 'Ajouter un lien'
}
},
OrderedList: {
buttons: {
orderedList: {
tooltip: 'Liste ordonnée'
}
}
},
Paragraph: {
buttons: {
paragraph: {
tooltip: 'Paragraphe'
}
}
},
Strike: {
buttons: {
strike: {
tooltip: 'Barré'
}
}
},
Underline: {
buttons: {
underline: {
tooltip: 'Souligné'
}
}
},
Heading: {
buttons: {
heading: {
tooltip: args => args.level + ' niveau de titre'
}
}
}
}
}
4 changes: 3 additions & 1 deletion src/i18n/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import en from './en'
import ru from './ru'
import es from './es'
import pl from './pl'
import fr from './fr'
import ConsoleLogger from '~/logging/ConsoleLogger'

export const defaultLanguage = 'en'
Expand All @@ -11,7 +12,8 @@ export const dictionary = {
en,
ru,
es,
pl
pl,
fr
}

export function getCurrentLang () {
Expand Down

0 comments on commit 06dd3ea

Please sign in to comment.