-
Notifications
You must be signed in to change notification settings - Fork 21
Added $translateText and $chalkLog #370
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
Conversation
xNickyDev
left a comment
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.
Please commit the suggested changes and compile them in a new commit.
$translateText[] now has the option to return the response as JSON object. Useful to receive more information about the translation.
Also, I've changed $chalkLog[]. It now supports all available styles rather than just the color. If an invalid style was provided then it will be simply ignored. If all styles are invalid then the plain text will be logged to the console without any styling. Now this function is more useful and allows more customization :)
Co-authored-by: Nicky <[email protected]>
Co-authored-by: Nicky <[email protected]>
Co-authored-by: Nicky <[email protected]>
Co-authored-by: Nicky <[email protected]>
Co-authored-by: Nicky <[email protected]>
Co-authored-by: Nicky <[email protected]>
Co-authored-by: Nicky <[email protected]>
Co-authored-by: Nicky <[email protected]>
Co-authored-by: Nicky <[email protected]>
Co-authored-by: Nicky <[email protected]>
Co-authored-by: Nicky <[email protected]>
|
All Fixed. |
|
Thank you for your work! |
This uses an already existing dependency that is used within ForgeScript so no extra packages have been added.
Check Off List:
Does Function work ✅
Dist Been Created ✅
In the Correct Folder Path ✅