Commit 294974a9 authored by syasonik's avatar syasonik

Make capitalization of incident management objects uniform in modal

Changelog: changed
MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/74453
parent 7ea0bc4e
......@@ -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}',
),
};
......
......@@ -13745,7 +13745,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"
......@@ -23930,7 +23930,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