Commit 045a85bf authored by Jacques Erasmus's avatar Jacques Erasmus

Merge branch 'registry-delete-button-copy' into 'master'

Clarify image repository delete actions

See merge request gitlab-org/gitlab!60154
parents 18e5a368 3d7410e8
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
:disabled="deleteButtonDisabled" :disabled="deleteButtonDisabled"
@click="$emit('delete')" @click="$emit('delete')"
> >
{{ __('Delete') }} {{ __('Delete image repository') }}
</gl-button> </gl-button>
</template> </template>
</title-area> </title-area>
......
...@@ -31,7 +31,7 @@ export const CONFIGURATION_DETAILS_ROW_TEST = s__( ...@@ -31,7 +31,7 @@ export const CONFIGURATION_DETAILS_ROW_TEST = s__(
); );
export const REMOVE_TAG_BUTTON_TITLE = s__('ContainerRegistry|Remove tag'); export const REMOVE_TAG_BUTTON_TITLE = s__('ContainerRegistry|Remove tag');
export const REMOVE_TAGS_BUTTON_TITLE = s__('ContainerRegistry|Delete selected'); export const REMOVE_TAGS_BUTTON_TITLE = s__('ContainerRegistry|Delete selected tags');
export const REMOVE_TAG_CONFIRMATION_TEXT = s__( export const REMOVE_TAG_CONFIRMATION_TEXT = s__(
`ContainerRegistry|You are about to remove %{item}. Are you sure?`, `ContainerRegistry|You are about to remove %{item}. Are you sure?`,
......
---
title: Clarify image repository delete actions
merge_request: 60154
author:
type: changed
...@@ -8582,7 +8582,7 @@ msgstr "" ...@@ -8582,7 +8582,7 @@ msgstr ""
msgid "ContainerRegistry|Delete image repository?" msgid "ContainerRegistry|Delete image repository?"
msgstr "" msgstr ""
msgid "ContainerRegistry|Delete selected" msgid "ContainerRegistry|Delete selected tags"
msgstr "" msgstr ""
msgid "ContainerRegistry|Deleting the image repository will delete all images and tags inside. This action cannot be undone." msgid "ContainerRegistry|Deleting the image repository will delete all images and tags inside. This action cannot be undone."
...@@ -10552,6 +10552,9 @@ msgstr "" ...@@ -10552,6 +10552,9 @@ msgstr ""
msgid "Delete domain" msgid "Delete domain"
msgstr "" msgstr ""
msgid "Delete image repository"
msgstr ""
msgid "Delete label" msgid "Delete label"
msgstr "" msgstr ""
......
...@@ -120,7 +120,7 @@ describe('Details Header', () => { ...@@ -120,7 +120,7 @@ describe('Details Header', () => {
it('has the correct text', () => { it('has the correct text', () => {
mountComponent(); mountComponent();
expect(findDeleteButton().text()).toBe('Delete'); expect(findDeleteButton().text()).toBe('Delete image repository');
}); });
it('has the correct props', () => { it('has the correct props', () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment