diff --git a/app/assets/javascripts/registry/components/table_registry.vue b/app/assets/javascripts/registry/components/table_registry.vue
index ec0bad58b79..9a2291613e4 100644
--- a/app/assets/javascripts/registry/components/table_registry.vue
+++ b/app/assets/javascripts/registry/components/table_registry.vue
@@ -53,8 +53,8 @@ export default {
},
modalTitle() {
return n__(
- 'ContainerRegistry|Remove image',
- 'ContainerRegistry|Remove images',
+ 'ContainerRegistry|Remove tag',
+ 'ContainerRegistry|Remove tags',
this.itemsToBeDeleted.length === 0 ? 1 : this.itemsToBeDeleted.length,
);
},
@@ -67,16 +67,14 @@ export default {
setModalDescription(itemIndex = -1) {
if (itemIndex === -1) {
this.modalDescription = sprintf(
- s__(`ContainerRegistry|You are about to delete %{count} images. This will
- delete the images and all tags pointing to them.`),
+ s__(`ContainerRegistry|You are about to remove %{count} tags. Are you sure?`),
{ count: this.itemsToBeDeleted.length },
);
} else {
const { tag } = this.repo.list[itemIndex];
this.modalDescription = sprintf(
- s__(`ContainerRegistry|You are about to delete the image %{title}. This will
- delete the image and all tags pointing to this image.`),
+ s__(`ContainerRegistry|You are about to remove %{title}. Are you sure?`),
{ title: `${this.repo.name}:${tag}` },
);
}
@@ -195,8 +193,8 @@ export default {
:disabled="!itemsToBeDeleted || itemsToBeDeleted.length === 0"
class="js-delete-registry float-right"
variant="danger"
- :title="s__('ContainerRegistry|Remove selected images')"
- :aria-label="s__('ContainerRegistry|Remove selected images')"
+ :title="s__('ContainerRegistry|Remove selected tags')"
+ :aria-label="s__('ContainerRegistry|Remove selected tags')"
@click="deleteMultipleItems()"
>
@@ -246,8 +244,8 @@ export default {
{{ modalTitle }}
- {{ s__('ContainerRegistry|Remove image(s) and tags') }}
+ {{ s__('ContainerRegistry|Remove tag(s)') }}
diff --git a/app/assets/javascripts/reports/components/report_section.vue b/app/assets/javascripts/reports/components/report_section.vue
index 24612c8681a..45c890769a0 100644
--- a/app/assets/javascripts/reports/components/report_section.vue
+++ b/app/assets/javascripts/reports/components/report_section.vue
@@ -179,7 +179,7 @@ export default {