File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ const coderbot_locales = {
270270 en: bot_en,
271271 fr: bot_fr
272272};
273- Blockly .Msg = { ... Blockly .Msg , ... coderbot_locales[locale] };
273+ Blockly .Msg = { ... Blockly .Msg , ... coderbot_locales[locale]. default };
274274
275275const blockly_locales = {
276276 it: blockly_it,
@@ -504,7 +504,7 @@ export default {
504504 // Options
505505 {
506506 toolbox: serializedToolbox,
507- // path : 'static/js/blockly /',
507+ media : ' media /' ,
508508 // TODO: Use values from fetched configuration!
509509 scrollbars: true ,
510510 // MaxBlocks : -1, // -1 as infinite not working FIXME
Original file line number Diff line number Diff line change @@ -81,11 +81,10 @@ export default {
8181 } = this .$data ;
8282 // let programList = this.$data.programList
8383 axios .post (` ${ CB } /deleteActivity` , {
84- name,
85- })
86- .then (() => {
87- this .getActivities ();
88- });
84+ name,
85+ }).then (() => {
86+ this .getActivities ();
87+ });
8988 },
9089 toggleSidebar () {
9190 const currentStatus = this .$store .getters .drawerStatus ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const locales = {
1919
2020Vue . use ( VueI18n ) ;
2121
22- const language = window . navigator . userLanguage || window . navigator . language ;
22+ const language = ( window . navigator . userLanguage || window . navigator . language ) . substring ( 0 , 2 ) ;
2323
2424export default new VueI18n ( {
2525 locale : language ,
You can’t perform that action at this time.
0 commit comments