Skip to content

Commit

Permalink
Merge pull request #2829 from entrylabs/develop
Browse files Browse the repository at this point in the history
4.40.0
  • Loading branch information
leunge authored Sep 24, 2024
2 parents dee7439 + 088603a commit 8b6c79a
Show file tree
Hide file tree
Showing 10 changed files with 263 additions and 109 deletions.
34 changes: 23 additions & 11 deletions extern/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -602,13 +602,15 @@ Lang.Blocks = {
JUDGEMENT_boolean_or: 'OR',
JUDGEMENT_true: 'True',
JUDGEMENT_false: 'False',
wall: 'Wall',
wall: 'wall',
START_press_some_key_up: 'Up',
START_press_some_key_down: 'Down',
START_press_some_key_right: 'Right',
START_press_some_key_left: 'Left',
START_press_some_key_space: 'Space',
START_press_some_key_enter: 'Enter',
START_press_some_key_back_space: 'Backspace',
START_press_some_key_back_slash: 'Backslash',
SCENE_when_scene_start: 'When scene started',
SCENE_start_scene_1: 'Start',
SCENE_start_scene_2: 'scene',
Expand Down Expand Up @@ -638,17 +640,17 @@ Lang.Blocks = {
LOOKS_change_object_index_sub_3: 'backward',
LOOKS_change_object_index_sub_4: 'back',
entry: 'Entry',
JUDGEMENT_is_clicked: 'Mouse down?',
JUDGEMENT_is_object_clicked: 'Object clicked?',
JUDGEMENT_is_clicked: 'mouse clicked?',
JUDGEMENT_is_object_clicked: 'object clicked?',
JUDGEMENT_is_type_1: 'is',
JUDGEMENT_is_type_2: '?',
is_type_number: 'number',
JUDGEMENT_is_press_some_key_2: ' pressed?',
JUDGEMENT_is_press_some_key_2: 'key pressed?',
JUDGEMENT_reach_something_1: 'touching',
JUDGEMENT_reach_something_2: '?',
JUDGEMENT_boolean_not_1: 'Is Not',
JUDGEMENT_boolean_not_1: 'is not',
JUDGEMENT_boolean_not_2: '',
JUDGEMENT_is_boost_mode: 'Is the boost mode on?',
JUDGEMENT_is_boost_mode: 'is the boost mode on?',
CALC_calc_rand_1: 'random number between',
CALC_calc_rand_2: 'and',
CALC_calc_rand_3: '',
Expand Down Expand Up @@ -1074,7 +1076,7 @@ Lang.Blocks = {
ALTINO_BAT: 'battery check',
ALTINO_Steering_Angle_Center: 'center',
ALTINO_Steering_Angle_Left5: 'left5',
mouse_pointer: 'Mouse Pointer',
mouse_pointer: 'mouse cursor',
self: 'self',
wall_up: 'upper wall',
wall_down: 'down wall',
Expand Down Expand Up @@ -1699,6 +1701,9 @@ Lang.Blocks = {
location_jeollanam_gurye: 'Gurye-gun',
width: 'width',
height: 'height',
desktop: 'desktop',
tablet: 'tablet',
smartphone: 'smartphone',
};
Lang.video_body_coord_params = {
left_eye: 'left eye',
Expand Down Expand Up @@ -5684,8 +5689,9 @@ Lang.Helper = {
stop_bgm: 'Stops background music',
is_clicked: 'Checks whether mouse is clicked.',
is_object_clicked: 'Checks whether object is clicked.',
is_press_some_key: 'Checks whether an selected key is pressed.',
reach_something: 'Checks whether the object reaches the selected point.',
is_press_some_key: 'Checks whether the selected key is pressed.',
reach_something:
"Checks whether the object touches the selected item. If the object touches the selected item, it is judged as 'True'.",
is_type:
'Checks whether the input text consists of the selected characters. If the input text consists of the selected characters, it is judged as `True`.',
is_included_in_list: 'Checks whether selected list contains the input value.',
Expand All @@ -5704,7 +5710,11 @@ Lang.Helper = {
boolean_not:
"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'.)",
is_boost_mode:
'Checks whether the boost mode is turned on or not.\nIf the boost mode is on, it is judged as "true".',
"Checks whether the boost mode is turned on or not.\nIf the boost mode is on, it is judged as 'True'.",
is_current_device_type:
"If the device that runs the project is the selected device, it is judged as 'true'.",
is_touch_supported:
"If the device that runs the project is a touch screen, it is judged as 'true'.",
calc_basic:
'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.',
calc_rand:
Expand Down Expand Up @@ -6075,7 +6085,7 @@ Lang.Helper = {
chocopi_touch_value:
"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",
boolean_and_or:
'AND : Checks whether both conditions are true.\nOR : Checks whether at least one of the two conditions is true.',
'AND: Checks whether both conditions are true.\nOR: Checks whether at least one of the two conditions is true.',
check_weather:
'\nChecks whether the weather information of the selected date and region matches the actual weather conditions.',
check_finedust:
Expand Down Expand Up @@ -7013,6 +7023,8 @@ Lang.template = {
boolean_or: '%1 %2 %3',
boolean_not: '%1 %2 %3',
is_boost_mode: '%1',
is_current_device_type: 'is the project running on %1 ?',
is_touch_supported: 'touch screen?',
true_or_false: '%1',
True: '%1 ',
False: '%1 ',
Expand Down
13 changes: 11 additions & 2 deletions extern/lang/ko.js
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,8 @@ Lang.Blocks = {
START_press_some_key_right: '오른쪽 화살표',
START_press_some_key_space: '스페이스',
START_press_some_key_up: '위쪽 화살표',
START_press_some_key_back_space: '백스페이스',
START_press_some_key_back_slash: '백슬래시',
START_when_message_cast: '신호를 받았을 때',
START_when_message_cast_1: '',
START_when_message_cast_2: '신호를 받았을 때',
Expand Down Expand Up @@ -1993,6 +1995,9 @@ Lang.Blocks = {
location_jeollanam_gurye: '구례군',
width: '가로',
height: '세로',
desktop: '데스크톱',
tablet: '태블릿',
smartphone: '스마트폰',
};
Lang.video_body_coord_params = {
left_eye: '왼쪽 눈',
Expand Down Expand Up @@ -6126,8 +6131,10 @@ Lang.Helper = {
function_general: '현재 만들고 있는 함수 블록 또는 지금까지 만들어 둔 함수 블록입니다.',
boolean_and: '두 판단이 모두 참인 경우 ‘참’으로 판단합니다.',
boolean_or: '두 판단 중 하나라도 참이 있는 경우 ‘참’으로 판단합니다.',
boolean_not: '해당 판단이 참이면 거짓, 거짓이면 참으로 만듭니다.',
boolean_not: "해당 판단이 참이면 '거짓', 거짓이면 '참'으로 판단합니다.",
is_boost_mode: '부스트모드가 켜져 있으면 ‘참’으로 판단합니다.',
is_current_device_type: "작품을 실행하는 기기가 선택한 기기라면 '참'으로 판단합니다.",
is_touch_supported: "작품을 실행하는 기기에서 화면을 터치할 수 있다면 '참'으로 판단합니다.",
calc_basic:
'입력한 두 수의 사칙연산 값입니다.\n+ : 입력한 두 수를 더한 값입니다.\n- : 입력한 두 수를 뺀 값입니다.\n* : 입력한 두 수를 곱한 값입니다.\n/ : 입력한 두 수를 나눈 값입니다.',
calc_rand:
Expand Down Expand Up @@ -6490,7 +6497,7 @@ Lang.Helper = {
chocopi_touch_value:
'터치패드에 연결된 물체의 전기용량이 커지면 값이 작아집니다.<br/>여러 명이 손잡고 만지면 더 작은 값이 됩니다.<br/>전기용량이란 물체에 전기를 띈 입자를 얼마나 가지고 있을 수 있는 지를 말합니다.<br/><br/>포트번호는 맞추지 않아도 됩니다.<br/>단, 같은 종류의 모듈을 여러 개 연결하는 경우에만 포트를 지정하면 됩니다.',
boolean_and_or:
'그리고 : 두 판단이 모두 참인 경우 ‘참’으로 판단합니다.\n또는 : 두 판단 중 하나라도 참이 있는 경우 ‘참’으로 판단합니다.',
'그리고: 두 판단이 모두 참인 경우 ‘참’으로 판단합니다.\n또는: 두 판단 중 하나라도 참이 있는 경우 ‘참’으로 판단합니다.',
check_weather:
'\n선택한 날짜와 지역의 날씨 정보를 실제 날씨 상태와 비교하여 일치하는 경우 ‘참’으로 판단합니다.\n * 옵션\n 날짜: 어제, 오늘, 내일, 모레, 3일 후, 4일 후, 5일 후, 6일 후\n 지역: 서울, 강원, 경기, 경남, 경북, 광주, 대구, 대전, 부산, 세종, 울산, 인천, 전남, 전북, 제주, 충남, 충북\n 날씨: 맑음, 구름조금, 구름많음, 흐림, 비, 진눈깨비, 눈',
check_finedust:
Expand Down Expand Up @@ -7617,6 +7624,8 @@ Lang.template = {
boolean_or: '%1 %2 %3',
boolean_not: '%1 %2 %3',
is_boost_mode: '%1',
is_current_device_type: '%1 에서 실행하는가?',
is_touch_supported: '화면을 터치할 수 있는가?',
true_or_false: '%1',
True: '%1 ',
False: '%1 ',
Expand Down
2 changes: 2 additions & 0 deletions extern/util/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ EntryStatic.getAllBlocks = function () {
'boolean_and_or',
'boolean_not',
'is_boost_mode',
'is_current_device_type',
'is_touch_supported',
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"simplebar": "^3.1.1",
"skmeans": "^0.11.3",
"socket.io-client": "^2.3.0",
"ua-parser-js": "^1.0.35",
"ua-parser-js": "^1.0.38",
"uid": "^0.0.2",
"webpack": "^5.85.0",
"worker-loader": "^3.0.8",
Expand Down
Loading

0 comments on commit 8b6c79a

Please sign in to comment.