Commit 647af590 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'sy-adjust-user-deletion-obstacles-capitalization' into 'master'

Make capitalization of incident management objects uniform in modal

See merge request gitlab-org/gitlab!74453
parents 34c2165f 294974a9
...@@ -5,10 +5,10 @@ import { OBSTACLE_TYPES } from './constants'; ...@@ -5,10 +5,10 @@ import { OBSTACLE_TYPES } from './constants';
const OBSTACLE_TEXT = { const OBSTACLE_TEXT = {
[OBSTACLE_TYPES.oncallSchedules]: s__( [OBSTACLE_TYPES.oncallSchedules]: s__(
'OnCallSchedules|On-call schedule %{obstacle} in Project %{project}', 'OnCallSchedules|On-call schedule %{obstacle} in project %{project}',
), ),
[OBSTACLE_TYPES.escalationPolicies]: s__( [OBSTACLE_TYPES.escalationPolicies]: s__(
'EscalationPolicies|Escalation policy %{obstacle} in Project %{project}', 'EscalationPolicies|Escalation policy %{obstacle} in project %{project}',
), ),
}; };
......
...@@ -13811,7 +13811,7 @@ msgstr "" ...@@ -13811,7 +13811,7 @@ msgstr ""
msgid "EscalationPolicies|Escalation policies" msgid "EscalationPolicies|Escalation policies"
msgstr "" msgstr ""
msgid "EscalationPolicies|Escalation policy %{obstacle} in Project %{project}" msgid "EscalationPolicies|Escalation policy %{obstacle} in project %{project}"
msgstr "" msgstr ""
msgid "EscalationPolicies|Escalation rules" msgid "EscalationPolicies|Escalation rules"
...@@ -23996,7 +23996,7 @@ msgstr "" ...@@ -23996,7 +23996,7 @@ msgstr ""
msgid "OnCallSchedules|For this rotation, on-call will be:" msgid "OnCallSchedules|For this rotation, on-call will be:"
msgstr "" msgstr ""
msgid "OnCallSchedules|On-call schedule %{obstacle} in Project %{project}" msgid "OnCallSchedules|On-call schedule %{obstacle} in project %{project}"
msgstr "" msgstr ""
msgid "OnCallSchedules|On-call schedules" msgid "OnCallSchedules|On-call schedules"
......
...@@ -82,7 +82,7 @@ describe('User deletion obstacles list', () => { ...@@ -82,7 +82,7 @@ describe('User deletion obstacles list', () => {
createComponent({ obstacles: [{ type, name, url, projectName, projectUrl }] }); createComponent({ obstacles: [{ type, name, url, projectName, projectUrl }] });
const msg = findObstacles().text(); const msg = findObstacles().text();
expect(msg).toContain(`in Project ${projectName}`); expect(msg).toContain(`in project ${projectName}`);
expect(findLinks().at(1).attributes('href')).toBe(projectUrl); expect(findLinks().at(1).attributes('href')).toBe(projectUrl);
}); });
}, },
......
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