Skip to content

Commit 8b6c79a

Browse files
authored
Merge pull request #2829 from entrylabs/develop
4.40.0
2 parents dee7439 + 088603a commit 8b6c79a

File tree

10 files changed

+263
-109
lines changed

10 files changed

+263
-109
lines changed

extern/lang/en.js

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -602,13 +602,15 @@ Lang.Blocks = {
602602
JUDGEMENT_boolean_or: 'OR',
603603
JUDGEMENT_true: 'True',
604604
JUDGEMENT_false: 'False',
605-
wall: 'Wall',
605+
wall: 'wall',
606606
START_press_some_key_up: 'Up',
607607
START_press_some_key_down: 'Down',
608608
START_press_some_key_right: 'Right',
609609
START_press_some_key_left: 'Left',
610610
START_press_some_key_space: 'Space',
611611
START_press_some_key_enter: 'Enter',
612+
START_press_some_key_back_space: 'Backspace',
613+
START_press_some_key_back_slash: 'Backslash',
612614
SCENE_when_scene_start: 'When scene started',
613615
SCENE_start_scene_1: 'Start',
614616
SCENE_start_scene_2: 'scene',
@@ -638,17 +640,17 @@ Lang.Blocks = {
638640
LOOKS_change_object_index_sub_3: 'backward',
639641
LOOKS_change_object_index_sub_4: 'back',
640642
entry: 'Entry',
641-
JUDGEMENT_is_clicked: 'Mouse down?',
642-
JUDGEMENT_is_object_clicked: 'Object clicked?',
643+
JUDGEMENT_is_clicked: 'mouse clicked?',
644+
JUDGEMENT_is_object_clicked: 'object clicked?',
643645
JUDGEMENT_is_type_1: 'is',
644646
JUDGEMENT_is_type_2: '?',
645647
is_type_number: 'number',
646-
JUDGEMENT_is_press_some_key_2: ' pressed?',
648+
JUDGEMENT_is_press_some_key_2: 'key pressed?',
647649
JUDGEMENT_reach_something_1: 'touching',
648650
JUDGEMENT_reach_something_2: '?',
649-
JUDGEMENT_boolean_not_1: 'Is Not',
651+
JUDGEMENT_boolean_not_1: 'is not',
650652
JUDGEMENT_boolean_not_2: '',
651-
JUDGEMENT_is_boost_mode: 'Is the boost mode on?',
653+
JUDGEMENT_is_boost_mode: 'is the boost mode on?',
652654
CALC_calc_rand_1: 'random number between',
653655
CALC_calc_rand_2: 'and',
654656
CALC_calc_rand_3: '',
@@ -1074,7 +1076,7 @@ Lang.Blocks = {
10741076
ALTINO_BAT: 'battery check',
10751077
ALTINO_Steering_Angle_Center: 'center',
10761078
ALTINO_Steering_Angle_Left5: 'left5',
1077-
mouse_pointer: 'Mouse Pointer',
1079+
mouse_pointer: 'mouse cursor',
10781080
self: 'self',
10791081
wall_up: 'upper wall',
10801082
wall_down: 'down wall',
@@ -1699,6 +1701,9 @@ Lang.Blocks = {
16991701
location_jeollanam_gurye: 'Gurye-gun',
17001702
width: 'width',
17011703
height: 'height',
1704+
desktop: 'desktop',
1705+
tablet: 'tablet',
1706+
smartphone: 'smartphone',
17021707
};
17031708
Lang.video_body_coord_params = {
17041709
left_eye: 'left eye',
@@ -5684,8 +5689,9 @@ Lang.Helper = {
56845689
stop_bgm: 'Stops background music',
56855690
is_clicked: 'Checks whether mouse is clicked.',
56865691
is_object_clicked: 'Checks whether object is clicked.',
5687-
is_press_some_key: 'Checks whether an selected key is pressed.',
5688-
reach_something: 'Checks whether the object reaches the selected point.',
5692+
is_press_some_key: 'Checks whether the selected key is pressed.',
5693+
reach_something:
5694+
"Checks whether the object touches the selected item. If the object touches the selected item, it is judged as 'True'.",
56895695
is_type:
56905696
'Checks whether the input text consists of the selected characters. If the input text consists of the selected characters, it is judged as `True`.',
56915697
is_included_in_list: 'Checks whether selected list contains the input value.',
@@ -5704,7 +5710,11 @@ Lang.Helper = {
57045710
boolean_not:
57055711
"Changes the input conditions to its opposite.\n(If the input condition is true, it returns 'False'. And if the input condition is false, it returns 'True'.)",
57065712
is_boost_mode:
5707-
'Checks whether the boost mode is turned on or not.\nIf the boost mode is on, it is judged as "true".',
5713+
"Checks whether the boost mode is turned on or not.\nIf the boost mode is on, it is judged as 'True'.",
5714+
is_current_device_type:
5715+
"If the device that runs the project is the selected device, it is judged as 'true'.",
5716+
is_touch_supported:
5717+
"If the device that runs the project is a touch screen, it is judged as 'true'.",
57085718
calc_basic:
57095719
'Reports the value of the two input numbers of quadratic operations.\n+ : Adds two input numbers.\n- : Subtracts two input numbers.\n* : Multiplies two input numbers.\n/ : Divides two input numbers.',
57105720
calc_rand:
@@ -6075,7 +6085,7 @@ Lang.Helper = {
60756085
chocopi_touch_value:
60766086
"The value will be smaller if the capacitance of the obeject is larger.<br/>If many people hold each other's hand and touch, the value will be smaller<br/>'Capacitance' means how many electric particles the object can hold.<br/><br/><br/>Port number(P1~P8) is automatically selected internally<br>It is needed only when multiple modules with the same kind are used",
60776087
boolean_and_or:
6078-
'AND : Checks whether both conditions are true.\nOR : Checks whether at least one of the two conditions is true.',
6088+
'AND: Checks whether both conditions are true.\nOR: Checks whether at least one of the two conditions is true.',
60796089
check_weather:
60806090
'\nChecks whether the weather information of the selected date and region matches the actual weather conditions.',
60816091
check_finedust:
@@ -7013,6 +7023,8 @@ Lang.template = {
70137023
boolean_or: '%1 %2 %3',
70147024
boolean_not: '%1 %2 %3',
70157025
is_boost_mode: '%1',
7026+
is_current_device_type: 'is the project running on %1 ?',
7027+
is_touch_supported: 'touch screen?',
70167028
true_or_false: '%1',
70177029
True: '%1 ',
70187030
False: '%1 ',

extern/lang/ko.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,8 @@ Lang.Blocks = {
714714
START_press_some_key_right: '오른쪽 화살표',
715715
START_press_some_key_space: '스페이스',
716716
START_press_some_key_up: '위쪽 화살표',
717+
START_press_some_key_back_space: '백스페이스',
718+
START_press_some_key_back_slash: '백슬래시',
717719
START_when_message_cast: '신호를 받았을 때',
718720
START_when_message_cast_1: '',
719721
START_when_message_cast_2: '신호를 받았을 때',
@@ -1993,6 +1995,9 @@ Lang.Blocks = {
19931995
location_jeollanam_gurye: '구례군',
19941996
width: '가로',
19951997
height: '세로',
1998+
desktop: '데스크톱',
1999+
tablet: '태블릿',
2000+
smartphone: '스마트폰',
19962001
};
19972002
Lang.video_body_coord_params = {
19982003
left_eye: '왼쪽 눈',
@@ -6126,8 +6131,10 @@ Lang.Helper = {
61266131
function_general: '현재 만들고 있는 함수 블록 또는 지금까지 만들어 둔 함수 블록입니다.',
61276132
boolean_and: '두 판단이 모두 참인 경우 ‘참’으로 판단합니다.',
61286133
boolean_or: '두 판단 중 하나라도 참이 있는 경우 ‘참’으로 판단합니다.',
6129-
boolean_not: '해당 판단이 참이면 거짓, 거짓이면 참으로 만듭니다.',
6134+
boolean_not: "해당 판단이 참이면 '거짓', 거짓이면 '참'으로 판단합니다.",
61306135
is_boost_mode: '부스트모드가 켜져 있으면 ‘참’으로 판단합니다.',
6136+
is_current_device_type: "작품을 실행하는 기기가 선택한 기기라면 '참'으로 판단합니다.",
6137+
is_touch_supported: "작품을 실행하는 기기에서 화면을 터치할 수 있다면 '참'으로 판단합니다.",
61316138
calc_basic:
61326139
'입력한 두 수의 사칙연산 값입니다.\n+ : 입력한 두 수를 더한 값입니다.\n- : 입력한 두 수를 뺀 값입니다.\n* : 입력한 두 수를 곱한 값입니다.\n/ : 입력한 두 수를 나눈 값입니다.',
61336140
calc_rand:
@@ -6490,7 +6497,7 @@ Lang.Helper = {
64906497
chocopi_touch_value:
64916498
'터치패드에 연결된 물체의 전기용량이 커지면 값이 작아집니다.<br/>여러 명이 손잡고 만지면 더 작은 값이 됩니다.<br/>전기용량이란 물체에 전기를 띈 입자를 얼마나 가지고 있을 수 있는 지를 말합니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br/>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.',
64926499
boolean_and_or:
6493-
'그리고 : 두 판단이 모두 참인 경우 ‘참’으로 판단합니다.\n또는 : 두 판단 중 하나라도 참이 있는 경우 ‘참’으로 판단합니다.',
6500+
'그리고: 두 판단이 모두 참인 경우 ‘참’으로 판단합니다.\n또는: 두 판단 중 하나라도 참이 있는 경우 ‘참’으로 판단합니다.',
64946501
check_weather:
64956502
'\n선택한 날짜와 지역의 날씨 정보를 실제 날씨 상태와 비교하여 일치하는 경우 ‘참’으로 판단합니다.\n * 옵션\n 날짜: 어제, 오늘, 내일, 모레, 3일 후, 4일 후, 5일 후, 6일 후\n 지역: 서울, 강원, 경기, 경남, 경북, 광주, 대구, 대전, 부산, 세종, 울산, 인천, 전남, 전북, 제주, 충남, 충북\n 날씨: 맑음, 구름조금, 구름많음, 흐림, 비, 진눈깨비, 눈',
64966503
check_finedust:
@@ -7617,6 +7624,8 @@ Lang.template = {
76177624
boolean_or: '%1 %2 %3',
76187625
boolean_not: '%1 %2 %3',
76197626
is_boost_mode: '%1',
7627+
is_current_device_type: '%1 에서 실행하는가?',
7628+
is_touch_supported: '화면을 터치할 수 있는가?',
76207629
true_or_false: '%1',
76217630
True: '%1 ',
76227631
False: '%1 ',

extern/util/static.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ EntryStatic.getAllBlocks = function () {
190190
'boolean_and_or',
191191
'boolean_not',
192192
'is_boost_mode',
193+
'is_current_device_type',
194+
'is_touch_supported',
193195
],
194196
},
195197
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"simplebar": "^3.1.1",
6464
"skmeans": "^0.11.3",
6565
"socket.io-client": "^2.3.0",
66-
"ua-parser-js": "^1.0.35",
66+
"ua-parser-js": "^1.0.38",
6767
"uid": "^0.0.2",
6868
"webpack": "^5.85.0",
6969
"worker-loader": "^3.0.8",

0 commit comments

Comments
 (0)