Skip to content

Commit 865d1df

Browse files
committed
fix Blockly i18n
1 parent 1eecc17 commit 865d1df

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/components/Activity.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,11 @@ import sidebar from '../components/Sidebar';
266266
const locale = i18n.locale.substring(0, 2);
267267
268268
const coderbot_locales = {
269-
it: bot_it,
270-
en: bot_en,
271-
fr: bot_fr
269+
it: bot_it.default,
270+
en: bot_en.default,
271+
fr: bot_fr.default
272272
};
273+
273274
Blockly.Msg = { ...Blockly.Msg, ...coderbot_locales[locale] };
274275
275276
const blockly_locales = {

0 commit comments

Comments
 (0)