Fix more "locale" usages (#27259)

This commit is contained in:
wxiaoguang 2023-09-25 20:42:40 +08:00 committed by GitHub
parent 7960ba7e2b
commit 93bd4351bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
115 changed files with 224 additions and 225 deletions

View file

@ -15,7 +15,7 @@
<label for="clone_addr">{{ctx.Locale.Tr "repo.migrate.clone_address"}}</label>
<input id="clone_addr" name="clone_addr" value="{{.clone_addr}}" autofocus required>
<span class="help">
{{ctx.Locale.Tr "repo.migrate.clone_address_desc"}}{{if .ContextUser.CanImportLocal}} {{.locale.Tr "repo.migrate.clone_local_path"}}{{end}}
{{ctx.Locale.Tr "repo.migrate.clone_address_desc"}}{{if .ContextUser.CanImportLocal}} {{ctx.Locale.Tr "repo.migrate.clone_local_path"}}{{end}}
</span>
</div>