Skip to content

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

Merged
merged 3 commits into from
Feb 21, 2023
Merged

Conversation

hunahpu18
Copy link
Contributor

Addresses #1216

Changes:
Translate Spanish description of p5.Vector reference page
Add toString entry in p5.Vector reference page

Screenshots of the change:
image

@limzykenneth
Copy link
Member

Hi @hunahpu18, can you revert the changes made to package-lock.json in this PR? Thanks.

@limzykenneth
Copy link
Member

Inviting Spanish stewards @Guirdo, @Andreu-G, and @dnd-alv to review this.

@Qianqianye
Copy link
Contributor

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.

Copy link
Contributor

@holomorfo holomorfo left a 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

@@ -28,7 +28,7 @@
"DOM": "DOM",
"Rendering": "Render",
"Foundation": "Foundation",
"Transform": "Transformar",
"Transform": "Transformaciones",
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

],
"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"
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@@ -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."
Copy link
Contributor

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

Copy link
Contributor Author

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.

@@ -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."
Copy link
Contributor

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?

Copy link
Contributor Author

@hunahpu18 hunahpu18 Feb 20, 2023

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?

hunahpu18 and others added 2 commits February 20, 2023 05:44

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Make changes according to @holomorfo 's suggestions
@hunahpu18
Copy link
Contributor Author

Thanks for the comments @holomorfo . Let me know if you have more suggestions 👍

@holomorfo
Copy link
Contributor

holomorfo commented Feb 20, 2023

Hi @hunahpu18 , everything looks good, thank you for taking the time to review my comments. @Qianqianye these changes are ready to be merged.

Copy link
Contributor

@holomorfo holomorfo left a 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.

@Qianqianye Qianqianye merged commit bf203f5 into processing:main Feb 21, 2023
@Qianqianye
Copy link
Contributor

Thank you @hunahpu18 for working on it and @holomorfo for reviewing
Just added @hunahpu18 to the p5.js contributors list 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants