p5.js-website icon indicating copy to clipboard operation
p5.js-website copied to clipboard

Fixed Spanish description for all 2D Primitive Functions in p5js.org Reference

Open OnexiMedina opened this issue 2 years ago • 3 comments

Addresses #1225

Changes:

I fixed the Spanish [ES] description of all the functions() under 2D Primitives in the Reference for p5js.org. The descriptions had different descriptions than the English version, had missing links for functions mentioned in the descriptions, or were previously half-English and half-Spanish.

Similar to what was mentioned in my previous pull request ( #1400 ), here are my specific changes:

  • The English descriptions and Spanish descriptions contained different information for some functions. 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. This was to bring consistency of formatting with the original English version, while also respecting the additional information previous contributors added to the Spanish version.
  • I added working links to functions that were referenced in the descriptions. (See images for arc() and circle() as examples)
  • Highlighted mentioned parameters for easier visibility

Below I have added screenshots for the current Spanish descriptions and the new Spanish descriptions (for future reference and documentation purposes). Hope this helps!

Screenshots of the change:

arc()

Current:

Screenshot 2023-08-04 at 2 43 17 PM

New:

Screenshot 2023-08-04 at 2 43 39 PM

ellipse()

Current:

Screenshot 2023-08-04 at 2 44 19 PM

New:

Screenshot 2023-08-04 at 2 44 36 PM

circle()

Current:

Screenshot 2023-08-04 at 2 45 50 PM

New:

Screenshot 2023-08-04 at 2 46 17 PM

line()

Current:

Screenshot 2023-08-04 at 2 46 47 PM

New:

Screenshot 2023-08-04 at 2 47 18 PM

point()

Current:

Screenshot 2023-08-04 at 2 47 52 PM

New:

Screenshot 2023-08-04 at 2 48 12 PM

quad()

Current:

Screenshot 2023-08-04 at 2 48 47 PM

New:

Screenshot 2023-08-04 at 2 49 07 PM

rect()

Current:

Screenshot 2023-08-04 at 2 49 52 PM

New:

Screenshot 2023-08-04 at 2 50 13 PM

square()

Current:

Screenshot 2023-08-04 at 2 50 46 PM

New:

Screenshot 2023-08-04 at 2 51 38 PM

triangle()

Current:

Screenshot 2023-08-04 at 2 52 02 PM

New:

Screenshot 2023-08-04 at 2 52 22 PM

OnexiMedina avatar Aug 04 '23 18:08 OnexiMedina