1 |
- "use strict";!function(){var t=["zh-CN"],r=navigator.language;!function(s){var c=0<arguments.length&&void 0!==s?s:localStorage.handPyLanguage||r;t.includes(c)&&t.includes(c.split("-")[0])||(c="zh-CN");var e=location.search.match(new RegExp("[?&]lang=([^&]+)"));c=e?decodeURIComponent(e[1].replace(/\+/g,"%20")):"",["en","zh-hant","zh-hans"].indexOf(c)<0&&(c="zh-hant"),localStorage.handPyLanguage=c,document.write('<script src="/blockly/msg/'+c+'/blockly_messages.js"><\/script>'),document.write('<script src="/blockly/msg/'+c+'/blocks_messages.js"><\/script>'),document.write('<script src="/blockly/msg/'+c+'/microbit_messages.js"><\/script>'),document.write('<script src="/blockly/msg/'+c+'/other_messages.js"><\/script>'),document.write('<script src="/blockly/msg/js/'+c+'.js"><\/script>')}()}();
|