From cd1a2dc6cb2866345a8929d09982fefb708e2381 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Sat, 22 May 2021 16:10:08 +0900 Subject: [PATCH] refs #2424 Add Indonesian language --- src/config/i18n.ts | 4 ++++ src/constants/language/index.js | 5 +++++ src/renderer/components/Preferences/Language.vue | 1 + 3 files changed, 10 insertions(+) diff --git a/src/config/i18n.ts b/src/config/i18n.ts index 56de5dfe..e4ac0b75 100644 --- a/src/config/i18n.ts +++ b/src/config/i18n.ts @@ -4,6 +4,7 @@ import de from '~/src/config/locales/de/translation.json' import en from '~/src/config/locales/en/translation.json' import es_es from '~/src/config/locales/es_es/translation.json' import fr from '~/src/config/locales/fr/translation.json' +import id from '~/src/config/locales/id/translation.json' import it from '~/src/config/locales/it/translation.json' import ja from '~/src/config/locales/ja/translation.json' import ko from '~/src/config/locales/ko/translation.json' @@ -38,6 +39,9 @@ const options: InitOptions = { fr: { translation: fr }, + id: { + translation: id + }, it: { translation: it }, diff --git a/src/constants/language/index.js b/src/constants/language/index.js index 1c94383b..2659e012 100644 --- a/src/constants/language/index.js +++ b/src/constants/language/index.js @@ -29,6 +29,11 @@ export default { key: 'pl', rfc4646: 'pl' }, + id: { + name: 'Indonesian', + key: 'id', + rfc4646: 'id' + }, it: { name: 'Italiano', key: 'it', diff --git a/src/renderer/components/Preferences/Language.vue b/src/renderer/components/Preferences/Language.vue index e08a82b0..e9954c14 100644 --- a/src/renderer/components/Preferences/Language.vue +++ b/src/renderer/components/Preferences/Language.vue @@ -43,6 +43,7 @@ export default { Language.en, Language.es_es, Language.fr, + Language.id, Language.it, Language.ja, Language.ko,