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:
0ko 2025-08-31 08:19:19 +02:00
commit af7066de64
63 changed files with 330 additions and 333 deletions

View file

@ -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>