diff options
author | yp05327 <576951401@qq.com> | 2024-01-15 15:51:43 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-15 06:51:43 +0000 |
commit | ce0225c1b87d682f53b87496c8dd6ccee0396f0b (patch) | |
tree | 2ab05a9d17869c2a16e5d0e21522106043d823d5 /options | |
parent | b820019fec1bd955b6cb9dba1ce2f2571924ae64 (diff) | |
download | gitea-ce0225c1b87d682f53b87496c8dd6ccee0396f0b.tar.gz gitea-ce0225c1b87d682f53b87496c8dd6ccee0396f0b.zip |
Forbid removing the last admin user (#28337)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'options')
-rw-r--r-- | options/locale/locale_en-US.ini | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 0e5d91bd57..95148bb644 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -423,6 +423,7 @@ authorization_failed_desc = The authorization failed because we detected an inva sspi_auth_failed = SSPI authentication failed password_pwned = The password you chose is on a <a target="_blank" rel="noopener noreferrer" href="https://haveibeenpwned.com/Passwords">list of stolen passwords</a> previously exposed in public data breaches. Please try again with a different password and consider changing this password elsewhere too. password_pwned_err = Could not complete request to HaveIBeenPwned +last_admin = You cannot remove the last admin. There must be at least one admin. [mail] view_it_on = View it on %s @@ -588,6 +589,8 @@ org_still_own_packages = "This organization still owns one or more packages, del target_branch_not_exist = Target branch does not exist. +admin_cannot_delete_self = You cannot delete yourself when you are an admin. Please remove your admin privileges first. + [user] change_avatar = Change your avatar… joined_on = Joined on %s |