mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 05:41:33 +02:00
Merge pull request #22591 from overleaf/em-delete-account
Add blurb about Writefull in the Delete Account modal GitOrigin-RevId: 3b64a2c66e8c212bcdd6271c78cec43dc2c91192
This commit is contained in:
committed by
Copybot
parent
46cc91fac8
commit
18b8760bbb
@@ -1634,6 +1634,7 @@
|
||||
"to_confirm_transfer_enter_email_address": "",
|
||||
"to_confirm_unlink_all_users_enter_email": "",
|
||||
"to_continue_using_upgrade_or_change_your_browser": "",
|
||||
"to_delete_your_writefull_account": "",
|
||||
"to_fix_this_you_can": "",
|
||||
"to_fix_this_you_can_ask_the_github_repository_owner": "",
|
||||
"to_insert_or_move_a_caption_make_sure_tabular_is_directly_within_table": "",
|
||||
|
||||
@@ -10,6 +10,8 @@ import {
|
||||
OLModalTitle,
|
||||
} from '@/features/ui/components/ol/ol-modal'
|
||||
|
||||
const WRITEFULL_SUPPORT_EMAIL = 'support@writefull.com'
|
||||
|
||||
type LeaveModalContentProps = {
|
||||
handleHide: () => void
|
||||
inFlight: boolean
|
||||
@@ -36,11 +38,25 @@ function LeaveModalContentBlock({
|
||||
}
|
||||
|
||||
return (
|
||||
<LeaveModalForm
|
||||
setInFlight={setInFlight}
|
||||
isFormValid={isFormValid}
|
||||
setIsFormValid={setIsFormValid}
|
||||
/>
|
||||
<>
|
||||
<LeaveModalForm
|
||||
setInFlight={setInFlight}
|
||||
isFormValid={isFormValid}
|
||||
setIsFormValid={setIsFormValid}
|
||||
/>
|
||||
<p>
|
||||
<Trans
|
||||
i18nKey="to_delete_your_writefull_account"
|
||||
values={{ email: WRITEFULL_SUPPORT_EMAIL }}
|
||||
shouldUnescape
|
||||
tOptions={{ interpolation: { escapeValue: true } }}
|
||||
components={{
|
||||
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
||||
a: <a href={`mailto:${WRITEFULL_SUPPORT_EMAIL}`} />,
|
||||
}}
|
||||
/>
|
||||
</p>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -2249,6 +2249,7 @@
|
||||
"to_confirm_transfer_enter_email_address": "To accept the invitation, enter the email address linked to your account.",
|
||||
"to_confirm_unlink_all_users_enter_email": "To confirm you want to unlink all users, enter your email address:",
|
||||
"to_continue_using_upgrade_or_change_your_browser": "To continue using __appName__ without problems you need to upgrade or change to a <0>supported browser</0>.",
|
||||
"to_delete_your_writefull_account": "To delete your Writefull account, or to check if you have one, please contact <a>__email__</a>.",
|
||||
"to_fix_this_you_can": "To fix this, you can:",
|
||||
"to_fix_this_you_can_ask_the_github_repository_owner": "To fix this, you can ask the GitHub repository owner (<0>__repoOwnerEmail__</0>) to renew their __appName__ subscription and reconnect the project.",
|
||||
"to_insert_or_move_a_caption_make_sure_tabular_is_directly_within_table": "To insert or move a caption, make sure \\begin{tabular} is directly within a table environment",
|
||||
|
||||
Reference in New Issue
Block a user