-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Spanish Translation Account form and New Password #1547
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
This is looking very good. @oruburos Can you fix the merge conflicts in this branch and then let me know when it's done please? |
@andrewn Hi, I've merged the most recent develop branch with this PR to solve the conflicts, can you have a look please? |
@@ -39,7 +39,8 @@ class APIKeyForm extends React.Component { | |||
} | |||
|
|||
removeKey(key) { | |||
const message = `Are you sure you want to delete "${key.label}"?`; | |||
// const message = `Are you sure you want to delete "${}"?`; | |||
const message = i18next.t('APIKeyForm.ConfirmDelete', { key_label: key.label }); |
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.
This should use withTranslation
, not i18next
as it's within a component.
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.
Ok, the change requested it is complete, can you check this please?
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.
You also need to remove the i18next
import from the top of the file as it's no longer used. The lint should be warning about this.
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.
Ok, the import is deleted, can you have a look please.?
Delete comments.
Delete unused imports.
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.
Looks great!
I have verified that this pull request:
npm run lint
)This PR introduces Spanish Translation for the Account Form/View, ApiKeyForm and List and New Password Form/View