From 0265eea7bf889e7b8102bd9774bc02debcc04bc8 Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Sun, 19 Jul 2020 18:58:05 +0530 Subject: [PATCH] - added French translations --- README.md | 7 ++++--- src/i18n/index.js | 16 ++++++++++------ src/i18n/locales/index.js | 2 ++ 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ccd3e969..a832f746 100644 --- a/README.md +++ b/README.md @@ -46,10 +46,11 @@ For those of you familiar with the Crowdin Platform, you could do that too and j ##### Languages Currently Supported - English -- Kannada (ಕನ್ನಡ) -- Spanish (Español) (by [@jrgonzalezrios](https://github.com/jrgonzalezrios)) -- Portuguese (Brazilian) (by [Felipe CG](https://github.com/felcg)) - Finnish (Suomalainen) (by Ari Pikkarainen) +- French (Français) (by [MeisterLLD](https://github.com/MeisterLLD)) +- Kannada (ಕನ್ನಡ) +- Portuguese (Brazilian) (by [Felipe CG](https://github.com/felcg)) +- Spanish (Español) (by [@jrgonzalezrios](https://github.com/jrgonzalezrios)) ### Building from Source diff --git a/src/i18n/index.js b/src/i18n/index.js index 0a24620c..721dbded 100644 --- a/src/i18n/index.js +++ b/src/i18n/index.js @@ -8,20 +8,24 @@ const languages = [ name: 'English (US)', }, { - code: 'kn', - name: 'Kannada (ಕನ್ನಡ)', + code: 'fi', + name: 'Finnish (Suomalainen)', }, { - code: 'es', - name: 'Spanish (Español)', + code: 'fr', + name: 'French (Français)', + }, + { + code: 'kn', + name: 'Kannada (ಕನ್ನಡ)', }, { code: 'ptBr', name: 'Portuguese (Brazilian)', }, { - code: 'fi', - name: 'Finnish (Suomalainen)', + code: 'es', + name: 'Spanish (Español)', }, ]; diff --git a/src/i18n/locales/index.js b/src/i18n/locales/index.js index 9e669fcd..77402afc 100644 --- a/src/i18n/locales/index.js +++ b/src/i18n/locales/index.js @@ -3,6 +3,7 @@ import kn from './kn.json'; import es from './es.json'; import ptBr from './pt-br.json'; import fi from './fi.json'; +import fr from './fr.json'; export default { en: { translation: en }, @@ -10,4 +11,5 @@ export default { es: { translation: es }, ptBr: { translation: ptBr }, fi: { translation: fi }, + fr: { translation: fr }, };