Skip to content

Commit 62d9695

Browse files
committed
-
1 parent 26f460f commit 62d9695

File tree

8 files changed

+219
-223
lines changed

8 files changed

+219
-223
lines changed

coderbot.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"move_tr_speed": "80", "move_fw_elapse": "1", "camera_path_object_size_min": "4000", "load_at_start": "", "move_tr_elapse": "0.5", "sound_stop": "$shutdown.mp3", "camera_color_object_size_min": "4000", "prog_level": "adv", "prog_scrollbars": "true", "move_fw_speed": "100", "camera_color_object_size_max": "160000", "sound_shutter": "$shutter.mp3", "show_page_prefs": "true", "cv_image_factor": "4", "ctrl_hud_image": "", "button_func": "none", "ctrl_fw_elapse": "-1", "ctrl_tr_elapse": "-1", "move_power_angle_2": "20", "move_power_angle_3": "20", "move_power_angle_1": "15", "move_motor_trim": "0.9", "show_page_program": "true", "sound_start": "$startup.mp3", "camera_exposure_mode": "auto", "ctrl_tr_speed": "80", "ctrl_fw_speed": "100", "camera_refresh_timeout": "0.1", "camera_jpeg_quality": "20", "prog_maxblocks": "-1", "move_motor_mode": "dc", "camera_path_object_size_max": "160000", "show_page_control": "true"}
1+
{"move_tr_speed": "80", "move_fw_elapse": "1", "camera_path_object_size_min": "4000", "load_at_start": "", "move_tr_elapse": "0.5", "sound_stop": "$shutdown.mp3", "camera_color_object_size_min": "4000", "prog_level": "std", "prog_scrollbars": "true", "move_fw_speed": "100", "camera_color_object_size_max": "160000", "sound_shutter": "$shutter.mp3", "show_page_prefs": "true", "cv_image_factor": "4", "ctrl_hud_image": "", "button_func": "none", "ctrl_fw_elapse": "-1", "ctrl_tr_elapse": "-1", "move_power_angle_2": "20", "move_power_angle_3": "20", "move_power_angle_1": "15", "move_motor_trim": "0.9", "show_page_program": "true", "sound_start": "$startup.mp3", "camera_exposure_mode": "auto", "ctrl_tr_speed": "80", "ctrl_fw_speed": "100", "camera_refresh_timeout": "0.1", "camera_jpeg_quality": "20", "prog_maxblocks": "-1", "move_motor_mode": "dc", "camera_path_object_size_max": "160000", "show_page_control": "true"}

static/js/blockly/blockly_compressed.js

Lines changed: 145 additions & 138 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/js/blockly/en.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Blockly.Msg.ADD_COMMENT = "Add Comment";
1010
Blockly.Msg.AUTH = "Please authorize this app to enable your work to be saved and to allow it to be shared by you.";
1111
Blockly.Msg.CHANGE_VALUE_TITLE = "Change value:";
1212
Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!";
13+
Blockly.Msg.CLEAN_UP = "Clean up Blocks";
1314
Blockly.Msg.COLLAPSE_ALL = "Collapse Blocks";
1415
Blockly.Msg.COLLAPSE_BLOCK = "Collapse Block";
1516
Blockly.Msg.COLOUR_BLEND_COLOUR1 = "colour 1";

static/js/blockly/fr.js

Lines changed: 49 additions & 62 deletions
Large diffs are not rendered by default.

static/js/blockly/it.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Blockly.Msg.ADD_COMMENT = "Aggiungi commento";
1010
Blockly.Msg.AUTH = "Autorizza questa applicazione per consentire di salvare il tuo lavoro e per essere condiviso.";
1111
Blockly.Msg.CHANGE_VALUE_TITLE = "Modifica valore:";
1212
Blockly.Msg.CHAT = "Chatta con il tuo collaboratore scrivendo in questo box!";
13+
Blockly.Msg.CLEAN_UP = "Clean up Blocks"; // untranslated
1314
Blockly.Msg.COLLAPSE_ALL = "Comprimi blocchi";
1415
Blockly.Msg.COLLAPSE_BLOCK = "Comprimi blocco";
1516
Blockly.Msg.COLOUR_BLEND_COLOUR1 = "colore 1";
@@ -116,7 +117,7 @@ Blockly.Msg.LISTS_GET_SUBLIST_TOOLTIP = "Crea una copia della porzione specifica
116117
Blockly.Msg.LISTS_INDEX_OF_FIRST = "trova la prima occorrenza dell'elemento";
117118
Blockly.Msg.LISTS_INDEX_OF_HELPURL = "https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list"; // untranslated
118119
Blockly.Msg.LISTS_INDEX_OF_LAST = "trova l'ultima occorrenza dell'elemento";
119-
Blockly.Msg.LISTS_INDEX_OF_TOOLTIP = "Restituisce l'indice della prima/ultima occorrenza dell'elemento nella lista. Restituisce 0 se il testo non viene trovato.";
120+
Blockly.Msg.LISTS_INDEX_OF_TOOLTIP = "Restituisce l'indice della prima/ultima occorrenza dell'elemento nella lista. Restituisce 0 se l'elemento non viene trovato.";
120121
Blockly.Msg.LISTS_INLIST = "nella lista";
121122
Blockly.Msg.LISTS_ISEMPTY_HELPURL = "https://github.com/google/blockly/wiki/Lists#is-empty"; // untranslated
122123
Blockly.Msg.LISTS_ISEMPTY_TITLE = "%1 è vuota";

static/js/blockly/python_compressed.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/blocks_adv.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<xml id="toolbox" style="display: none">
2-
<category name="{% trans %}Logic{% endtrans %}">
2+
<category name="{% trans %}Logic{% endtrans %}" colour="210">
33
<block type="controls_if"></block>
44
<block type="logic_compare"></block>
55
<block type="logic_operation"></block>
@@ -8,7 +8,7 @@
88
<block type="logic_null"></block>
99
<block type="logic_ternary"></block>
1010
</category>
11-
<category name="{% trans %}Loops{% endtrans %}">
11+
<category name="{% trans %}Loops{% endtrans %}" colour="120">
1212
<block type="controls_repeat_ext">
1313
<value name="TIMES">
1414
<block type="math_number">
@@ -37,7 +37,7 @@
3737
<block type="controls_forEach"></block>
3838
<block type="controls_flow_statements"></block>
3939
</category>
40-
<category name="{% trans %}Math{% endtrans %}">
40+
<category name="{% trans %}Math{% endtrans %}" colour="230">
4141
<block type="math_number"></block>
4242
<block type="math_arithmetic"></block>
4343
<block type="math_single"></block>
@@ -80,7 +80,7 @@
8080
</block>
8181
<block type="math_random_float"></block>
8282
</category>
83-
<category name="{% trans %}Text{% endtrans %}">
83+
<category name="{% trans %}Text{% endtrans %}" colour="160">
8484
<block type="text_print"></block>
8585
<block type="text"></block>
8686
<block type="text_join"></block>
@@ -120,7 +120,7 @@
120120
</value>
121121
</block-->
122122
</category>
123-
<category name="{% trans %}Lists{% endtrans %}">
123+
<category name="{% trans %}Lists{% endtrans %}" colour="260">
124124
<block type="lists_create_empty"></block>
125125
<block type="lists_create_with"></block>
126126
<block type="lists_repeat">
@@ -161,15 +161,15 @@
161161
</value>
162162
</block>
163163
</category>
164-
<category name="{% trans %}Colour{% endtrans %}">
164+
<category name="{% trans %}Colour{% endtrans %}" colour="20">
165165
<block type="colour_picker"></block>
166166
<block type="colour_random"></block>
167167
<block type="colour_rgb"></block>
168168
<block type="colour_blend"></block>
169169
</category>
170-
<category name="{% trans %}Variables{% endtrans %}" custom="VARIABLE"></category>
171-
<category name="{% trans %}Functions{% endtrans %}" custom="PROCEDURE"></category>
172-
<category name="{% trans %}Movement{% endtrans %}">
170+
<category name="{% trans %}Variables{% endtrans %}" custom="VARIABLE" colour="330"></category>
171+
<category name="{% trans %}Functions{% endtrans %}" custom="PROCEDURE" colour="290"></category>
172+
<category name="{% trans %}Movement{% endtrans %}" colour="40">
173173
<block type="coderbot_moveForward"></block>
174174
<block type="coderbot_moveBackward"></block>
175175
<block type="coderbot_turnLeft"></block>
@@ -226,12 +226,12 @@
226226
</value>
227227
</block>
228228
</category>
229-
<category name="{% trans %}Camera{% endtrans %}">
229+
<category name="{% trans %}Camera{% endtrans %}" colour="120">
230230
<block type="coderbot_camera_photoTake"></block>
231231
<block type="coderbot_camera_videoRec"></block>
232232
<block type="coderbot_camera_videoStop"></block>
233233
</category>
234-
<category name="{% trans %}Sensor{% endtrans %}">
234+
<category name="{% trans %}Sensor{% endtrans %}" colour="290">
235235
<block type="coderbot_adv_pathAhead"></block>
236236
<block type="coderbot_adv_findLine"></block>
237237
<block type="coderbot_adv_findSignal"></block>
@@ -250,7 +250,7 @@
250250
</block>
251251
<block type="coderbot_sonar_get_distance"></block>
252252
</category>
253-
<category name="{% trans %}Sound{% endtrans %}">
253+
<category name="{% trans %}Sound{% endtrans %}" colour="290">
254254
<block type="coderbot_audio_say"></block>
255255
<block type="coderbot_audio_record"></block>
256256
<block type="coderbot_audio_play"></block>

templates/blocks_std.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<xml id="toolbox" style="display: none">
2-
<category name="{% trans %}Control{% endtrans %}">
2+
<category name="{% trans %}Control{% endtrans %}" colour="120">
33
<block type="controls_if"></block>
44
<block type="controls_repeat_ext">
55
<value name="TIMES">
@@ -10,29 +10,29 @@
1010
</block>
1111
<block type="controls_whileUntil"></block>
1212
</category>
13-
<category name="{% trans %}Logic{% endtrans %}">
13+
<category name="{% trans %}Logic{% endtrans %}" colour="210">
1414
<block type="logic_compare"></block>
1515
<block type="logic_operation"></block>
1616
<block type="logic_negate"></block>
1717
<block type="logic_boolean"></block>
1818
</category>
19-
<category name="{% trans %}Variables{% endtrans %}">
19+
<category name="{% trans %}Variables{% endtrans %}" colour="330">
2020
<block type="variables_get"></block>
2121
<block type="variables_set"></block>
2222
<block type="variables_set"></block>
2323
</category>
24-
<category name="{% trans %}Math{% endtrans %}">
24+
<category name="{% trans %}Math{% endtrans %}" colour="230">
2525
<block type="math_number"></block>
2626
<block type="math_arithmetic"></block>
2727
<block type="math_single"></block>
2828
</category>
29-
<category name="{% trans %}Text{% endtrans %}">
29+
<category name="{% trans %}Text{% endtrans %}" colour="160">
3030
<block type="text_print"></block>
3131
<block type="text"></block>
3232
<block type="text_join"></block>
3333
<block type="text_length"></block>
3434
</category>
35-
<category name="{% trans %}Movement{% endtrans %}">
35+
<category name="{% trans %}Movement{% endtrans %}" colour="40">
3636
<block type="coderbot_moveForward"></block>
3737
<block type="coderbot_moveBackward"></block>
3838
<block type="coderbot_turnLeft"></block>
@@ -58,7 +58,7 @@
5858
</value>
5959
</block>
6060
</category>
61-
<category name="{% trans %}Sensor{% endtrans %}">
61+
<category name="{% trans %}Sensor{% endtrans %}" colour="290">
6262
<block type="coderbot_adv_pathAhead"></block>
6363
<block type="coderbot_adv_findLine"></block>
6464
<block type="coderbot_adv_findSignal"></block>
@@ -70,7 +70,7 @@
7070
</value>
7171
</block>
7272
</category>
73-
<category name="{% trans %}Sound{% endtrans %}">
73+
<category name="{% trans %}Sound{% endtrans %}" colour="290">
7474
<block type="coderbot_audio_say"></block>
7575
</category>
7676
</xml>

0 commit comments

Comments
 (0)