From cddb238994dd6835a3f57490c9e4f50f3ec0918e Mon Sep 17 00:00:00 2001 From: Faturachman Yusuf Date: Tue, 22 Jun 2021 21:32:29 +0700 Subject: [PATCH 1/2] FIX error when select Indonesian Language - import 'id.json' in src/i18n/locales/index.js - import 'dayjs/locale/id' in src/utils/dayjs.js --- src/i18n/locales/index.js | 2 ++ src/utils/dayjs.js | 1 + 2 files changed, 3 insertions(+) diff --git a/src/i18n/locales/index.js b/src/i18n/locales/index.js index 423c22f3c..7c23943f0 100644 --- a/src/i18n/locales/index.js +++ b/src/i18n/locales/index.js @@ -10,6 +10,7 @@ import fa from './fa.json'; import fi from './fi.json'; import fr from './fr.json'; import hi from './hi.json'; +import id from './id.json'; import it from './it.json'; import ja from './ja.json'; import kn from './kn.json'; @@ -40,6 +41,7 @@ export default { fi: { translation: fi }, fr: { translation: fr }, hi: { translation: hi }, + id: { translation: id }, it: { translation: it }, ja: { translation: ja }, kn: { translation: kn }, diff --git a/src/utils/dayjs.js b/src/utils/dayjs.js index 167636b87..15603350c 100644 --- a/src/utils/dayjs.js +++ b/src/utils/dayjs.js @@ -11,6 +11,7 @@ import 'dayjs/locale/fi'; import 'dayjs/locale/fr'; import 'dayjs/locale/he'; import 'dayjs/locale/hi'; +import 'dayjs/locale/id'; import 'dayjs/locale/it'; import 'dayjs/locale/ja'; import 'dayjs/locale/kn'; From 9dab038a9a999ddbd088bc5980979e8e0542c42a Mon Sep 17 00:00:00 2001 From: Faturachman Yusuf Date: Tue, 22 Jun 2021 21:42:38 +0700 Subject: [PATCH 2/2] Update README.md - change bahasa Indonesi to Bahasa Indonesia --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f3337d1e..0856d4a9f 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ For those of you familiar with the Crowdin Platform, you could do that too and j - Greek (Ελληνικά) - Hebrew (עִברִית) - Hindi (हिंदी) -- Indonesian (bahasa Indonesia) +- Indonesian (Bahasa Indonesia) - Italian (Italiano) - Japanese (日本人) - Kannada (ಕನ್ನಡ)