From e24c238ecc400dca713d41b3178c69475a66cb27 Mon Sep 17 00:00:00 2001 From: silverwind <me@silverwind.io> Date: Tue, 12 Jul 2022 11:04:15 +0200 Subject: [PATCH] Remove blue text on migrate page (#20273) * Remove blue text on migrate page * remove Safe Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> --- options/locale/locale_en-US.ini | 2 +- templates/repo/migrate/options.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 36e2ae677becb..9b69d54593e8c 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -932,7 +932,7 @@ form.name_pattern_not_allowed = The pattern '%s' is not allowed in a repository need_auth = Authorization migrate_options = Migration Options migrate_service = Migration Service -migrate_options_mirror_helper = This repository will be a <span class="text blue">mirror</span> +migrate_options_mirror_helper = This repository will be a mirror migrate_options_lfs = Migrate LFS files migrate_options_lfs_endpoint.label = LFS Endpoint migrate_options_lfs_endpoint.description = Migration will attempt to use your Git remote to <a target="_blank" rel="noopener noreferrer" href="%s">determine the LFS server</a>. You can also specify a custom endpoint if the repository LFS data is stored somewhere else. diff --git a/templates/repo/migrate/options.tmpl b/templates/repo/migrate/options.tmpl index 62e92dc135259..5fdf6c7ab447f 100644 --- a/templates/repo/migrate/options.tmpl +++ b/templates/repo/migrate/options.tmpl @@ -3,7 +3,7 @@ <label>{{.locale.Tr "repo.migrate_options"}}</label> <div class="ui checkbox"> <input id="mirror" name="mirror" type="checkbox" {{if .mirror}} checked{{end}}> - <label>{{.locale.Tr "repo.migrate_options_mirror_helper" | Safe}}</label> + <label>{{.locale.Tr "repo.migrate_options_mirror_helper"}}</label> </div> </div> {{end}}