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 {
:disabled="deleteButtonDisabled"
@click="$emit('delete')"
>
{{ __('Delete') }}
{{ __('Delete image repository') }}
</gl-button>
</template>
</title-area>
......
......@@ -31,7 +31,7 @@ export const CONFIGURATION_DETAILS_ROW_TEST = s__(
);
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__(
`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 ""
msgid "ContainerRegistry|Delete image repository?"
msgstr ""
msgid "ContainerRegistry|Delete selected"
msgid "ContainerRegistry|Delete selected tags"
msgstr ""
msgid "ContainerRegistry|Deleting the image repository will delete all images and tags inside. This action cannot be undone."
......@@ -10552,6 +10552,9 @@ msgstr ""
msgid "Delete domain"
msgstr ""
msgid "Delete image repository"
msgstr ""
msgid "Delete label"
msgstr ""
......
......@@ -120,7 +120,7 @@ describe('Details Header', () => {
it('has the correct text', () => {
mountComponent();
expect(findDeleteButton().text()).toBe('Delete');
expect(findDeleteButton().text()).toBe('Delete image repository');
});
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