Skip to content

Commit 26108dd

Browse files
author
Filipa Lacerda
committed
Merge branch 'masked-variables-docs-update' into 'master'
Clarify masked variable message, add docs link See merge request gitlab-org/gitlab-ce!27156
2 parents 86900f0 + 1798dcc commit 26108dd

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

app/views/ci/variables/_variable_row.html.haml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
name: value_input_name,
3434
placeholder: s_('CiVariables|Input variable value') }
3535
= value
36-
%p.masking-validation-error.gl-field-error.hide= s_("CiVariables|This variable will not be masked")
36+
%p.masking-validation-error.gl-field-error.hide
37+
= s_("CiVariables|Cannot use Masked Variable with current value")
38+
= link_to icon('question-circle'), help_page_path('ci/variables/README', anchor: 'masked-variables'), target: '_blank', rel: 'noopener noreferrer'
3739
- unless only_key_value
3840
.ci-variable-body-item.ci-variable-protected-item
3941
.append-right-default

locale/gitlab.pot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1833,6 +1833,9 @@ msgstr ""
18331833
msgid "CiStatus|running"
18341834
msgstr ""
18351835

1836+
msgid "CiVariables|Cannot use Masked Variable with current value"
1837+
msgstr ""
1838+
18361839
msgid "CiVariables|Input variable key"
18371840
msgstr ""
18381841

@@ -1842,9 +1845,6 @@ msgstr ""
18421845
msgid "CiVariables|Remove variable row"
18431846
msgstr ""
18441847

1845-
msgid "CiVariables|This variable will not be masked"
1846-
msgstr ""
1847-
18481848
msgid "CiVariable|* (All environments)"
18491849
msgstr ""
18501850

0 commit comments

Comments
 (0)