Commit 833a3558 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'selhorn-cleanup-uistrings-okr' into 'master'

Cleanup policy UI text: Changed more information to specific text

See merge request gitlab-org/gitlab!50555
parents 26d4ca4f 247404d9
...@@ -23,7 +23,7 @@ export const KEEP_INFO_TEXT = s__( ...@@ -23,7 +23,7 @@ export const KEEP_INFO_TEXT = s__(
export const KEEP_N_LABEL = s__('ContainerRegistry|Keep the most recent:'); export const KEEP_N_LABEL = s__('ContainerRegistry|Keep the most recent:');
export const NAME_REGEX_KEEP_LABEL = s__('ContainerRegistry|Keep tags matching:'); export const NAME_REGEX_KEEP_LABEL = s__('ContainerRegistry|Keep tags matching:');
export const NAME_REGEX_KEEP_DESCRIPTION = s__( export const NAME_REGEX_KEEP_DESCRIPTION = s__(
'ContainerRegistry|Tags with names that match this regex pattern are kept. %{linkStart}More information%{linkEnd}', 'ContainerRegistry|Tags with names that match this regex pattern are kept. %{linkStart}View regex examples.%{linkEnd}',
); );
export const REMOVE_HEADER_TEXT = s__('ContainerRegistry|Remove these tags'); export const REMOVE_HEADER_TEXT = s__('ContainerRegistry|Remove these tags');
...@@ -34,7 +34,7 @@ export const EXPIRATION_SCHEDULE_LABEL = s__('ContainerRegistry|Remove tags olde ...@@ -34,7 +34,7 @@ export const EXPIRATION_SCHEDULE_LABEL = s__('ContainerRegistry|Remove tags olde
export const NAME_REGEX_LABEL = s__('ContainerRegistry|Remove tags matching:'); export const NAME_REGEX_LABEL = s__('ContainerRegistry|Remove tags matching:');
export const NAME_REGEX_PLACEHOLDER = '.*'; export const NAME_REGEX_PLACEHOLDER = '.*';
export const NAME_REGEX_DESCRIPTION = s__( export const NAME_REGEX_DESCRIPTION = s__(
'ContainerRegistry|Tags with names that match this regex pattern are removed. %{linkStart}More information%{linkEnd}', 'ContainerRegistry|Tags with names that match this regex pattern are removed. %{linkStart}View regex examples.%{linkEnd}',
); );
export const ENABLED_TOGGLE_DESCRIPTION = s__( export const ENABLED_TOGGLE_DESCRIPTION = s__(
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
= expanded ? _('Collapse') : _('Expand') = expanded ? _('Collapse') : _('Expand')
%p %p
= _("Save space and find images in the Container Registry. Remove unneeded tags and keep only the ones you want.") = _("Save space and find images in the Container Registry. Remove unneeded tags and keep only the ones you want.")
= link_to _('More information'), help_page_path('user/packages/container_registry/index', anchor: 'cleanup-policy', target: '_blank', rel: 'noopener noreferrer') = link_to _('How does cleanup work?'), help_page_path('user/packages/container_registry/index', anchor: 'cleanup-policy', target: '_blank', rel: 'noopener noreferrer')
.settings-content .settings-content
= render 'projects/registry/settings/index' = render 'projects/registry/settings/index'
......
---
title: Updated link text to match style guidelines
merge_request: 50555
author:
type: other
...@@ -7677,10 +7677,10 @@ msgstr "" ...@@ -7677,10 +7677,10 @@ msgstr ""
msgid "ContainerRegistry|Tags that match these rules are %{strongStart}removed%{strongEnd}, unless a rule above says to keep them." msgid "ContainerRegistry|Tags that match these rules are %{strongStart}removed%{strongEnd}, unless a rule above says to keep them."
msgstr "" msgstr ""
msgid "ContainerRegistry|Tags with names that match this regex pattern are kept. %{linkStart}More information%{linkEnd}" msgid "ContainerRegistry|Tags with names that match this regex pattern are kept. %{linkStart}View regex examples.%{linkEnd}"
msgstr "" msgstr ""
msgid "ContainerRegistry|Tags with names that match this regex pattern are removed. %{linkStart}More information%{linkEnd}" msgid "ContainerRegistry|Tags with names that match this regex pattern are removed. %{linkStart}View regex examples.%{linkEnd}"
msgstr "" msgstr ""
msgid "ContainerRegistry|The cleanup policy timed out before it could delete all tags. An administrator can %{adminLinkStart}manually run cleanup now%{adminLinkEnd} or you can wait for the cleanup policy to automatically run again. %{docLinkStart}More information%{docLinkEnd}" msgid "ContainerRegistry|The cleanup policy timed out before it could delete all tags. An administrator can %{adminLinkStart}manually run cleanup now%{adminLinkEnd} or you can wait for the cleanup policy to automatically run again. %{docLinkStart}More information%{docLinkEnd}"
...@@ -14346,6 +14346,9 @@ msgstr "" ...@@ -14346,6 +14346,9 @@ msgstr ""
msgid "Housekeeping, export, path, transfer, remove, archive." msgid "Housekeeping, export, path, transfer, remove, archive."
msgstr "" msgstr ""
msgid "How does cleanup work?"
msgstr ""
msgid "How it works" msgid "How it works"
msgstr "" msgstr ""
......
...@@ -32,7 +32,7 @@ exports[`Settings Form Keep N matches snapshot 1`] = ` ...@@ -32,7 +32,7 @@ exports[`Settings Form Keep N matches snapshot 1`] = `
exports[`Settings Form Keep Regex matches snapshot 1`] = ` exports[`Settings Form Keep Regex matches snapshot 1`] = `
<expiration-input-stub <expiration-input-stub
data-testid="keep-regex-input" data-testid="keep-regex-input"
description="Tags with names that match this regex pattern are kept. %{linkStart}More information%{linkEnd}" description="Tags with names that match this regex pattern are kept. %{linkStart}View regex examples.%{linkEnd}"
error="" error=""
label="Keep tags matching:" label="Keep tags matching:"
name="keep-regex" name="keep-regex"
...@@ -54,7 +54,7 @@ exports[`Settings Form OlderThan matches snapshot 1`] = ` ...@@ -54,7 +54,7 @@ exports[`Settings Form OlderThan matches snapshot 1`] = `
exports[`Settings Form Remove regex matches snapshot 1`] = ` exports[`Settings Form Remove regex matches snapshot 1`] = `
<expiration-input-stub <expiration-input-stub
data-testid="remove-regex-input" data-testid="remove-regex-input"
description="Tags with names that match this regex pattern are removed. %{linkStart}More information%{linkEnd}" description="Tags with names that match this regex pattern are removed. %{linkStart}View regex examples.%{linkEnd}"
error="" error=""
label="Remove tags matching:" label="Remove tags matching:"
name="remove-regex" name="remove-regex"
......
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