-
-
Notifications
You must be signed in to change notification settings - Fork 476
Translate p5.vector description to spanish #1276
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
Hi @hunahpu18, can you revert the changes made to |
Thanks @hunahpu18 for working on it. I am inviting the Spanish Translation stewards @Guirdo, @Andreu-G, @dnd-alv, @holomorfo to review this pull request, and please leave a comment here if the translation is ready to be merged. Thanks. |
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.
Translation looks good. There is only one typo in an anchor tag, and some suggestions to be reviewed. Thank you @hunahpu18
src/data/reference/es.json
Outdated
@@ -28,7 +28,7 @@ | |||
"DOM": "DOM", | |||
"Rendering": "Render", | |||
"Foundation": "Foundation", | |||
"Transform": "Transformar", | |||
"Transform": "Transformaciones", |
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.
I suggest using "Transformación" in singular, instead of plural "Transformaciones" since the english word is in singular.
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.
Done.
src/data/reference/es.json
Outdated
], | ||
"returns": "Number: magnitude of the vector", | ||
"params": { | ||
"vecT": "p5.Vector: the vector to return the magnitude of" | ||
"vec": "p5.Vector: the vector to return the magnitude of" |
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.
did the variable name changed from vecT
to vec
or is it a typo?
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.
I think its a typo even in the English version, however this change is removed.
src/data/reference/es.json
Outdated
@@ -5283,7 +5289,7 @@ | |||
}, | |||
"angleBetween": { | |||
"description": [ | |||
"Calculates and returns the angle (in radians) between two vectors." | |||
"Calcula y devuelve el ángulo entre dos vectores. Este método considera el <a = src=\"#/p5/angleMode\">angleMode</a> y devuelve el ángulo en radias o grados respectivamente." |
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.
There is an extra = in the begining of the anchor tag, should be
Expected
<a src="#/p5/angleMode">angleMode
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.
Done. Also it should be href
instead of src
.
src/data/reference/es.json
Outdated
@@ -5343,7 +5348,7 @@ | |||
}, | |||
"fromAngles": { | |||
"description": [ | |||
"Make a new 3D vector from a pair of ISO spherical angles" | |||
"Crea un nuevo vector 3D a partir de sus coordenadas esféricas." |
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.
Should "ISO" be removed? since it implies a convention being used?
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.
Yes, my bad. Changed to Crea un nuevo vector 3D a partir de sus coordenadas esféricas estándar(ISO).
What do you think?
Make changes according to @holomorfo 's suggestions
Thanks for the comments @holomorfo . Let me know if you have more suggestions 👍 |
Hi @hunahpu18 , everything looks good, thank you for taking the time to review my comments. @Qianqianye these changes are ready to be merged. |
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.
@Qianqianye, translation is correct and ready to merge.
Thank you @hunahpu18 for working on it and @holomorfo for reviewing |
Addresses #1216
Changes:
Translate Spanish description of p5.Vector reference page
Add toString entry in p5.Vector reference page
Screenshots of the change:
