aboutsummaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorZisu Zhang <thezzisu@gmail.com>2024-10-06 04:41:38 +0800
committerGitHub <noreply@github.com>2024-10-05 20:41:38 +0000
commit66923e02d20e9d5b68ab20fbcdebd779eb4dbaf9 (patch)
tree08af3f6b45b7e9d25ccc4c1a64bf8c62f9227799 /options
parent6a4eb126bd911e36489979954f0b3a3ebc1ae19f (diff)
downloadgitea-66923e02d20e9d5b68ab20fbcdebd779eb4dbaf9.tar.gz
gitea-66923e02d20e9d5b68ab20fbcdebd779eb4dbaf9.zip
Enhance USER_DISABLED_FEATURES to allow disabling change username or full name (#31959)
Fix #31958 Enhanced `USER_DISABLED_FEATURES`(also `EXTERNAL_USER_DISABLE_FEATURES`) option in `[admin]` section. Added following values: - `change_username`: Disable change username - `change_full_name`: Disable change full name --- Progress: - [x] Update code - [x] Update translations
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index e3b17f9a04..a02d939b79 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -580,6 +580,8 @@ lang_select_error = Select a language from the list.
username_been_taken = The username is already taken.
username_change_not_local_user = Non-local users are not allowed to change their username.
+change_username_disabled = Changing username is disabled.
+change_full_name_disabled = Changing full name is disabled.
username_has_not_been_changed = Username has not been changed
repo_name_been_taken = The repository name is already used.
repository_force_private = Force Private is enabled: private repositories cannot be made public.
@@ -705,7 +707,8 @@ public_profile = Public Profile
biography_placeholder = Tell us a little bit about yourself! (You can use Markdown)
location_placeholder = Share your approximate location with others
profile_desc = Control how your profile is show to other users. Your primary email address will be used for notifications, password recovery and web-based Git operations.
-password_username_disabled = Non-local users are not allowed to change their username. Please contact your site administrator for more details.
+password_username_disabled = You are not allowed to change their username. Please contact your site administrator for more details.
+password_full_name_disabled = You are not allowed to change their full name. Please contact your site administrator for more details.
full_name = Full Name
website = Website
location = Location