diff options
author | 6543 <6543@obermui.de> | 2021-01-17 21:48:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 21:48:38 +0100 |
commit | 21da519c0cd6e243888ebe573e3496e4eda01f10 (patch) | |
tree | a4e2fe5cf6dae77091e8089fa6b98c8684b07fe1 /options/locale | |
parent | ca63a9d3f1120d8c76eb83ff1fd07e0992a683a8 (diff) | |
download | gitea-21da519c0cd6e243888ebe573e3496e4eda01f10.tar.gz gitea-21da519c0cd6e243888ebe573e3496e4eda01f10.zip |
Implement ghost comment mitigation (#14349)
* Implement ghost comment mitigation
Adds a config option USER_DELETE_WITH_COMMENTS_MAX_DAYS to the [service] section. See https://codeberg.org/Codeberg/Discussion/issues/24 for the underlying issue.
* cleanup
* use setting module correctly
* add to docs
Co-authored-by: Moritz Marquardt <git@momar.de>
Diffstat (limited to 'options/locale')
-rw-r--r-- | options/locale/locale_en-US.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 73451eeebb..5e53637267 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -646,6 +646,7 @@ repos_none = You do not own any repositories delete_account = Delete Your Account delete_prompt = This operation will permanently delete your user account. It <strong>CAN NOT</strong> be undone. +delete_with_all_comments = Your account is younger than %d days. To avoid ghost comments, all issue/PR comments will be deleted with it. confirm_delete_account = Confirm Deletion delete_account_title = Delete User Account delete_account_desc = Are you sure you want to permanently delete this user account? |