mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-28 21:55:55 +00:00
chore(i18n): migrate migration descriptions to json (#9041)
Followup to https://codeberg.org/forgejo/forgejo/pulls/8987 * migrate strings, get rid of the `repo.` prefix * simplify template and test Followup to https://codeberg.org/forgejo/forgejo/pulls/8736#issuecomment-6801385 * restore lost translations Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9041 Reviewed-by: Beowulf <beowulf@beocode.eu>
This commit is contained in:
parent
9b54852aad
commit
af7066de64
63 changed files with 330 additions and 333 deletions
|
@ -16,11 +16,7 @@
|
|||
{{.Title}}
|
||||
</h3>
|
||||
<div class="description">
|
||||
{{if eq .Name "pagure"}}
|
||||
{{ctx.Locale.Tr "migrate.pagure.description"}}
|
||||
{{else}}
|
||||
{{ctx.Locale.Tr (printf "repo.migrate.%s.description" .Name)}}
|
||||
{{end}}
|
||||
{{ctx.Locale.Tr (printf "migrate.%s.description" .Name)}}
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue