mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-26 12:45:54 +00:00
fix(ui): use correct string for pagure description (#8987)
Followup to https://codeberg.org/forgejo/forgejo/pulls/8513 As we already got translated strings w/ incorrect key, I prefer to not touch them and teach the UI a workaround. Maybe later all related INI strings will be migrated to JSON without the prefix, too. Preview Before: https://codeberg.org/forgejo/forgejo/attachments/8e603325-bb2b-4e32-a9bc-f1fa20b6c40b After: https://codeberg.org/forgejo/forgejo/attachments/38e8afeb-5214-4085-bd6c-3ba8ff3894cd Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8987 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Reviewed-by: Beowulf <beowulf@beocode.eu>
This commit is contained in:
parent
82fabb3df0
commit
f58f84562a
2 changed files with 33 additions and 3 deletions
|
@ -16,7 +16,11 @@
|
|||
{{.Title}}
|
||||
</h3>
|
||||
<div class="description">
|
||||
{{ctx.Locale.Tr (printf "repo.migrate.%s.description" .Name)}}
|
||||
{{if eq .Name "pagure"}}
|
||||
{{ctx.Locale.Tr "migrate.pagure.description"}}
|
||||
{{else}}
|
||||
{{ctx.Locale.Tr (printf "repo.migrate.%s.description" .Name)}}
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue