diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index c403270d4a..5ca90358d4 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -350,12 +350,6 @@ secret_key_failed = Failed to generate secret key: %v save_config_failed = Failed to save configuration: %v invalid_admin_setting = Administrator account setting is invalid: %v invalid_log_root_path = The log path is invalid: %v -default_keep_email_private = Hide Email Addresses by Default -default_keep_email_private_popup = Hide email addresses of new user accounts by default. -default_allow_create_organization = Allow Creation of Organizations by Default -default_allow_create_organization_popup = Allow new user accounts to create organizations by default. -default_enable_timetracking = Enable Time Tracking by Default -default_enable_timetracking_popup = Enable time tracking for new repositories by default. no_reply_address = Hidden Email Domain no_reply_address_helper = Domain name for users with a hidden email address. For example, the username 'joe' will be logged in Git as 'joe@noreply.example.org' if the hidden email domain is set to 'noreply.example.org'. password_algorithm = Password Hash Algorithm @@ -3377,36 +3371,30 @@ config.enable_captcha = Enable CAPTCHA config.active_code_lives = Active Code Lives config.reset_password_code_lives = Recover Account Code Expiry Time config.default_keep_email_private = Hide Email Addresses by Default +config.default_keep_email_private_desc = Each new user will get the value of this setting copied into their profile config.default_allow_create_organization = Allow Creation of Organizations by Default -config.enable_timetracking = Enable Time Tracking -config.default_enable_timetracking = Enable Time Tracking by Default +config.default_allow_create_organization_desc = Every new user will have rights set to create organizations depending on this setting +config.default_user_is_restricted = New user will be restricted by default +config.default_user_is_restricted_desc = Every new user will have restricted permissions depending on this setting +config.enable_time_tracking = Enable Time Tracking +config.default_enable_time_tracking = Enable Time Tracking by Default +config.default_enable_time_tracking_desc = Repositories will use time tracking by default depending on this setting config.default_allow_only_contributors_to_track_time = Let Only Contributors Track Time +config.default_allow_only_contributors_to_track_time_desc = Only users with write permissions can track time if this is true +config.default_enable_dependencies = Enable Issue Dependencies by Default +config.default_enable_dependencies_desc = Repositories will use dependencies by default depending on this setting +config.allow_cross_repository_dependencies = Allow Cross Repository Issue Dependencies +config.allow_cross_repository_dependencies_desc = Dependencies can be added from any repository where the user is granted access or only from the current repository depending on this setting. +config.enable_user_heatmap = Enable User Heatmap +config.enable_user_heatmap_desc = Show a heatmap of user activity on user profiles +config.auto_watch_new_repos = Enable Auto Watch for New Repositories +config.auto_watch_new_repos_desc = When adding a repo to a team or creating a new repo all team members will watch the repo automatically if enabled +config.auto_watch_on_changes = Enable Auto Watch for Repositories Push +config.auto_watch_on_changes_desc = Make the user watch a repository When they commit for the first time +config.default_org_member_visible = Default Organization Member Visibility +config.default_org_member_visible_desc = True will make the membership of the users visible when added to the organisation config.no_reply_address = Hidden Email Domain config.default_visibility_organization = Default visibility for new Organizations -config.service_default_keep_email_private = Default value for KeepEmailPrivate -config.service_default_keep_email_private_desc = Each new user will get the value of this setting copied into their profile -config.service_default_allow_create_organization = Default value for AllowCreateOrganization -config.service_default_allow_create_organization_desc = Every new user will have rights set to create organizations depending on this setting -config.service_default_user_is_restricted = Default value for IsRestricted -config.service_default_user_is_restricted_desc = Every new user will have restricted permissions depending on this setting -config.service_enable_time_tracking = Enable Time Tracking -config.service_default_enable_time_tracking = Default value for EnableTimetracking -config.service_default_enable_time_tracking_desc = Repositories will use timetracking by default depending on this setting -config.service_default_enable_dependencies = Enable Issue Dependencies by Default -config.service_default_enable_dependencies_desc = Repositories will use dependencies by default depending on this setting -config.service_allow_cross_repository_dependencies = Allow Cross Repository Issue Dependencies -config.service_allow_cross_repository_dependencies_desc = Dependencies can be added from any repository where the user is granted access or only from the current repository depending on this setting. -config.service_default_allow_only_contributors_to_track_time = Default value for AllowOnlyContributorsToTrackTime -config.service_default_allow_only_contributors_to_track_time_desc = Only users with write permissions can track time if this is true -config.service_enable_user_heatmap = Enable User Heatmap -config.service_enable_user_heatmap_desc = Show a heatmap of user activity on user profiles -config.service_auto_watch_new_repos = Enable Auto Watch for New Repositories -config.service_auto_watch_new_repos_desc = When adding a repo to a team or creating a new repo all team members will watch the repo automatically if enabled -config.service_auto_watch_on_changes = Enable Auto Watch for Repositories Push -config.service_auto_watch_on_changes_desc = Make the user watch a repository When they commit for the first time -config.service_default_org_member_visible = Default value for DefaultOrgMemberVisible -config.service_default_org_member_visible_desc = True will make the membership of the users visible when added to the organisation - config.webhook_config = Webhook Configuration config.queue_length = Queue Length config.deliver_timeout = Deliver Timeout diff --git a/routers/install/install.go b/routers/install/install.go index c06b6dee25..c68b278641 100644 --- a/routers/install/install.go +++ b/routers/install/install.go @@ -440,9 +440,6 @@ func SubmitInstall(ctx *context.Context) { cfg.Section("service").Key("ALLOW_ONLY_EXTERNAL_REGISTRATION").SetValue(strconv.FormatBool(form.AllowOnlyExternalRegistration)) cfg.Section("service").Key("ENABLE_CAPTCHA").SetValue(strconv.FormatBool(form.EnableCaptcha)) cfg.Section("service").Key("REQUIRE_SIGNIN_VIEW").SetValue(strconv.FormatBool(form.RequireSignInView)) - cfg.Section("service").Key("DEFAULT_KEEP_EMAIL_PRIVATE").SetValue(strconv.FormatBool(form.DefaultKeepEmailPrivate)) - cfg.Section("service").Key("DEFAULT_ALLOW_CREATE_ORGANIZATION").SetValue(strconv.FormatBool(form.DefaultAllowCreateOrganization)) - cfg.Section("service").Key("DEFAULT_ENABLE_TIMETRACKING").SetValue(strconv.FormatBool(form.DefaultEnableTimetracking)) cfg.Section("service").Key("NO_REPLY_ADDRESS").SetValue(form.NoReplyAddress) cfg.Section("cron.update_checker").Key("ENABLED").SetValue(strconv.FormatBool(form.EnableUpdateChecker)) diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index 806347c720..f3f7c40eb9 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -149,25 +149,10 @@