mirror of
https://github.com/we-promise/sure.git
synced 2026-04-17 19:14:11 +00:00
* Add ability to delete Account Issue #571 * Fix ActiveJob::DeserializationError in AccountSyncJob when an account doesn't exists * Use custom confirm modal for account deletion * Revert "Fix ActiveJob::DeserializationError in AccountSyncJob when an account doesn't exists" This reverts commit 8dbf634819d08b9d55679f9e137e901608070ba0.
23 lines
1.0 KiB
YAML
23 lines
1.0 KiB
YAML
---
|
||
en:
|
||
custom_turbo_confirm:
|
||
account_destroy:
|
||
accept: Delete "%{name}"
|
||
body_html: "<p>By deleting this account, you will erase its value history, affecting
|
||
various aspects of your overall account. This action will have a direct impact
|
||
on your net worth calculations and the account graphs.</p><br /> <p>After
|
||
deletion, there is no way you'll be able to restore the account information
|
||
because you'll need to add it as a new account.</p>"
|
||
title: Delete account?
|
||
default:
|
||
accept: Confirm
|
||
body_html: "<p>You will not be able to undo this decision</p>"
|
||
title: Are you sure?
|
||
history:
|
||
accept: Delete entry
|
||
body_html: "<p>Deleting this entry will remove it from the account’s history
|
||
which will impact different parts of your account. This includes the net worth
|
||
and account graphs.</p></br><p>The only way you’ll be able to add this entry
|
||
back is by re-entering it manually via a new entry</p>"
|
||
title: Delete Entry?
|