From 4948380069be7d007f339ffe1a6a2ee72cfdd81c Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Thu, 12 Dec 2024 17:35:52 +0000 Subject: [PATCH] fix(ui): use correct title for container images (#6254) Fixed the wrong box title here: https://codeberg.org/attachments/5e3a8443-f1f3-4fdd-922e-0426ba370bc7 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6254 Reviewed-by: Earl Warren --- options/locale/locale_en-US.ini | 3 ++- templates/package/content/container.tmpl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 4de4a5b81d..3a1639db7e 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -3662,10 +3662,11 @@ conan.registry = Setup this registry from the command line: conan.install = To install the package using Conan, run the following command: conda.registry = Setup this registry as a Conda repository in your .condarc file: conda.install = To install the package using Conda, run the following command: +container.images.title = Images container.details.type = Image Type container.details.platform = Platform container.pull = Pull the image from the command line: -container.digest = Digest: +container.digest = Digest container.multi_arch = OS / Arch container.layers = Image Layers container.labels = Labels diff --git a/templates/package/content/container.tmpl b/templates/package/content/container.tmpl index 95ac6f8b8e..78fdac3bad 100644 --- a/templates/package/content/container.tmpl +++ b/templates/package/content/container.tmpl @@ -24,7 +24,7 @@ {{if .PackageDescriptor.Metadata.Manifests}} -

{{ctx.Locale.Tr "packages.container.multi_arch"}}

+

{{ctx.Locale.Tr "packages.container.images.title"}}