Skip to content

Commit

Permalink
Merge pull request #8584 from sobitneupane/sn_bug-title-close-account…
Browse files Browse the repository at this point in the history
…-modal

Add title in unable to close account modal
  • Loading branch information
stitesExpensify authored Apr 14, 2022
2 parents 2515b53 + f226973 commit 070be5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ export default {
enterDefaultContact: 'Enter your default contact method',
defaultContact: 'Default contact method:',
okayGotIt: 'Okay, Got it',
closeAccountError: 'Unable to close account',
},
passwordPage: {
changePassword: 'Change password',
Expand Down
1 change: 1 addition & 0 deletions src/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ export default {
enterDefaultContact: 'Introduce tu método de contacto predeterminado',
defaultContact: 'Método de contacto predeterminado:',
okayGotIt: 'Ok, entendido',
closeAccountError: 'No se pudo cerrar tu cuenta',
},
passwordPage: {
changePassword: 'Cambiar contraseña',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/Security/CloseAccountPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class CloseAccountPage extends Component {
/>
</FixedFooter>
<ConfirmModal
title=""
title={this.props.translate('closeAccountPage.closeAccountError')}
success
confirmText={this.props.translate('closeAccountPage.okayGotIt')}
prompt={(
Expand Down

0 comments on commit 070be5d

Please sign in to comment.