diff --git a/js/views/identity_key_send_error_view.js b/js/views/identity_key_send_error_view.js index 99c5d066664f..34fa19654986 100644 --- a/js/views/identity_key_send_error_view.js +++ b/js/views/identity_key_send_error_view.js @@ -39,7 +39,7 @@ send = i18n('resend'); } - var errorExplanation = i18n('identityKeyErrorOnSend', this.model.getTitle(), this.model.getTitle()); + var errorExplanation = i18n('identityKeyErrorOnSend', [this.model.getTitle(), this.model.getTitle()]); return { errorExplanation : errorExplanation, showSafetyNumber : i18n('showSafetyNumber'), diff --git a/js/views/key_verification_view.js b/js/views/key_verification_view.js index d9835c181ede..a8aeca7138d9 100644 --- a/js/views/key_verification_view.js +++ b/js/views/key_verification_view.js @@ -61,7 +61,7 @@ this.model.getProfiles().then(this.loadKeys.bind(this)); var dialog = new Whisper.ConfirmationDialogView({ - message: i18n('changedRightAfterVerify', this.model.getTitle(), this.model.getTitle()), + message: i18n('changedRightAfterVerify', [this.model.getTitle(), this.model.getTitle()]), hideCancel: true });