Commit e6e5fa6a authored by Phil Hughes's avatar Phil Hughes

Merge branch '233449-aqualls-caps-again' into 'master'

Fix capitalization of merge requests

See merge request gitlab-org/gitlab!58816
parents 48fbd524 9ec22d56
...@@ -3,7 +3,7 @@ import { s__ } from '~/locale'; ...@@ -3,7 +3,7 @@ import { s__ } from '~/locale';
const statisticsLabels = { const statisticsLabels = {
forks: s__('AdminStatistics|Forks'), forks: s__('AdminStatistics|Forks'),
issues: s__('AdminStatistics|Issues'), issues: s__('AdminStatistics|Issues'),
mergeRequests: s__('AdminStatistics|Merge Requests'), mergeRequests: s__('AdminStatistics|Merge requests'),
notes: s__('AdminStatistics|Notes'), notes: s__('AdminStatistics|Notes'),
snippets: s__('AdminStatistics|Snippets'), snippets: s__('AdminStatistics|Snippets'),
sshKeys: s__('AdminStatistics|SSH Keys'), sshKeys: s__('AdminStatistics|SSH Keys'),
......
...@@ -83,7 +83,7 @@ export default [ ...@@ -83,7 +83,7 @@ export default [
'UsageTrends|Could not load the issues and merge requests chart. Please refresh the page to try again.', 'UsageTrends|Could not load the issues and merge requests chart. Please refresh the page to try again.',
), ),
noDataMessage, noDataMessage,
chartTitle: s__('UsageTrends|Issues & Merge Requests'), chartTitle: s__('UsageTrends|Issues & merge requests'),
yAxisTitle: s__('UsageTrends|Items'), yAxisTitle: s__('UsageTrends|Items'),
xAxisTitle: s__('UsageTrends|Month'), xAxisTitle: s__('UsageTrends|Month'),
queries: [ queries: [
......
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
projects: s__('UsageTrends|Projects'), projects: s__('UsageTrends|Projects'),
groups: s__('UsageTrends|Groups'), groups: s__('UsageTrends|Groups'),
issues: s__('UsageTrends|Issues'), issues: s__('UsageTrends|Issues'),
mergeRequests: s__('UsageTrends|Merge Requests'), mergeRequests: s__('UsageTrends|Merge requests'),
pipelines: s__('UsageTrends|Pipelines'), pipelines: s__('UsageTrends|Pipelines'),
}, },
loadCountsError: s__('Could not load usage counts. Please refresh the page to try again.'), loadCountsError: s__('Could not load usage counts. Please refresh the page to try again.'),
......
...@@ -283,7 +283,7 @@ const Api = { ...@@ -283,7 +283,7 @@ const Api = {
}, },
/** /**
* Get all Merge Requests for a project, eventually filtering based on * Get all merge requests for a project, eventually filtering based on
* supplied parameters * supplied parameters
* @param projectPath * @param projectPath
* @param params * @param params
...@@ -307,7 +307,7 @@ const Api = { ...@@ -307,7 +307,7 @@ const Api = {
return axios.post(url, options); return axios.post(url, options);
}, },
// Return Merge Request for project // Return merge request for project
projectMergeRequest(projectPath, mergeRequestId, params = {}) { projectMergeRequest(projectPath, mergeRequestId, params = {}) {
const url = Api.buildUrl(Api.projectMergeRequestPath) const url = Api.buildUrl(Api.projectMergeRequestPath)
.replace(':id', encodeURIComponent(projectPath)) .replace(':id', encodeURIComponent(projectPath))
......
...@@ -559,19 +559,19 @@ export const PROJECT_FILES_SHORTCUTS_GROUP = { ...@@ -559,19 +559,19 @@ export const PROJECT_FILES_SHORTCUTS_GROUP = {
export const ISSUABLE_SHORTCUTS_GROUP = { export const ISSUABLE_SHORTCUTS_GROUP = {
id: 'issuables', id: 'issuables',
name: __('Epics, Issues, and Merge Requests'), name: __('Epics, issues, and merge requests'),
keybindings: [ISSUABLE_COMMENT_OR_REPLY, ISSUABLE_EDIT_DESCRIPTION, ISSUABLE_CHANGE_LABEL], keybindings: [ISSUABLE_COMMENT_OR_REPLY, ISSUABLE_EDIT_DESCRIPTION, ISSUABLE_CHANGE_LABEL],
}; };
export const ISSUE_MR_SHORTCUTS_GROUP = { export const ISSUE_MR_SHORTCUTS_GROUP = {
id: 'issuesMRs', id: 'issuesMRs',
name: __('Issues and Merge Requests'), name: __('Issues and merge requests'),
keybindings: [ISSUE_MR_CHANGE_ASSIGNEE, ISSUE_MR_CHANGE_MILESTONE], keybindings: [ISSUE_MR_CHANGE_ASSIGNEE, ISSUE_MR_CHANGE_MILESTONE],
}; };
export const MR_SHORTCUTS_GROUP = { export const MR_SHORTCUTS_GROUP = {
id: 'mergeRequests', id: 'mergeRequests',
name: __('Merge Requests'), name: __('Merge requests'),
keybindings: [ keybindings: [
MR_NEXT_FILE_IN_DIFF, MR_NEXT_FILE_IN_DIFF,
MR_PREVIOUS_FILE_IN_DIFF, MR_PREVIOUS_FILE_IN_DIFF,
...@@ -584,7 +584,7 @@ export const MR_SHORTCUTS_GROUP = { ...@@ -584,7 +584,7 @@ export const MR_SHORTCUTS_GROUP = {
export const MR_COMMITS_SHORTCUTS_GROUP = { export const MR_COMMITS_SHORTCUTS_GROUP = {
id: 'mergeRequestCommits', id: 'mergeRequestCommits',
name: __('Merge Request Commits'), name: __('Merge request commits'),
keybindings: [MR_COMMITS_NEXT_COMMIT, MR_COMMITS_PREVIOUS_COMMIT], keybindings: [MR_COMMITS_NEXT_COMMIT, MR_COMMITS_PREVIOUS_COMMIT],
}; };
......
...@@ -397,7 +397,7 @@ export default { ...@@ -397,7 +397,7 @@ export default {
<tbody> <tbody>
<tr> <tr>
<th></th> <th></th>
<th>{{ __('Epics, Issues, and Merge Requests') }}</th> <th>{{ __('Epics, issues, and merge requests') }}</th>
</tr> </tr>
<tr> <tr>
<td class="shortcut"> <td class="shortcut">
...@@ -421,7 +421,7 @@ export default { ...@@ -421,7 +421,7 @@ export default {
<tbody> <tbody>
<tr> <tr>
<th></th> <th></th>
<th>{{ __('Issues and Merge Requests') }}</th> <th>{{ __('Issues and merge requests') }}</th>
</tr> </tr>
<tr> <tr>
<td class="shortcut"> <td class="shortcut">
...@@ -439,7 +439,7 @@ export default { ...@@ -439,7 +439,7 @@ export default {
<tbody> <tbody>
<tr> <tr>
<th></th> <th></th>
<th>{{ __('Merge Requests') }}</th> <th>{{ __('Merge requests') }}</th>
</tr> </tr>
<tr> <tr>
<td class="shortcut"> <td class="shortcut">
...@@ -485,7 +485,7 @@ export default { ...@@ -485,7 +485,7 @@ export default {
<tbody> <tbody>
<tr> <tr>
<th></th> <th></th>
<th>{{ __('Merge Request Commits') }}</th> <th>{{ __('Merge request commits') }}</th>
</tr> </tr>
<tr> <tr>
<td class="shortcut"> <td class="shortcut">
......
...@@ -5,8 +5,8 @@ import CommitPipelinesTable from './pipelines_table.vue'; ...@@ -5,8 +5,8 @@ import CommitPipelinesTable from './pipelines_table.vue';
* Used in: * Used in:
* - Project Pipelines List (projects:pipelines:index) * - Project Pipelines List (projects:pipelines:index)
* - Commit details View > Pipelines Tab > Pipelines Table (projects:commit:pipelines) * - Commit details View > Pipelines Tab > Pipelines Table (projects:commit:pipelines)
* - Merge Request details View > Pipelines Tab > Pipelines Table (projects:merge_requests:show) * - Merge request details View > Pipelines Tab > Pipelines Table (projects:merge_requests:show)
* - New Merge Request View > Pipelines Tab > Pipelines Table (projects:merge_requests:creations:new) * - New merge request View > Pipelines Tab > Pipelines Table (projects:merge_requests:creations:new)
*/ */
export default () => { export default () => {
const pipelineTableViewEl = document.querySelector('#commit-pipeline-table-view'); const pipelineTableViewEl = document.querySelector('#commit-pipeline-table-view');
......
...@@ -171,7 +171,7 @@ export default class CreateMergeRequestDropdown { ...@@ -171,7 +171,7 @@ export default class CreateMergeRequestDropdown {
}) })
.catch(() => .catch(() =>
createFlash({ createFlash({
message: __('Failed to create Merge Request. Please try again.'), message: __('Failed to create merge request. Please try again.'),
}), }),
); );
} }
......
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
<gl-icon :size="16" :aria-label="__('Current Branch')" name="branch" /> {{ branchLabel }} <gl-icon :size="16" :aria-label="__('Current Branch')" name="branch" /> {{ branchLabel }}
</span> </span>
<span v-if="showMergeRequests" class="col-5 pl-0 text-truncate"> <span v-if="showMergeRequests" class="col-5 pl-0 text-truncate">
<gl-icon :size="16" :aria-label="__('Merge Request')" name="merge-request" /> <gl-icon :size="16" :aria-label="__('Merge request')" name="merge-request" />
{{ mergeRequestLabel }} {{ mergeRequestLabel }}
</span> </span>
</span> </span>
......
...@@ -26,7 +26,7 @@ export default { ...@@ -26,7 +26,7 @@ export default {
<gl-tab :title="__('Branches')"> <gl-tab :title="__('Branches')">
<branches-search-list /> <branches-search-list />
</gl-tab> </gl-tab>
<gl-tab :title="__('Merge Requests')"> <gl-tab :title="__('Merge requests')">
<merge-request-search-list /> <merge-request-search-list />
</gl-tab> </gl-tab>
</gl-tabs> </gl-tabs>
......
...@@ -110,5 +110,5 @@ export const SIDE_RIGHT = 'right'; ...@@ -110,5 +110,5 @@ export const SIDE_RIGHT = 'right';
export const LIVE_PREVIEW_DEBOUNCE = 2000; export const LIVE_PREVIEW_DEBOUNCE = 2000;
// This is the maximum number of files to auto open when opening the Web IDE // This is the maximum number of files to auto open when opening the Web IDE
// from a Merge Request // from a merge request
export const MAX_MR_FILES_AUTO_OPEN = 10; export const MAX_MR_FILES_AUTO_OPEN = 10;
# Web IDE Languages # Web IDE Languages
The Web IDE uses the [Monaco editor](https://microsoft.github.io/monaco-editor/) which uses the [Monarch library](https://microsoft.github.io/monaco-editor/monarch.html) for syntax highlighting. The Web IDE uses the [Monaco editor](https://microsoft.github.io/monaco-editor/) which uses the [Monarch library](https://microsoft.github.io/monaco-editor/monarch.html) for syntax highlighting.
The Web IDE currently supports all languages defined in the [monaco-languages](https://github.com/microsoft/monaco-languages/tree/master/src) repository. The Web IDE currently supports all languages defined in the [monaco-languages](https://github.com/microsoft/monaco-languages/tree/master/src) repository.
## Adding New Languages ## Adding New Languages
While Monaco supports a wide variety of languages, there's always the chance that it's missing something. While Monaco supports a wide variety of languages, there's always the chance that it's missing something.
You'll find a list of [unsupported languages in this epic](https://gitlab.com/groups/gitlab-org/-/epics/1474), which is the right place to add more if needed. You'll find a list of [unsupported languages in this epic](https://gitlab.com/groups/gitlab-org/-/epics/1474), which is the right place to add more if needed.
Should you be willing to help us and add support to GitLab for any missing languages, here are the steps to do so: Should you be willing to help us and add support to GitLab for any missing languages, here are the steps to do so:
1. Create a new issue and add it to [this epic](https://gitlab.com/groups/gitlab-org/-/epics/1474), if it doesn't already exist. 1. Create a new issue and add it to [this epic](https://gitlab.com/groups/gitlab-org/-/epics/1474), if it doesn't already exist.
2. Create a new file in this folder called `{languageName}.js`, where `{languageName}` is the name of the language you want to add support for. 2. Create a new file in this folder called `{languageName}.js`, where `{languageName}` is the name of the language you want to add support for.
3. Follow the [Monarch documentation](https://microsoft.github.io/monaco-editor/monarch.html) to add a configuration for the new language. 3. Follow the [Monarch documentation](https://microsoft.github.io/monaco-editor/monarch.html) to add a configuration for the new language.
- Example: The [`vue.js`](./vue.js) file in the current directory adds support for Vue.js Syntax Highlighting. - Example: The [`vue.js`](./vue.js) file in the current directory adds support for Vue.js Syntax Highlighting.
4. Add tests for the new language implementation in `spec/frontend/ide/lib/languages/{langaugeName}.js`. 4. Add tests for the new language implementation in `spec/frontend/ide/lib/languages/{langaugeName}.js`.
- Example: See [`vue_spec.js`](spec/frontend/ide/lib/languages/vue_spec.js). - Example: See [`vue_spec.js`](spec/frontend/ide/lib/languages/vue_spec.js).
5. Create a [Merge Request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html) with your newly added language. 5. Create a [merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html) with your newly added language.
Thank you! Thank you!
...@@ -73,7 +73,7 @@ export const getMergeRequestData = ( ...@@ -73,7 +73,7 @@ export const getMergeRequestData = (
actionText: __('Please try again'), actionText: __('Please try again'),
actionPayload: { projectId, mergeRequestId, force }, actionPayload: { projectId, mergeRequestId, force },
}); });
reject(new Error(`Merge Request not loaded ${projectId}`)); reject(new Error(`Merge request not loaded ${projectId}`));
}); });
} else { } else {
resolve(state.projects[projectId].mergeRequests[mergeRequestId]); resolve(state.projects[projectId].mergeRequests[mergeRequestId]);
...@@ -106,7 +106,7 @@ export const getMergeRequestChanges = ( ...@@ -106,7 +106,7 @@ export const getMergeRequestChanges = (
actionText: __('Please try again'), actionText: __('Please try again'),
actionPayload: { projectId, mergeRequestId, force }, actionPayload: { projectId, mergeRequestId, force },
}); });
reject(new Error(`Merge Request Changes not loaded ${projectId}`)); reject(new Error(`Merge request changes not loaded ${projectId}`));
}); });
} else { } else {
resolve(state.projects[projectId].mergeRequests[mergeRequestId].changes); resolve(state.projects[projectId].mergeRequests[mergeRequestId].changes);
...@@ -140,7 +140,7 @@ export const getMergeRequestVersions = ( ...@@ -140,7 +140,7 @@ export const getMergeRequestVersions = (
actionText: __('Please try again'), actionText: __('Please try again'),
actionPayload: { projectId, mergeRequestId, force }, actionPayload: { projectId, mergeRequestId, force },
}); });
reject(new Error(`Merge Request Versions not loaded ${projectId}`)); reject(new Error(`Merge request versions not loaded ${projectId}`));
}); });
} else { } else {
resolve(state.projects[projectId].mergeRequests[mergeRequestId].versions); resolve(state.projects[projectId].mergeRequests[mergeRequestId].versions);
......
...@@ -10,7 +10,7 @@ export const SET_PROJECT = 'SET_PROJECT'; ...@@ -10,7 +10,7 @@ export const SET_PROJECT = 'SET_PROJECT';
export const SET_CURRENT_PROJECT = 'SET_CURRENT_PROJECT'; export const SET_CURRENT_PROJECT = 'SET_CURRENT_PROJECT';
export const TOGGLE_EMPTY_STATE = 'TOGGLE_EMPTY_STATE'; export const TOGGLE_EMPTY_STATE = 'TOGGLE_EMPTY_STATE';
// Merge Request Mutation Types // Merge request mutation types
export const SET_MERGE_REQUEST = 'SET_MERGE_REQUEST'; export const SET_MERGE_REQUEST = 'SET_MERGE_REQUEST';
export const SET_CURRENT_MERGE_REQUEST = 'SET_CURRENT_MERGE_REQUEST'; export const SET_CURRENT_MERGE_REQUEST = 'SET_CURRENT_MERGE_REQUEST';
export const SET_MERGE_REQUEST_CHANGES = 'SET_MERGE_REQUEST_CHANGES'; export const SET_MERGE_REQUEST_CHANGES = 'SET_MERGE_REQUEST_CHANGES';
......
...@@ -264,7 +264,7 @@ export default class MergeRequestTabs { ...@@ -264,7 +264,7 @@ export default class MergeRequestTabs {
} }
} }
// Replaces the current Merge Request-specific action in the URL with a new one // Replaces the current merge request-specific action in the URL with a new one
// //
// If the action is "notes", the URL is reset to the standard // If the action is "notes", the URL is reset to the standard
// `MergeRequests#show` route. // `MergeRequests#show` route.
......
...@@ -106,7 +106,7 @@ export default class Notes { ...@@ -106,7 +106,7 @@ export default class Notes {
this.collapseLongCommitList(); this.collapseLongCommitList();
this.setViewType(view); this.setViewType(view);
// We are in the Merge Requests page so we need another edit form for Changes tab // We are in the merge requests page so we need another edit form for Changes tab
if (getPagePath(1) === 'merge_requests') { if (getPagePath(1) === 'merge_requests') {
$('.note-edit-form').clone().addClass('mr-note-edit-form').insertAfter('.note-edit-form'); $('.note-edit-form').clone().addClass('mr-note-edit-form').insertAfter('.note-edit-form');
} }
......
...@@ -190,7 +190,7 @@ export default { ...@@ -190,7 +190,7 @@ export default {
.then(() => this.updateTable()) .then(() => this.updateTable())
.catch(() => { .catch(() => {
createFlash( createFlash(
__('An error occurred while trying to run a new pipeline for this Merge Request.'), __('An error occurred while trying to run a new pipeline for this merge request.'),
); );
}) })
.finally(() => this.store.toggleIsRunningPipeline(false)); .finally(() => this.store.toggleIsRunningPipeline(false));
......
...@@ -179,7 +179,7 @@ export default { ...@@ -179,7 +179,7 @@ export default {
/> />
<issuable-stats <issuable-stats
v-if="showMergeRequestStats" v-if="showMergeRequestStats"
:label="__('Merge Requests')" :label="__('Merge requests')"
:total="mergeRequestCounts.total" :total="mergeRequestCounts.total"
:merged="mergeRequestCounts.merged" :merged="mergeRequestCounts.merged"
:closed="mergeRequestCounts.closed" :closed="mergeRequestCounts.closed"
......
...@@ -54,6 +54,6 @@ export default { ...@@ -54,6 +54,6 @@ export default {
<template> <template>
<gl-button :loading="isLoading" variant="success" category="secondary" @click="mutate">{{ <gl-button :loading="isLoading" variant="success" category="secondary" @click="mutate">{{
s__('SecurityConfiguration|Configure via Merge Request') s__('SecurityConfiguration|Configure via merge request')
}}</gl-button> }}</gl-button>
</template> </template>
...@@ -924,7 +924,7 @@ Issue Analytics ...@@ -924,7 +924,7 @@ Issue Analytics
$issues-analytics-popover-boarder-color: rgba(0, 0, 0, 0.15); $issues-analytics-popover-boarder-color: rgba(0, 0, 0, 0.15);
/* /*
Merge Requests Merge requests
*/ */
$mr-tabs-height: 48px; $mr-tabs-height: 48px;
$mr-version-controls-height: 56px; $mr-version-controls-height: 56px;
......
...@@ -33,7 +33,7 @@ module PreferencesHelper ...@@ -33,7 +33,7 @@ module PreferencesHelper
groups: _("Your Groups"), groups: _("Your Groups"),
todos: _("Your To-Do List"), todos: _("Your To-Do List"),
issues: _("Assigned Issues"), issues: _("Assigned Issues"),
merge_requests: _("Assigned Merge Requests"), merge_requests: _("Assigned merge requests"),
operations: _("Operations Dashboard") operations: _("Operations Dashboard")
}.with_indifferent_access.freeze }.with_indifferent_access.freeze
end end
......
...@@ -193,7 +193,7 @@ module SearchHelper ...@@ -193,7 +193,7 @@ module SearchHelper
{ category: "In this project", label: _("Network"), url: project_network_path(@project, ref) }, { category: "In this project", label: _("Network"), url: project_network_path(@project, ref) },
{ category: "In this project", label: _("Graph"), url: project_graph_path(@project, ref) }, { category: "In this project", label: _("Graph"), url: project_graph_path(@project, ref) },
{ category: "In this project", label: _("Issues"), url: project_issues_path(@project) }, { category: "In this project", label: _("Issues"), url: project_issues_path(@project) },
{ category: "In this project", label: _("Merge Requests"), url: project_merge_requests_path(@project) }, { category: "In this project", label: _("Merge requests"), url: project_merge_requests_path(@project) },
{ category: "In this project", label: _("Milestones"), url: project_milestones_path(@project) }, { category: "In this project", label: _("Milestones"), url: project_milestones_path(@project) },
{ category: "In this project", label: _("Snippets"), url: project_snippets_path(@project) }, { category: "In this project", label: _("Snippets"), url: project_snippets_path(@project) },
{ category: "In this project", label: _("Members"), url: project_project_members_path(@project) }, { category: "In this project", label: _("Members"), url: project_project_members_path(@project) },
......
...@@ -161,7 +161,7 @@ module TodosHelper ...@@ -161,7 +161,7 @@ module TodosHelper
[ [
{ id: '', text: 'Any Type' }, { id: '', text: 'Any Type' },
{ id: 'Issue', text: 'Issue' }, { id: 'Issue', text: 'Issue' },
{ id: 'MergeRequest', text: 'Merge Request' }, { id: 'MergeRequest', text: 'Merge request' },
{ id: 'DesignManagement::Design', text: 'Design' }, { id: 'DesignManagement::Design', text: 'Design' },
{ id: 'AlertManagement::Alert', text: 'Alert' } { id: 'AlertManagement::Alert', text: 'Alert' }
] ]
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
module SystemNoteService module SystemNoteService
extend self extend self
# Called when commits are added to a Merge Request # Called when commits are added to a merge request
# #
# noteable - Noteable object # noteable - Noteable object
# project - Project owning noteable # project - Project owning noteable
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
module SystemNotes module SystemNotes
class CommitService < ::SystemNotes::BaseService class CommitService < ::SystemNotes::BaseService
# Called when commits are added to a Merge Request # Called when commits are added to a merge request
# #
# new_commits - Array of Commits added since last push # new_commits - Array of Commits added since last push
# existing_commits - Array of Commits added in a previous push # existing_commits - Array of Commits added in a previous push
......
...@@ -46,4 +46,4 @@ ...@@ -46,4 +46,4 @@
- elsif create_mr - elsif create_mr
%li.commits-stat %li.commits-stat
= link_to create_mr_path do = link_to create_mr_path do
Create Merge Request Create merge request
...@@ -2349,7 +2349,7 @@ msgstr "" ...@@ -2349,7 +2349,7 @@ msgstr ""
msgid "AdminStatistics|Issues" msgid "AdminStatistics|Issues"
msgstr "" msgstr ""
msgid "AdminStatistics|Merge Requests" msgid "AdminStatistics|Merge requests"
msgstr "" msgstr ""
msgid "AdminStatistics|Milestones" msgid "AdminStatistics|Milestones"
...@@ -3626,7 +3626,7 @@ msgstr "" ...@@ -3626,7 +3626,7 @@ msgstr ""
msgid "An error occurred while trying to generate the report. Please try again later." msgid "An error occurred while trying to generate the report. Please try again later."
msgstr "" msgstr ""
msgid "An error occurred while trying to run a new pipeline for this Merge Request." msgid "An error occurred while trying to run a new pipeline for this merge request."
msgstr "" msgstr ""
msgid "An error occurred while unsubscribing to notifications." msgid "An error occurred while unsubscribing to notifications."
...@@ -4263,7 +4263,7 @@ msgstr "" ...@@ -4263,7 +4263,7 @@ msgstr ""
msgid "Assigned Issues" msgid "Assigned Issues"
msgstr "" msgstr ""
msgid "Assigned Merge Requests" msgid "Assigned merge requests"
msgstr "" msgstr ""
msgid "Assigned projects" msgid "Assigned projects"
...@@ -12213,7 +12213,7 @@ msgstr "" ...@@ -12213,7 +12213,7 @@ msgstr ""
msgid "Epics let you manage your portfolio of projects more efficiently and with less effort" msgid "Epics let you manage your portfolio of projects more efficiently and with less effort"
msgstr "" msgstr ""
msgid "Epics, Issues, and Merge Requests" msgid "Epics, issues, and merge requests"
msgstr "" msgstr ""
msgid "Epics|%{startDate} – %{dueDate}" msgid "Epics|%{startDate} – %{dueDate}"
...@@ -12912,9 +12912,6 @@ msgstr "" ...@@ -12912,9 +12912,6 @@ msgstr ""
msgid "Failed to clone this issue: wrong parameters." msgid "Failed to clone this issue: wrong parameters."
msgstr "" msgstr ""
msgid "Failed to create Merge Request. Please try again."
msgstr ""
msgid "Failed to create a branch for this issue. Please try again." msgid "Failed to create a branch for this issue. Please try again."
msgstr "" msgstr ""
...@@ -12927,6 +12924,9 @@ msgstr "" ...@@ -12927,6 +12924,9 @@ msgstr ""
msgid "Failed to create import label for jira import." msgid "Failed to create import label for jira import."
msgstr "" msgstr ""
msgid "Failed to create merge request. Please try again."
msgstr ""
msgid "Failed to create new project access token: %{token_response_message}" msgid "Failed to create new project access token: %{token_response_message}"
msgstr "" msgstr ""
...@@ -17492,7 +17492,7 @@ msgstr "" ...@@ -17492,7 +17492,7 @@ msgstr ""
msgid "Issues Rate Limits" msgid "Issues Rate Limits"
msgstr "" msgstr ""
msgid "Issues and Merge Requests" msgid "Issues and merge requests"
msgstr "" msgstr ""
msgid "Issues can be bugs, tasks or ideas to be discussed. Also, issues are searchable and filterable." msgid "Issues can be bugs, tasks or ideas to be discussed. Also, issues are searchable and filterable."
...@@ -19437,9 +19437,6 @@ msgstr "" ...@@ -19437,9 +19437,6 @@ msgstr ""
msgid "Merge Request Analytics" msgid "Merge Request Analytics"
msgstr "" msgstr ""
msgid "Merge Request Commits"
msgstr ""
msgid "Merge Requests" msgid "Merge Requests"
msgstr "" msgstr ""
...@@ -19497,6 +19494,9 @@ msgstr "" ...@@ -19497,6 +19494,9 @@ msgstr ""
msgid "Merge request approvals" msgid "Merge request approvals"
msgstr "" msgstr ""
msgid "Merge request commits"
msgstr ""
msgid "Merge request dependencies" msgid "Merge request dependencies"
msgstr "" msgstr ""
...@@ -27410,6 +27410,9 @@ msgstr "" ...@@ -27410,6 +27410,9 @@ msgstr ""
msgid "SecurityConfiguration|Configure via Merge Request" msgid "SecurityConfiguration|Configure via Merge Request"
msgstr "" msgstr ""
msgid "SecurityConfiguration|Configure via merge request"
msgstr ""
msgid "SecurityConfiguration|Could not retrieve configuration data. Please refresh the page, or try again later." msgid "SecurityConfiguration|Could not retrieve configuration data. Please refresh the page, or try again later."
msgstr "" msgstr ""
...@@ -33411,13 +33414,13 @@ msgstr "" ...@@ -33411,13 +33414,13 @@ msgstr ""
msgid "UsageTrends|Issues" msgid "UsageTrends|Issues"
msgstr "" msgstr ""
msgid "UsageTrends|Issues & Merge Requests" msgid "UsageTrends|Issues & merge requests"
msgstr "" msgstr ""
msgid "UsageTrends|Items" msgid "UsageTrends|Items"
msgstr "" msgstr ""
msgid "UsageTrends|Merge Requests" msgid "UsageTrends|Merge requests"
msgstr "" msgstr ""
msgid "UsageTrends|Month" msgid "UsageTrends|Month"
......
...@@ -175,7 +175,7 @@ RSpec.describe 'User uses header search field', :js do ...@@ -175,7 +175,7 @@ RSpec.describe 'User uses header search field', :js do
fill_in_search('Merge') fill_in_search('Merge')
within(dashboard_search_options_popup_menu) do within(dashboard_search_options_popup_menu) do
expect(page).to have_text('Merge Requests') expect(page).to have_text('Merge requests')
end end
end end
......
...@@ -24,7 +24,7 @@ describe('UsageTrendsApp', () => { ...@@ -24,7 +24,7 @@ describe('UsageTrendsApp', () => {
expect(wrapper.find(UsageCounts).exists()).toBe(true); expect(wrapper.find(UsageCounts).exists()).toBe(true);
}); });
['Total projects & groups', 'Pipelines', 'Issues & Merge Requests'].forEach((usage) => { ['Total projects & groups', 'Pipelines', 'Issues & merge requests'].forEach((usage) => {
it(`displays the ${usage} chart`, () => { it(`displays the ${usage} chart`, () => {
const chartTitles = wrapper const chartTitles = wrapper
.findAll(UsageTrendsCountChart) .findAll(UsageTrendsCountChart)
......
...@@ -199,7 +199,7 @@ describe('Release block milestone info', () => { ...@@ -199,7 +199,7 @@ describe('Release block milestone info', () => {
it('renders merge request stats', () => { it('renders merge request stats', () => {
expect(trimText(mergeRequestsContainer().text())).toBe( expect(trimText(mergeRequestsContainer().text())).toBe(
'Merge Requests 30 Open: 4 • Merged: 24 • Closed: 2', 'Merge requests 30 Open: 4 • Merged: 24 • Closed: 2',
); );
}); });
}); });
......
...@@ -30,7 +30,7 @@ describe('Configuration Table Component', () => { ...@@ -30,7 +30,7 @@ describe('Configuration Table Component', () => {
expect(wrapper.text()).toContain(scanner.name); expect(wrapper.text()).toContain(scanner.name);
expect(wrapper.text()).toContain(scanner.description); expect(wrapper.text()).toContain(scanner.description);
if (scanner.type === REPORT_TYPE_SAST) { if (scanner.type === REPORT_TYPE_SAST) {
expect(wrapper.findByTestId(scanner.type).text()).toBe('Configure via Merge Request'); expect(wrapper.findByTestId(scanner.type).text()).toBe('Configure via merge request');
} else if (scanner.type !== REPORT_TYPE_SECRET_DETECTION) { } else if (scanner.type !== REPORT_TYPE_SECRET_DETECTION) {
expect(wrapper.findByTestId(scanner.type).text()).toMatchInterpolatedText(UPGRADE_CTA); expect(wrapper.findByTestId(scanner.type).text()).toMatchInterpolatedText(UPGRADE_CTA);
} }
......
...@@ -79,7 +79,7 @@ describe('Manage Sast Component', () => { ...@@ -79,7 +79,7 @@ describe('Manage Sast Component', () => {
it('should render Button with correct text', () => { it('should render Button with correct text', () => {
createComponent(); createComponent();
expect(findButton().text()).toContain('Configure via Merge Request'); expect(findButton().text()).toContain('Configure via merge request');
}); });
describe('given a successful response', () => { describe('given a successful response', () => {
......
...@@ -33,7 +33,7 @@ RSpec.describe PreferencesHelper do ...@@ -33,7 +33,7 @@ RSpec.describe PreferencesHelper do
["Your Groups", 'groups'], ["Your Groups", 'groups'],
["Your To-Do List", 'todos'], ["Your To-Do List", 'todos'],
["Assigned Issues", 'issues'], ["Assigned Issues", 'issues'],
["Assigned Merge Requests", 'merge_requests'] ["Assigned merge requests", 'merge_requests']
] ]
end end
end end
......
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