Commit 84e6a514 authored by Samantha Ming's avatar Samantha Ming Committed by Martin Wortschack

Adjust placeholder to solve misleading regex

parent e0df60c2
---
title: Adjust placeholder to solve misleading regex
merge_request: 18235
author:
type: fixed
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
.form-group .form-group
= f.label :author_email_regex, "Commit author's email", class: "label-bold" = f.label :author_email_regex, "Commit author's email", class: "label-bold"
= f.text_field :author_email_regex, class: "form-control", placeholder: 'Example: @my-company.com$', data: { qa_selector: 'author_email_field' } = f.text_field :author_email_regex, class: "form-control", placeholder: _('Example: @sub\.company\.com$'), data: { qa_selector: 'author_email_field' }
.form-text.text-muted .form-text.text-muted
All commit author's email must match this All commit author's email must match this
= link_to 'regular expression', 'https://github.com/google/re2/wiki/Syntax' = link_to 'regular expression', 'https://github.com/google/re2/wiki/Syntax'
......
...@@ -6519,6 +6519,9 @@ msgstr "" ...@@ -6519,6 +6519,9 @@ msgstr ""
msgid "Everything you need to create a GitLab Pages site using plain HTML." msgid "Everything you need to create a GitLab Pages site using plain HTML."
msgstr "" msgstr ""
msgid "Example: @sub\\.company\\.com$"
msgstr ""
msgid "Example: Usage = single query. (Requested) / (Capacity) = multiple queries combined into a formula." msgid "Example: Usage = single query. (Requested) / (Capacity) = multiple queries combined into a formula."
msgstr "" msgstr ""
......
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