From 767c6dda4f253e474832d8147d04dbd486fe90c8 Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Mon, 12 Oct 2020 23:09:22 +0100 Subject: [PATCH] fix(indiekit): merge values when adding a locale --- packages/indiekit/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/indiekit/index.js b/packages/indiekit/index.js index 0b1e126e9..f09f6cbbc 100644 --- a/packages/indiekit/index.js +++ b/packages/indiekit/index.js @@ -43,7 +43,7 @@ export const Indiekit = class { } addLocale(language, translations) { - Object.assign(this.application.locales[language], translations); + this.application.locales[language] = _.merge(this.application.locales[language], translations); } addNavigation(item) {