Skip to content

Commit 98088be

Browse files
authored
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 .......
1 parent 8995046 commit 98088be

24 files changed

+24
-44
lines changed

options/locale/locale_en-US.ini

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3232,6 +3232,7 @@ desc = Manage repository packages.
32323232
empty = There are no packages yet.
32333233
empty.documentation = For more information on the package registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
32343234
empty.repo = Did you upload a package, but it's not shown here? Go to <a href="%[1]s">package settings</a> and link it to this repo.
3235+
registry.documentation = For more information on the %s registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
32353236
filter.type = Type
32363237
filter.type.all = All
32373238
filter.no_result = Your filter produced no results.
@@ -3259,100 +3260,79 @@ alpine.registry = Setup this registry by adding the url in your <code>/etc/apk/r
32593260
alpine.registry.key = Download the registry public RSA key into the <code>/etc/apk/keys/</code> folder to verify the index signature:
32603261
alpine.registry.info = Choose $branch and $repository from the list below.
32613262
alpine.install = To install the package, run the following command:
3262-
alpine.documentation = For more information on the Alpine registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
32633263
alpine.repository = Repository Info
32643264
alpine.repository.branches = Branches
32653265
alpine.repository.repositories = Repositories
32663266
alpine.repository.architectures = Architectures
32673267
cargo.registry = Setup this registry in the Cargo configuration file (for example <code>~/.cargo/config.toml</code>):
32683268
cargo.install = To install the package using Cargo, run the following command:
3269-
cargo.documentation = For more information on the Cargo registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
32703269
cargo.details.repository_site = Repository Site
32713270
cargo.details.documentation_site = Documentation Site
32723271
chef.registry = Setup this registry in your <code>~/.chef/config.rb</code> file:
32733272
chef.install = To install the package, run the following command:
3274-
chef.documentation = For more information on the Chef registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
32753273
composer.registry = Setup this registry in your <code>~/.composer/config.json</code> file:
32763274
composer.install = To install the package using Composer, run the following command:
3277-
composer.documentation = For more information on the Composer registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
32783275
composer.dependencies = Dependencies
32793276
composer.dependencies.development = Development Dependencies
32803277
conan.details.repository = Repository
32813278
conan.registry = Setup this registry from the command line:
32823279
conan.install = To install the package using Conan, run the following command:
3283-
conan.documentation = For more information on the Conan registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
32843280
conda.registry = Setup this registry as a Conda repository in your <code>.condarc</code> file:
32853281
conda.install = To install the package using Conda, run the following command:
3286-
conda.documentation = For more information on the Conda registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
32873282
conda.details.repository_site = Repository Site
32883283
conda.details.documentation_site = Documentation Site
32893284
container.details.type = Image Type
32903285
container.details.platform = Platform
32913286
container.pull = Pull the image from the command line:
32923287
container.digest = Digest:
3293-
container.documentation = For more information on the Container registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
32943288
container.multi_arch = OS / Arch
32953289
container.layers = Image Layers
32963290
container.labels = Labels
32973291
container.labels.key = Key
32983292
container.labels.value = Value
32993293
cran.registry = Setup this registry in your <code>Rprofile.site</code> file:
33003294
cran.install = To install the package, run the following command:
3301-
cran.documentation = For more information on the CRAN registry, see <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/en-us/packages/cran/">the documentation</a>.
33023295
debian.registry = Setup this registry from the command line:
33033296
debian.registry.info = Choose $distribution and $component from the list below.
33043297
debian.install = To install the package, run the following command:
3305-
debian.documentation = For more information on the Debian registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
33063298
debian.repository = Repository Info
33073299
debian.repository.distributions = Distributions
33083300
debian.repository.components = Components
33093301
debian.repository.architectures = Architectures
33103302
generic.download = Download package from the command line:
3311-
generic.documentation = For more information on the generic registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
33123303
go.install = Install the package from the command line:
3313-
go.documentation = For more information on the Go registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
33143304
helm.registry = Setup this registry from the command line:
33153305
helm.install = To install the package, run the following command:
3316-
helm.documentation = For more information on the Helm registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
33173306
maven.registry = Setup this registry in your project <code>pom.xml</code> file:
33183307
maven.install = To use the package include the following in the <code>dependencies</code> block in the <code>pom.xml</code> file:
33193308
maven.install2 = Run via command line:
33203309
maven.download = To download the dependency, run via command line:
3321-
maven.documentation = For more information on the Maven registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
33223310
nuget.registry = Setup this registry from the command line:
33233311
nuget.install = To install the package using NuGet, run the following command:
3324-
nuget.documentation = For more information on the NuGet registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
33253312
nuget.dependency.framework = Target Framework
33263313
npm.registry = Setup this registry in your project <code>.npmrc</code> file:
33273314
npm.install = To install the package using npm, run the following command:
33283315
npm.install2 = or add it to the package.json file:
3329-
npm.documentation = For more information on the npm registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
33303316
npm.dependencies = Dependencies
33313317
npm.dependencies.development = Development Dependencies
33323318
npm.dependencies.peer = Peer Dependencies
33333319
npm.dependencies.optional = Optional Dependencies
33343320
npm.details.tag = Tag
33353321
pub.install = To install the package using Dart, run the following command:
3336-
pub.documentation = For more information on the Pub registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
33373322
pypi.requires = Requires Python
33383323
pypi.install = To install the package using pip, run the following command:
3339-
pypi.documentation = For more information on the PyPI registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
33403324
rpm.registry = Setup this registry from the command line:
33413325
rpm.install = To install the package, run the following command:
3342-
rpm.documentation = For more information on the RPM registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
33433326
rubygems.install = To install the package using gem, run the following command:
33443327
rubygems.install2 = or add it to the Gemfile:
33453328
rubygems.dependencies.runtime = Runtime Dependencies
33463329
rubygems.dependencies.development = Development Dependencies
33473330
rubygems.required.ruby = Requires Ruby version
33483331
rubygems.required.rubygems = Requires RubyGem version
3349-
rubygems.documentation = For more information on the RubyGems registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
33503332
swift.registry = Setup this registry from the command line:
33513333
swift.install = Add the package in your <code>Package.swift</code> file:
33523334
swift.install2 = and run the following command:
3353-
swift.documentation = For more information on the Swift registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
33543335
vagrant.install = To add a Vagrant box, run the following command:
3355-
vagrant.documentation = For more information on the Vagrant registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
33563336
settings.link = Link this package to a repository
33573337
settings.link.description = If you link a package with a repository, the package is listed in the repository's package list.
33583338
settings.link.select = Select Repository

templates/package/content/alpine.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</div>
1919
</div>
2020
<div class="field">
21-
<label>{{.locale.Tr "packages.alpine.documentation" "https://docs.gitea.io/en-us/packages/alpine/" | Safe}}</label>
21+
<label>{{.locale.Tr "packages.registry.documentation" "Alpine" "https://docs.gitea.io/en-us/usage/packages/alpine/" | Safe}}</label>
2222
</div>
2323
</div>
2424
</div>

templates/package/content/cargo.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ git-fetch-with-cli = true</code></pre></div>
1818
<div class="markup"><pre class="code-block"><code>cargo add {{.PackageDescriptor.Package.Name}}@{{.PackageDescriptor.Version.Version}}</code></pre></div>
1919
</div>
2020
<div class="field">
21-
<label>{{.locale.Tr "packages.cargo.documentation" "https://docs.gitea.io/en-us/usage/packages/cargo/" | Safe}}</label>
21+
<label>{{.locale.Tr "packages.registry.documentation" "Cargo" "https://docs.gitea.io/en-us/usage/packages/cargo/" | Safe}}</label>
2222
</div>
2323
</div>
2424
</div>

templates/package/content/chef.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="markup"><pre class="code-block"><code>knife supermarket install {{.PackageDescriptor.Package.Name}} {{.PackageDescriptor.Version.Version}}</code></pre></div>
1212
</div>
1313
<div class="field">
14-
<label>{{.locale.Tr "packages.chef.documentation" "https://docs.gitea.io/en-us/usage/packages/chef/" | Safe}}</label>
14+
<label>{{.locale.Tr "packages.registry.documentation" "Chef" "https://docs.gitea.io/en-us/usage/packages/chef/" | Safe}}</label>
1515
</div>
1616
</div>
1717
</div>

templates/package/content/composer.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<div class="markup"><pre class="code-block"><code>composer require {{.PackageDescriptor.Package.Name}}:{{.PackageDescriptor.Version.Version}}</code></pre></div>
1818
</div>
1919
<div class="field">
20-
<label>{{.locale.Tr "packages.composer.documentation" "https://docs.gitea.io/en-us/usage/packages/composer/" | Safe}}</label>
20+
<label>{{.locale.Tr "packages.registry.documentation" "Composer" "https://docs.gitea.io/en-us/usage/packages/composer/" | Safe}}</label>
2121
</div>
2222
</div>
2323
</div>

templates/package/content/conan.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="markup"><pre class="code-block"><code>conan install --remote=gitea {{.PackageDescriptor.Package.Name}}/{{.PackageDescriptor.Version.Version}}</code></pre></div>
1212
</div>
1313
<div class="field">
14-
<label>{{.locale.Tr "packages.conan.documentation" "https://docs.gitea.io/en-us/usage/packages/conan/" | Safe}}</label>
14+
<label>{{.locale.Tr "packages.registry.documentation" "Conan" "https://docs.gitea.io/en-us/usage/packages/conan/" | Safe}}</label>
1515
</div>
1616
</div>
1717
</div>

templates/package/content/conda.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ default_channels:
1616
<div class="markup"><pre class="code-block"><code>conda install{{if $channel}} -c {{$channel}}{{end}} {{.PackageDescriptor.PackageProperties.GetByName "conda.name"}}={{.PackageDescriptor.Version.Version}}</code></pre></div>
1717
</div>
1818
<div class="field">
19-
<label>{{.locale.Tr "packages.conda.documentation" "https://docs.gitea.io/en-us/usage/packages/conda/" | Safe}}</label>
19+
<label>{{.locale.Tr "packages.registry.documentation" "Conda" "https://docs.gitea.io/en-us/usage/packages/conda/" | Safe}}</label>
2020
</div>
2121
</div>
2222
</div>

templates/package/content/container.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<div class="markup"><pre class="code-block"><code>{{range .PackageDescriptor.Files}}{{if eq .File.LowerName "manifest.json"}}{{.Properties.GetByName "container.digest"}}{{end}}{{end}}</code></pre></div>
2020
</div>
2121
<div class="field">
22-
<label>{{.locale.Tr "packages.container.documentation" "https://docs.gitea.io/en-us/usage/packages/container/" | Safe}}</label>
22+
<label>{{.locale.Tr "packages.registry.documentation" "Container" "https://docs.gitea.io/en-us/usage/packages/container/" | Safe}}</label>
2323
</div>
2424
</div>
2525
</div>

templates/package/content/cran.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="markup"><pre class="code-block"><code>install.packages("{{.PackageDescriptor.Package.Name}}")</code></pre></div>
1212
</div>
1313
<div class="field">
14-
<label>{{.locale.Tr "packages.cran.documentation" | Safe}}</label>
14+
<label>{{.locale.Tr "packages.registry.documentation" "CRAN" "https://docs.gitea.io/en-us/usage/packages/container/" | Safe}}</label>
1515
</div>
1616
</div>
1717
</div>

templates/package/content/debian.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sudo apt update</code></pre></div>
1616
</div>
1717
</div>
1818
<div class="field">
19-
<label>{{.locale.Tr "packages.debian.documentation" "https://docs.gitea.io/en-us/packages/debian/" | Safe}}</label>
19+
<label>{{.locale.Tr "packages.registry.documentation" "Debian" "https://docs.gitea.io/en-us/usage/packages/debian/" | Safe}}</label>
2020
</div>
2121
</div>
2222
</div>

templates/package/content/generic.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ curl <gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{$.PackageDescripto
1111
</code></pre></div>
1212
</div>
1313
<div class="field">
14-
<label>{{.locale.Tr "packages.generic.documentation" "https://docs.gitea.io/en-us/usage/packages/generic" | Safe}}</label>
14+
<label>{{.locale.Tr "packages.registry.documentation" "Generic" "https://docs.gitea.io/en-us/usage/packages/generic" | Safe}}</label>
1515
</div>
1616
</div>
1717
</div>

templates/package/content/go.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="markup"><pre class="code-block"><code>GOPROXY=<gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{$.PackageDescriptor.Owner.Name}}/go"></gitea-origin-url> go install {{$.PackageDescriptor.Package.Name}}@{{$.PackageDescriptor.Version.Version}}</code></pre></div>
88
</div>
99
<div class="field">
10-
<label>{{.locale.Tr "packages.go.documentation" "https://docs.gitea.io/en-us/usage/packages/go" | Safe}}</label>
10+
<label>{{.locale.Tr "packages.registry.documentation" "Go" "https://docs.gitea.io/en-us/usage/packages/go" | Safe}}</label>
1111
</div>
1212
</div>
1313
</div>

templates/package/content/helm.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ helm repo update</code></pre></div>
1212
<div class="markup"><pre class="code-block"><code>helm install {{.PackageDescriptor.Package.Name}} {{AppDomain}}/{{.PackageDescriptor.Package.Name}}</code></pre></div>
1313
</div>
1414
<div class="field">
15-
<label>{{.locale.Tr "packages.helm.documentation" "https://docs.gitea.io/en-us/usage/packages/helm/" | Safe}}</label>
15+
<label>{{.locale.Tr "packages.registry.documentation" "Helm" "https://docs.gitea.io/en-us/usage/packages/helm/" | Safe}}</label>
1616
</div>
1717
</div>
1818
</div>

templates/package/content/maven.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<div class="markup"><pre class="code-block"><code>mvn dependency:get -DremoteRepositories=<gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/maven"></gitea-origin-url> -Dartifact={{.PackageDescriptor.Metadata.GroupID}}:{{.PackageDescriptor.Metadata.ArtifactID}}:{{.PackageDescriptor.Version.Version}}</code></pre></div>
4141
</div>
4242
<div class="field">
43-
<label>{{.locale.Tr "packages.maven.documentation" "https://docs.gitea.io/en-us/usage/packages/maven/" | Safe}}</label>
43+
<label>{{.locale.Tr "packages.registry.documentation" "Maven" "https://docs.gitea.io/en-us/usage/packages/maven/" | Safe}}</label>
4444
</div>
4545
</div>
4646
</div>

templates/package/content/npm.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div class="markup"><pre class="code-block"><code>&quot;{{.PackageDescriptor.Package.Name}}&quot;: &quot;{{.PackageDescriptor.Version.Version}}&quot;</code></pre></div>
1616
</div>
1717
<div class="field">
18-
<label>{{.locale.Tr "packages.npm.documentation" "https://docs.gitea.io/en-us/usage/packages/npm/" | Safe}}</label>
18+
<label>{{.locale.Tr "packages.registry.documentation" "npm" "https://docs.gitea.io/en-us/usage/packages/npm/" | Safe}}</label>
1919
</div>
2020
</div>
2121
</div>

templates/package/content/nuget.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="markup"><pre class="code-block"><code>dotnet add package --source {{.PackageDescriptor.Owner.Name}} --version {{.PackageDescriptor.Version.Version}} {{.PackageDescriptor.Package.Name}}</code></pre></div>
1212
</div>
1313
<div class="field">
14-
<label>{{.locale.Tr "packages.nuget.documentation" "https://docs.gitea.io/en-us/usage/packages/nuget/" | Safe}}</label>
14+
<label>{{.locale.Tr "packages.registry.documentation" "NuGet" "https://docs.gitea.io/en-us/usage/packages/nuget/" | Safe}}</label>
1515
</div>
1616
</div>
1717
</div>

templates/package/content/pub.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="markup"><pre class="code-block"><code>dart pub add {{.PackageDescriptor.Package.Name}}:{{.PackageDescriptor.Version.Version}} --hosted-url=<gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/pub/"></gitea-origin-url></code></pre></div>
88
</div>
99
<div class="field">
10-
<label>{{.locale.Tr "packages.pub.documentation" "https://docs.gitea.io/en-us/usage/packages/pub/" | Safe}}</label>
10+
<label>{{.locale.Tr "packages.registry.documentation" "Pub" "https://docs.gitea.io/en-us/usage/packages/pub/" | Safe}}</label>
1111
</div>
1212
</div>
1313
</div>

templates/package/content/pypi.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="markup"><pre class="code-block"><code>pip install --index-url <gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/pypi/simple/"></gitea-origin-url> {{.PackageDescriptor.Package.Name}}</code></pre></div>
88
</div>
99
<div class="field">
10-
<label>{{.locale.Tr "packages.pypi.documentation" "https://docs.gitea.io/en-us/usage/packages/pypi/" | Safe}}</label>
10+
<label>{{.locale.Tr "packages.registry.documentation" "PyPI" "https://docs.gitea.io/en-us/usage/packages/pypi/" | Safe}}</label>
1111
</div>
1212
</div>
1313
</div>

templates/package/content/rpm.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414
</div>
1515
<div class="field">
16-
<label>{{.locale.Tr "packages.rpm.documentation" "https://docs.gitea.io/en-us/usage/packages/rpm/" | Safe}}</label>
16+
<label>{{.locale.Tr "packages.registry.documentation" "RPM" "https://docs.gitea.io/en-us/usage/packages/rpm/" | Safe}}</label>
1717
</div>
1818
</div>
1919
</div>

templates/package/content/rubygems.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
end</code></pre></div>
1414
</div>
1515
<div class="field">
16-
<label>{{.locale.Tr "packages.rubygems.documentation" "https://docs.gitea.io/en-us/usage/packages/rubygems/" | Safe}}</label>
16+
<label>{{.locale.Tr "packages.registry.documentation" "RubyGems" "https://docs.gitea.io/en-us/usage/packages/rubygems/" | Safe}}</label>
1717
</div>
1818
</div>
1919
</div>

templates/package/content/swift.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<div class="markup"><pre class="code-block"><code>swift package resolve</code></pre></div>
1818
</div>
1919
<div class="field">
20-
<label>{{.locale.Tr "packages.swift.documentation" "https://docs.gitea.io/en-us/usage/packages/swift/" | Safe}}</label>
20+
<label>{{.locale.Tr "packages.registry.documentation" "Swift" "https://docs.gitea.io/en-us/usage/packages/swift/" | Safe}}</label>
2121
</div>
2222
</div>
2323
</div>

templates/package/content/vagrant.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="markup"><pre class="code-block"><code>vagrant box add --box-version {{.PackageDescriptor.Version.Version}} "<gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/vagrant/{{.PackageDescriptor.Package.Name}}"></gitea-origin-url>"</code></pre></div>
88
</div>
99
<div class="field">
10-
<label>{{.locale.Tr "packages.vagrant.documentation" "https://docs.gitea.io/en-us/usage/packages/vagrant/" | Safe}}</label>
10+
<label>{{.locale.Tr "packages.registry.documentation" "Vagrant" "https://docs.gitea.io/en-us/usage/packages/vagrant/" | Safe}}</label>
1111
</div>
1212
</div>
1313
</div>

templates/package/shared/cargo.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<button class="ui green button">{{$.locale.Tr "packages.owner.settings.cargo.rebuild"}}</button>
1919
</form>
2020
<div class="field">
21-
<label>{{.locale.Tr "packages.cargo.documentation" "https://docs.gitea.io/en-us/usage/packages/cargo/" | Safe}}</label>
21+
<label>{{.locale.Tr "packages.registry.documentation" "Cargo" "https://docs.gitea.io/en-us/usage/packages/cargo/" | Safe}}</label>
2222
</div>
2323
</div>
2424
</div>

templates/user/settings/packages.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<button class="ui green button">{{$.locale.Tr "packages.owner.settings.chef.keypair"}}</button>
1717
</form>
1818
<div class="field">
19-
<label>{{.locale.Tr "packages.chef.documentation" "https://docs.gitea.io/en-us/usage/packages/chef/" | Safe}}</label>
19+
<label>{{.locale.Tr "packages.registry.documentation" "Chef" "https://docs.gitea.io/en-us/usage/packages/chef/" | Safe}}</label>
2020
</div>
2121
</div>
2222
</div>

0 commit comments

Comments
 (0)