From c1f3dbd22d63bb94edfd7e6f5386ed1c09d111a7 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 5 Jun 2020 15:21:29 -0500 Subject: [PATCH] SecurityForm: i18n --- app/soapbox/features/security/index.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/app/soapbox/features/security/index.js b/app/soapbox/features/security/index.js index 77cd7224c..477d0f520 100644 --- a/app/soapbox/features/security/index.js +++ b/app/soapbox/features/security/index.js @@ -20,6 +20,11 @@ const messages = defineMessages({ updateEmailFail: { id: 'security.update_email.fail', defaultMessage: 'Update email failed.' }, updatePasswordSuccess: { id: 'security.update_password.success', defaultMessage: 'Password successfully updated.' }, updatePasswordFail: { id: 'security.update_password.fail', defaultMessage: 'Update password failed.' }, + emailFieldLabel: { id: 'security.fields.email.label', defaultMessage: 'Email address' }, + passwordFieldLabel: { id: 'security.fields.password.label', defaultMessage: 'Password' }, + oldPasswordFieldLabel: { id: 'security.fields.old_password.label', defaultMessage: 'Current password' }, + newPasswordFieldLabel: { id: 'security.fields.new_password.label', defaultMessage: 'New password' }, + confirmationFieldLabel: { id: 'security.fields.password_confirmation.label', defaultMessage: 'New password (again)' }, }); export default @injectIntl @@ -81,7 +86,7 @@ class ChangeEmailForm extends ImmutablePureComponent {