From 7b871b34980ed6b21e080b4937860aaf898b7fa4 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Sat, 5 Oct 2019 00:05:59 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- .../registry/components/table_registry.vue | 20 +++++++++----------- .../reports/components/report_section.vue | 2 +- 2 files changed, 10 insertions(+), 12 deletions(-) (limited to 'app') 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 { - +

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 {