From b696c71152ef913bb9baeb2c6972ce85fdd65b76 Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Mon, 20 Jul 2020 07:57:40 +0530 Subject: [PATCH] - add Turkish language - update dependencies - increment version --- README.md | 3 ++- gatsby-config.js | 2 +- package-lock.json | 6 +++--- package.json | 2 +- src/i18n/index.js | 4 ++++ src/i18n/locales/index.js | 2 ++ 6 files changed, 13 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a832f746..1da93e1c 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,8 @@ For those of you familiar with the Crowdin Platform, you could do that too and j - 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)) +- Spanish (Español) (by [jrgonzalezrios](https://github.com/jrgonzalezrios)) +- Turkish (Türkçe) (by [Emirhan Avcı](https://github.com/AtlasFontaine)) ### Building from Source diff --git a/gatsby-config.js b/gatsby-config.js index 37b34d19..2c7e41cb 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -5,7 +5,7 @@ module.exports = { title: 'Reactive Resume', siteUrl: 'https://rxresu.me', description: 'A free and open source resume builder.', - version: '2.0.2', + version: '2.0.3', }, plugins: [ 'gatsby-plugin-react-helmet', diff --git a/package-lock.json b/package-lock.json index 5cc2a0b0..ecc729ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17540,9 +17540,9 @@ } }, "short-unique-id": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/short-unique-id/-/short-unique-id-3.0.3.tgz", - "integrity": "sha512-g8StBeiZN4bAtJlZIZQ3C7RNRjtTdJhwgq4WRHC30+z2dbuE/A0Z51CafHsgpwJHYllW4lyH17EKiyBe4W/AeA==" + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/short-unique-id/-/short-unique-id-3.0.4.tgz", + "integrity": "sha512-M2VEyhMf5H+GUkImMTM5cJMJanm/jgJJf6NSWdNzkIx5oMtQvGm9k6oom3OV77m/RyIe1+MXPkxGqdaipzCRcw==" }, "side-channel": { "version": "1.0.2", diff --git a/package.json b/package.json index a8e9ad5e..3920c18c 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "react-markdown": "^4.3.1", "react-scroll": "^1.8.0", "react-toastify": "^6.0.8", - "short-unique-id": "^3.0.3", + "short-unique-id": "^3.0.4", "typeit-react": "^0.1.3", "uuid": "^8.2.0", "yup": "^0.29.1" diff --git a/src/i18n/index.js b/src/i18n/index.js index 721dbded..5eefe614 100644 --- a/src/i18n/index.js +++ b/src/i18n/index.js @@ -27,6 +27,10 @@ const languages = [ code: 'es', name: 'Spanish (Español)', }, + { + code: 'tr', + name: 'Turkish (Türkçe)', + }, ]; i18n.use(initReactI18next).init({ diff --git a/src/i18n/locales/index.js b/src/i18n/locales/index.js index 65e3588d..eb3ff20e 100644 --- a/src/i18n/locales/index.js +++ b/src/i18n/locales/index.js @@ -4,6 +4,7 @@ import fi from './fi.json'; import fr from './fr.json'; import kn from './kn.json'; import ptBr from './pt-br.json'; +import tr from './tr.json'; export default { en: { translation: en }, @@ -12,4 +13,5 @@ export default { fr: { translation: fr }, kn: { translation: kn }, ptBr: { translation: ptBr }, + tr: { translation: tr }, };