You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 .......
empty.documentation = For more information on the package registry, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
3234
3234
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>.
3235
3236
filter.type = Type
3236
3237
filter.type.all = All
3237
3238
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
3259
3260
alpine.registry.key = Download the registry public RSA key into the <code>/etc/apk/keys/</code> folder to verify the index signature:
3260
3261
alpine.registry.info = Choose $branch and $repository from the list below.
3261
3262
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>.
3263
3263
alpine.repository = Repository Info
3264
3264
alpine.repository.branches = Branches
3265
3265
alpine.repository.repositories = Repositories
3266
3266
alpine.repository.architectures = Architectures
3267
3267
cargo.registry = Setup this registry in the Cargo configuration file (for example <code>~/.cargo/config.toml</code>):
3268
3268
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>.
3270
3269
cargo.details.repository_site = Repository Site
3271
3270
cargo.details.documentation_site = Documentation Site
3272
3271
chef.registry = Setup this registry in your <code>~/.chef/config.rb</code> file:
3273
3272
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>.
3275
3273
composer.registry = Setup this registry in your <code>~/.composer/config.json</code> file:
3276
3274
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>.
3278
3275
composer.dependencies = Dependencies
3279
3276
composer.dependencies.development = Development Dependencies
3280
3277
conan.details.repository = Repository
3281
3278
conan.registry = Setup this registry from the command line:
3282
3279
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>.
3284
3280
conda.registry = Setup this registry as a Conda repository in your <code>.condarc</code> file:
3285
3281
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>.
3287
3282
conda.details.repository_site = Repository Site
3288
3283
conda.details.documentation_site = Documentation Site
3289
3284
container.details.type = Image Type
3290
3285
container.details.platform = Platform
3291
3286
container.pull = Pull the image from the command line:
3292
3287
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>.
3294
3288
container.multi_arch = OS / Arch
3295
3289
container.layers = Image Layers
3296
3290
container.labels = Labels
3297
3291
container.labels.key = Key
3298
3292
container.labels.value = Value
3299
3293
cran.registry = Setup this registry in your <code>Rprofile.site</code> file:
3300
3294
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>.
3302
3295
debian.registry = Setup this registry from the command line:
3303
3296
debian.registry.info = Choose $distribution and $component from the list below.
3304
3297
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>.
3306
3298
debian.repository = Repository Info
3307
3299
debian.repository.distributions = Distributions
3308
3300
debian.repository.components = Components
3309
3301
debian.repository.architectures = Architectures
3310
3302
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>.
3312
3303
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>.
3314
3304
helm.registry = Setup this registry from the command line:
3315
3305
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>.
3317
3306
maven.registry = Setup this registry in your project <code>pom.xml</code> file:
3318
3307
maven.install = To use the package include the following in the <code>dependencies</code> block in the <code>pom.xml</code> file:
3319
3308
maven.install2 = Run via command line:
3320
3309
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>.
3322
3310
nuget.registry = Setup this registry from the command line:
3323
3311
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>.
3325
3312
nuget.dependency.framework = Target Framework
3326
3313
npm.registry = Setup this registry in your project <code>.npmrc</code> file:
3327
3314
npm.install = To install the package using npm, run the following command:
3328
3315
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>.
3330
3316
npm.dependencies = Dependencies
3331
3317
npm.dependencies.development = Development Dependencies
3332
3318
npm.dependencies.peer = Peer Dependencies
3333
3319
npm.dependencies.optional = Optional Dependencies
3334
3320
npm.details.tag = Tag
3335
3321
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>.
3337
3322
pypi.requires = Requires Python
3338
3323
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>.
3340
3324
rpm.registry = Setup this registry from the command line:
3341
3325
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>.
3343
3326
rubygems.install = To install the package using gem, run the following command:
rubygems.dependencies.development = Development Dependencies
3347
3330
rubygems.required.ruby = Requires Ruby version
3348
3331
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>.
3350
3332
swift.registry = Setup this registry from the command line:
3351
3333
swift.install = Add the package in your <code>Package.swift</code> file:
3352
3334
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>.
3354
3335
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>.
3356
3336
settings.link = Link this package to a repository
3357
3337
settings.link.description = If you link a package with a repository, the package is listed in the repository's package list.
0 commit comments