-
Notifications
You must be signed in to change notification settings - Fork 438
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
Update Angular Spanish tutorial to the English version #478
Conversation
…ddons.md to translate
@josegarciamanez this is so great! Thank you very much for the translation. If you're ok with it I'm going to close the other pull request in favor of this one, more specifically #473, and get a proofreader to check the pull request. Sounds good? |
@josegarciamanez just a friendly heads up regarding the translation status? Are still able to work on it. Don't forget that the Angular translation was moved into Storybook 6.2 with #482. Let me know and we'll adjust accordingly. Stay safe |
@jonniebigodes Sorry, I ve had a lot of work this month. This week I will be on vacation and will work on the update to version 6. 2 to send the pull request. All the best |
@jonniebigodes Would you be interested in me also working on the translation of the design system documentation into Spanish? Stay tuned. All the best |
@jonniebigodes Everything would already be updated. Stay safe |
@josegarciamanez no worries, glad to hear that you're willing to work on this while you're on vacation. Really appreciate it 🙏🏼 . I'm going to take a look during this week and if anything stands out we'll get it proofread and hopefully merged. Regarding the Design Systems tutorial, that would be excellent. Please feel free to translate it. Stay safe |
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.
@josegarciamanez this is shaping up real nice and we're almost in a good place to start proofreading it. I'm going to take a closer look once you address the items I've mentioned and I'll ask a team member as well for a sanity check.
Let me know once you've addressed them and we'll go from there.
Stay safe
<div class="aside"> | ||
TODO:ADD testing library image | ||
</div> |
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.
@josegarciamanez can you check this. It seems that this div should not be present.
```bash | ||
# Crea nuestra aplicación: | ||
npx ng new taskbox --style less | ||
# Clonar la plantilla | ||
npx degit chromaui/intro-storybook-angular-template taskbox | ||
|
||
cd taskbox | ||
|
||
# Añade Storybook: | ||
npx -p @storybook/cli sb init | ||
# Instalar dependencias | ||
npm install | ||
``` |
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.
@josegarciamanez If you could leave the code comments in their native form (English) throughout the tutorial,we'd appreciate it. I'm aware that translating them adds context and brings the translation closer to home but until we have a good solution for this we recommend that they remain as mentioned.
Después de completar el cambio anterior, dentro de la carpeta `.storybook`, cambie se `preview.js` a lo siguiente: | ||
|
||
```diff:title=.storybook/preview.js | ||
import { setCompodocJson } from "@storybook/addon-docs/angular"; | ||
import docJson from "../documentation.json"; | ||
setCompodocJson(docJson); | ||
|
||
|
||
export const parameters = { | ||
actions: { argTypesRegex: "^on[A-Z].*" }, | ||
+ angularLegacyRendering: true, | ||
} |
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.
@josegarciamanez if you could adjust this portion to what's currently in the English version we'd appreciate it. I pushed a small pull request #488 that addressed this. Long story short this was introduced as a temporary solution that I was able to sort out with the current Storybook Angular maintainer and with his guidance I updated the tutorial accordingly.
@jonniebigodes In my last commit you will find the required changes. All the best |
@josegarciamanez if you don't mind factoring in #504 in this pull request we'd appreciate it. I've taken a look at it and it seems that is good to go. I'm going to ask for an "extra pair of eyes" if you don't mind to see if I missed something and we'll gladly merge it sometime next week. Sounds good? |
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.
LGTM🎉
@josegarciamanez sorry for the long wait on this. I got held up and had to take care of some other aspects of the documentation. I'm going to merge this. Stay safe |
Here is my input for the Update.
@jonniebigodes