-
-
Notifications
You must be signed in to change notification settings - Fork 272
Created the mondals extension. I want to add it to the turbowarp extension library. #2095
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
You'll want to do this in a separate branch so it's not in the master branch. Inside your fork of Turbowarp/extensions, you should have one branch per extension so it's easier to manage pull requests. When you're done that I might give it a review if I have time. |
I don't really understand you... I kind of did everything, entered what was needed, he wrote the code on a separate repository, in all the necessary folders. well, the code went a little wrong and the bot didn't pass, but I've changed it now. please add an extension, I tried very hard. |
I kindly ask you to restart the bot check and tell me exactly what I need to do. |
|
should I delete the folder and get the file from it, or what should I do?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
images should try to not contain any text as it is nearly impossible to translate.
everything in this extension already exists in a multitude of other extensions on the gallery so it has little to 0 chance of being merged, sorry.
aside from this run prettier
@@ -0,0 +1,72 @@ | |||
// Name: Modals | |||
// ID: htmlalert |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should contain a form of your name, and make sure the id's match
@@ -0,0 +1,72 @@ | |||
// Name: Modals | |||
// ID: htmlalert | |||
// Description: This extension adds modal dialog boxes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this could be better
getInfo() { | ||
return { | ||
id: "htmlalert", | ||
name: "modals", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this name doesnt match
{ | ||
opcode: "alertb", | ||
blockType: Scratch.BlockType.COMMAND, | ||
text: "alert [textia]", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to use Scratch.translate
getInfo() { | ||
return { | ||
id: "htmlalert", | ||
name: "modals", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also Scratch.translate
{ | ||
opcode: "Confirmb", | ||
blockType: Scratch.BlockType.BOOLEAN, | ||
text: "confirm [textic]", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scratch.translate
{ | ||
opcode: "Promptb", | ||
blockType: Scratch.BlockType.REPORTER, | ||
text: "prompt [textip], default value: [classic]", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scratch.translate
}; | ||
} | ||
alertb(args) { | ||
alert([args.textia]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a bad way to access the arguments and you don't cast any of them
https://github.com/scratch-craft-2/extensions/tree/master