Fixed Spanish Description of Arc() function for the Reference in p5js.org website #1400
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Addresses #1225
Changes:
I changed the Spanish description of the arc() function (under 2D primitives category) in the reference for p5js.org, as it was previously half-English and half-Spanish.
As for my specific changes, I found that the English description of the function did not completely match the information found in the current Spanish description. Therefore, I proceeded to make a direct translation of the English description as the first paragraph of the new Spanish translation, and formatted the additional information found in the current Spanish description under it. I made the changes in this manner, to maintain the previous information that another contributor took the time to add to the description. Consequently, this resulted in a new description that is longer than the English version for arc(). (See Images below for reference)
Additionally, I made sure to highlight parameter names and provide the correct link for the ellipseMode() function, as it is hyperlinked in the current English description, but not the Spanish one.
@Guirdo and @limzykenneth , please let me know if this style of change aligns with how you would like the descriptions to be formatted (i.e. Doing a 1-to-1 translation of the English description and retaining additional information found in the current Spanish version after). In the meantime, I will continue to work on changes for the rest of the functions under the 2D primitives category. Hope this helps!
Screenshots of the change:
English arc() description
Current Spanish arc() description
New Spanish arc() Description