mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 11:21:19 +01:00
98088befae
The code was just copied&pasted, it causes problems now. There are a lot (for every package) broken translations. eg: ``` # en-US conda.documentation = For more information on the Conda registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>. # fr-FR (and many languages) conda.documentation=Pour plus d'informations sur le registre Conda, voir <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/fr-fr/packages/conda/">la documentation</a>. ``` To resolve the problem fundamentally, use a general string, and trigger the re-translating on Crowdin side. And, it should really really really avoid introducing too much copied&pasted code .......
24 lines
980 B
Handlebars
24 lines
980 B
Handlebars
<h4 class="ui top attached header">
|
|
{{.locale.Tr "packages.owner.settings.cargo.title"}}
|
|
</h4>
|
|
<div class="ui attached segment">
|
|
<div class="ui form">
|
|
<div class="field">
|
|
<label>{{$.locale.Tr "packages.owner.settings.cargo.initialize.description"}}</label>
|
|
</div>
|
|
<form class="field" action="{{.Link}}/cargo/initialize" method="post">
|
|
{{.CsrfTokenHtml}}
|
|
<button class="ui green button">{{$.locale.Tr "packages.owner.settings.cargo.initialize"}}</button>
|
|
</form>
|
|
<div class="field">
|
|
<label>{{$.locale.Tr "packages.owner.settings.cargo.rebuild.description"}}</label>
|
|
</div>
|
|
<form class="field" action="{{.Link}}/cargo/rebuild" method="post">
|
|
{{.CsrfTokenHtml}}
|
|
<button class="ui green button">{{$.locale.Tr "packages.owner.settings.cargo.rebuild"}}</button>
|
|
</form>
|
|
<div class="field">
|
|
<label>{{.locale.Tr "packages.registry.documentation" "Cargo" "https://docs.gitea.io/en-us/usage/packages/cargo/" | Safe}}</label>
|
|
</div>
|
|
</div>
|
|
</div>
|