Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
chanlee committed Apr 8, 2016
1 parent 1ca7d43 commit 8d102a6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion extern/util/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ EntryStatic.blockInfo = {
"neobot_set_sensor_value": {
"isNotFor": ['neobot'],
"xml": "<block type='neobot_set_sensor_value'></block>",
"class": "neobot_set_value"
"class": "neobot_set_value"
},
"bitbrick_sensor_value": {
"isNotFor": ['bitbrick'],
Expand Down Expand Up @@ -2204,6 +2204,9 @@ EntryStatic.getName = function(str, type) {
dict = SoundNames;

var lang = navigator.language ? navigator.language : 'ko';
if (window.lang)
lang = window.lang;

if (window.user && window.user.language)
lang = window.user.language;

Expand Down

0 comments on commit 8d102a6

Please sign in to comment.