Skip to content

Commit

Permalink
-SIPC-/consoles: rename some blocks for clarity (#1456)
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin authored May 10, 2024
1 parent 507e37b commit 3fbdafb
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions extensions/-SIPC-/consoles.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,35 @@
{
opcode: "Emptying",
blockType: Scratch.BlockType.COMMAND,
text: Scratch.translate("Clear Console"),
text: Scratch.translate("clear console"),
arguments: {},
},
{
opcode: "Information",
opcode: "Journal",
blockType: Scratch.BlockType.COMMAND,
text: Scratch.translate("Information [string]"),
text: Scratch.translate("log [string]"),
arguments: {
string: {
type: Scratch.ArgumentType.STRING,
defaultValue: Scratch.translate("Information"),
defaultValue: Scratch.translate("log"),
},
},
},
{
opcode: "Journal",
opcode: "Information",
blockType: Scratch.BlockType.COMMAND,
text: Scratch.translate("Journal [string]"),
text: Scratch.translate("log information [string]"),
arguments: {
string: {
type: Scratch.ArgumentType.STRING,
defaultValue: Scratch.translate("Journal"),
defaultValue: Scratch.translate("Information"),
},
},
},
{
opcode: "Warning",
blockType: Scratch.BlockType.COMMAND,
text: Scratch.translate("Warning [string]"),
text: Scratch.translate("log warning [string]"),
arguments: {
string: {
type: Scratch.ArgumentType.STRING,
Expand All @@ -64,7 +64,7 @@
{
opcode: "Error",
blockType: Scratch.BlockType.COMMAND,
text: Scratch.translate("Error [string]"),
text: Scratch.translate("log error [string]"),
arguments: {
string: {
type: Scratch.ArgumentType.STRING,
Expand All @@ -75,7 +75,7 @@
{
opcode: "debug",
blockType: Scratch.BlockType.COMMAND,
text: Scratch.translate("Debug [string]"),
text: Scratch.translate("log debug [string]"),
arguments: {
string: {
type: Scratch.ArgumentType.STRING,
Expand All @@ -88,7 +88,7 @@
{
opcode: "group",
blockType: Scratch.BlockType.COMMAND,
text: Scratch.translate("Create a group named [string]"),
text: Scratch.translate("create log group named [string]"),
arguments: {
string: {
type: Scratch.ArgumentType.STRING,
Expand All @@ -99,7 +99,9 @@
{
opcode: "groupCollapsed",
blockType: Scratch.BlockType.COMMAND,
text: Scratch.translate("Create a collapsed group named [string]"),
text: Scratch.translate(
"create collapsed log group named [string]"
),
arguments: {
string: {
type: Scratch.ArgumentType.STRING,
Expand All @@ -110,14 +112,14 @@
{
opcode: "groupEnd",
blockType: Scratch.BlockType.COMMAND,
text: Scratch.translate("Exit the current group"),
text: Scratch.translate("exit current log group"),
arguments: {},
},
"---",
{
opcode: "Timeron",
blockType: Scratch.BlockType.COMMAND,
text: Scratch.translate("Start a timer named [string]"),
text: Scratch.translate("start log timer named [string]"),
arguments: {
string: {
type: Scratch.ArgumentType.STRING,
Expand All @@ -128,9 +130,7 @@
{
opcode: "Timerlog",
blockType: Scratch.BlockType.COMMAND,
text: Scratch.translate(
"Print the time run by the timer named [string]"
),
text: Scratch.translate("print time of log timer named [string]"),
arguments: {
string: {
type: Scratch.ArgumentType.STRING,
Expand All @@ -142,7 +142,7 @@
opcode: "Timeroff",
blockType: Scratch.BlockType.COMMAND,
text: Scratch.translate(
"End the timer named [string] and print the time elapsed from start to end"
"end log timer named [string] and print time elapsed from start to end"
),
arguments: {
string: {
Expand Down

0 comments on commit 3fbdafb

Please sign in to comment.