aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-07-07 16:47:26 +0800
committerGitHub <noreply@github.com>2023-07-07 10:47:26 +0200
commit98088befae5d13d0f8e3df8554149e483cc6c3b2 (patch)
treebc1aca04f0b0361f74a541ee56b58323b907e6fc /templates/user
parent8995046110147ae2c8c98be4e0a8c0b643ccc29c (diff)
downloadgitea-98088befae5d13d0f8e3df8554149e483cc6c3b2.tar.gz
gitea-98088befae5d13d0f8e3df8554149e483cc6c3b2.zip
Fix broken translations for package documantion (#25742)
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 .......
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/settings/packages.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/packages.tmpl b/templates/user/settings/packages.tmpl
index a07c3c8356..ae9a7b415a 100644
--- a/templates/user/settings/packages.tmpl
+++ b/templates/user/settings/packages.tmpl
@@ -16,7 +16,7 @@
<button class="ui green button">{{$.locale.Tr "packages.owner.settings.chef.keypair"}}</button>
</form>
<div class="field">
- <label>{{.locale.Tr "packages.chef.documentation" "https://docs.gitea.io/en-us/usage/packages/chef/" | Safe}}</label>
+ <label>{{.locale.Tr "packages.registry.documentation" "Chef" "https://docs.gitea.io/en-us/usage/packages/chef/" | Safe}}</label>
</div>
</div>
</div>