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';
const OBSTACLE_TEXT = {
[OBSTACLE_TYPES.oncallSchedules]: s__(
'OnCallSchedules|On-call schedule %{obstacle} in Project %{project}',
'OnCallSchedules|On-call schedule %{obstacle} in project %{project}',
),
[OBSTACLE_TYPES.escalationPolicies]: s__(
'EscalationPolicies|Escalation policy %{obstacle} in Project %{project}',
'EscalationPolicies|Escalation policy %{obstacle} in project %{project}',
),
};
......
......@@ -13811,7 +13811,7 @@ msgstr ""
msgid "EscalationPolicies|Escalation policies"
msgstr ""
msgid "EscalationPolicies|Escalation policy %{obstacle} in Project %{project}"
msgid "EscalationPolicies|Escalation policy %{obstacle} in project %{project}"
msgstr ""
msgid "EscalationPolicies|Escalation rules"
......@@ -23996,7 +23996,7 @@ msgstr ""
msgid "OnCallSchedules|For this rotation, on-call will be:"
msgstr ""
msgid "OnCallSchedules|On-call schedule %{obstacle} in Project %{project}"
msgid "OnCallSchedules|On-call schedule %{obstacle} in project %{project}"
msgstr ""
msgid "OnCallSchedules|On-call schedules"
......
......@@ -82,7 +82,7 @@ describe('User deletion obstacles list', () => {
createComponent({ obstacles: [{ type, name, url, projectName, projectUrl }] });
const msg = findObstacles().text();
expect(msg).toContain(`in Project ${projectName}`);
expect(msg).toContain(`in project ${projectName}`);
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