{{ctx.Locale.Tr "install.title"}}

{{template "base/alert" .}}

{{ctx.Locale.Tr "install.docker_helper" "https://docs.gitea.com/installation/install-with-docker"}}

{{ctx.Locale.Tr "install.db_title"}}

{{ctx.Locale.Tr "install.require_db_desc"}}

{{ctx.Locale.Tr "install.db_schema_helper"}}
{{ctx.Locale.Tr "install.sqlite_helper"}}
{{if .Err_DbInstalledBefore}}

{{ctx.Locale.Tr "install.reinstall_confirm_message"}}

{{end}}

{{ctx.Locale.Tr "install.general_title"}}

{{ctx.Locale.Tr "install.app_name_helper"}}
{{ctx.Locale.Tr "install.repo_path_helper"}}
{{ctx.Locale.Tr "install.lfs_path_helper"}}
{{ctx.Locale.Tr "install.run_user_helper"}}
{{ctx.Locale.Tr "install.domain_helper"}}
{{ctx.Locale.Tr "install.ssh_port_helper"}}
{{ctx.Locale.Tr "install.http_port_helper"}}
{{ctx.Locale.Tr "install.app_url_helper"}}
{{ctx.Locale.Tr "install.log_root_path_helper"}}
{{ctx.Locale.Tr "install.enable_update_checker_helper"}}

{{ctx.Locale.Tr "install.optional_title"}}

{{ctx.Locale.Tr "install.email_title"}}
{{ctx.Locale.TrString "install.smtp_from_helper"}}{{/* it contains lt/gt chars*/}}
{{ctx.Locale.Tr "install.server_service_title"}}
{{ctx.Locale.Tr "install.no_reply_address_helper"}}
{{ctx.Locale.Tr "install.password_algorithm_helper"}}
{{ctx.Locale.Tr "install.admin_title"}}

{{ctx.Locale.Tr "install.admin_setting_desc"}}

{{if .EnvConfigKeys}}

{{ctx.Locale.Tr "install.env_config_keys"}}

{{ctx.Locale.Tr "install.env_config_keys_prompt"}}
{{range .EnvConfigKeys}}{{.}}{{end}}
{{end}}
{{$copyBtn := svg "octicon-copy" 14}} {{$filePath := HTMLFormat `%s ` .CustomConfFile .CustomConfFile $copyBtn}} {{ctx.Locale.Tr "install.config_write_file_prompt" $filePath}}