-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Spanish Translation Modals for Sketch Menu #1538
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
translations.json (both languages EN - ES) changes in NewFileForm.jsx and NewFileModal.jsx to link the new keys.
translations.json (both languages EN - ES) changes in NewFileForm.jsx and NewFileModal.jsx to link the new keys.
| id="name" | ||
| type="text" | ||
| placeholder="Name" | ||
| placeholder={i18n.t('NewFileForm.Placeholder')} |
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.
Same comments as in #1537. In components, let's try and use withTranslation.
The validate() function is a good case for using the i18next.t() function directly but here it should be this.props.t().
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.
@andrewn I made the changes requested.
andrewn
left a comment
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.
See comments in code
|
@andrewn I made the changes requested. The problem was also present in the Folder modal. Can you take a look, please? |
|
Looks great! |
I have verified that this pull request:
npm run lint)