mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-22 02:04:31 +00:00
Merge pull request #15296 from overleaf/jdt-reword-send
Update wording in make primary email action GitOrigin-RevId: df82ebcbec2ea101182f154673fd1c0fb4acbeaa
This commit is contained in:
parent
a30f34be71
commit
e47c3e67c1
3 changed files with 5 additions and 3 deletions
|
@ -82,7 +82,9 @@ function MakePrimary({ userEmailData, makePrimaryAsync }: MakePrimaryProps) {
|
|||
return (
|
||||
<>
|
||||
{makePrimaryAsync.isLoading ? (
|
||||
<PrimaryButton disabled>{t('sending')}...</PrimaryButton>
|
||||
<PrimaryButton disabled>
|
||||
{t('processing_uppercase')}…
|
||||
</PrimaryButton>
|
||||
) : (
|
||||
<Tooltip
|
||||
id={`make-primary-${userEmailData.email}`}
|
||||
|
|
|
@ -37,7 +37,7 @@ function ResendConfirmationEmailButton({
|
|||
if (isLoading) {
|
||||
return (
|
||||
<>
|
||||
<Icon type="refresh" spin fw /> {t('sending')}...
|
||||
<Icon type="refresh" spin fw /> {t('sending')}…
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -173,7 +173,7 @@ describe('email actions - make primary', function () {
|
|||
expect(screen.queryByRole('dialog')).to.be.null
|
||||
|
||||
await waitForElementToBeRemoved(() =>
|
||||
screen.getByRole('button', { name: /sending/i, hidden: true })
|
||||
screen.getByRole('button', { name: /Processing/i, hidden: true })
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue