diff --git a/packages/rocketchat-ui-account/account/accountProfile.coffee b/packages/rocketchat-ui-account/account/accountProfile.coffee index 68c4529bf6fe..5ea19ee59113 100644 --- a/packages/rocketchat-ui-account/account/accountProfile.coffee +++ b/packages/rocketchat-ui-account/account/accountProfile.coffee @@ -117,7 +117,9 @@ Template.accountProfile.events type: "input", inputType: "password", showCancelButton: true, - closeOnConfirm: false + closeOnConfirm: false, + confirmButtonText: t('Save'), + cancelButtonText: t('Cancel') , (typedPassword) => if typedPassword @@ -144,7 +146,9 @@ Template.accountProfile.events type: "input", inputType: "password", showCancelButton: true, - closeOnConfirm: false + closeOnConfirm: false, + confirmButtonText: t('Delete') + cancelButtonText: t('Cancel') , (typedPassword) => if typedPassword @@ -165,7 +169,9 @@ Template.accountProfile.events text: t("If_you_are_sure_type_in_your_username"), type: "input", showCancelButton: true, - closeOnConfirm: false + closeOnConfirm: false, + confirmButtonText: t('Delete') + cancelButtonText: t('Cancel') , (deleteConfirmation) => if deleteConfirmation is Meteor.user()?.username diff --git a/packages/rocketchat-ui/lib/fileUpload.coffee b/packages/rocketchat-ui/lib/fileUpload.coffee index 690e4c707111..3eb4e7a448f8 100644 --- a/packages/rocketchat-ui/lib/fileUpload.coffee +++ b/packages/rocketchat-ui/lib/fileUpload.coffee @@ -84,6 +84,8 @@ readAsArrayBuffer = (file, callback) -> showCancelButton: true closeOnConfirm: false closeOnCancel: false + confirmButtonText: t('Send') + cancelButtonText: t('Cancel') html: true , (isConfirm) -> consume()