Skip to content
Snippets Groups Projects
Commit 5500ed3b authored by Anton Kalmykov's avatar Anton Kalmykov :speech_balloon:
Browse files

Update copy after UX review for the repository create/upload modals

Closes: #479249
Related to: !170512
Changelog: changed
parent 14290667
No related branches found
No related tags found
1 merge request!171648Update copy after UX review for the repository create/upload modals
...@@ -20,7 +20,7 @@ import { ...@@ -20,7 +20,7 @@ import {
NEW_BRANCH_IN_FORK, NEW_BRANCH_IN_FORK,
} from '../constants'; } from '../constants';
const MODAL_TITLE = __('Create New Directory'); const MODAL_TITLE = __('Create new directory');
const PRIMARY_OPTIONS_TEXT = __('Create directory'); const PRIMARY_OPTIONS_TEXT = __('Create directory');
const DIR_LABEL = __('Directory name'); const DIR_LABEL = __('Directory name');
const ERROR_MESSAGE = __('Error creating new directory. Please try again.'); const ERROR_MESSAGE = __('Error creating new directory. Please try again.');
......
...@@ -9,7 +9,7 @@ export const COMMIT_BATCH_SIZE = 25; // we request commit data in batches of 25 ...@@ -9,7 +9,7 @@ export const COMMIT_BATCH_SIZE = 25; // we request commit data in batches of 25
export const SECONDARY_OPTIONS_TEXT = __('Cancel'); export const SECONDARY_OPTIONS_TEXT = __('Cancel');
export const COMMIT_LABEL = __('Commit message'); export const COMMIT_LABEL = __('Commit message');
export const TARGET_BRANCH_LABEL = __('Target branch'); export const TARGET_BRANCH_LABEL = __('Target branch');
export const TOGGLE_CREATE_MR_LABEL = __('Start a new merge request with these changes'); export const TOGGLE_CREATE_MR_LABEL = __('Create a merge request for this change');
export const NEW_BRANCH_IN_FORK = __( export const NEW_BRANCH_IN_FORK = __(
'GitLab will create a branch in your fork and start a merge request.', 'GitLab will create a branch in your fork and start a merge request.',
); );
......
...@@ -16166,9 +16166,6 @@ msgstr "" ...@@ -16166,9 +16166,6 @@ msgstr ""
msgid "Create %{workspace} label" msgid "Create %{workspace} label"
msgstr "" msgstr ""
   
msgid "Create New Directory"
msgstr ""
msgid "Create a Kubernetes cluster" msgid "Create a Kubernetes cluster"
msgstr "" msgstr ""
   
...@@ -53159,9 +53156,6 @@ msgstr "" ...@@ -53159,9 +53156,6 @@ msgstr ""
msgid "Start a Free Ultimate Trial" msgid "Start a Free Ultimate Trial"
msgstr "" msgstr ""
   
msgid "Start a new merge request with these changes"
msgstr ""
msgid "Start a review" msgid "Start a review"
msgstr "" msgstr ""
   
...@@ -15,7 +15,7 @@ jest.mock('~/lib/utils/url_utility', () => ({ ...@@ -15,7 +15,7 @@ jest.mock('~/lib/utils/url_utility', () => ({
})); }));
const initialProps = { const initialProps = {
modalTitle: 'Create New Directory', modalTitle: 'Create new directory',
modalId: 'modal-new-directory', modalId: 'modal-new-directory',
commitMessage: 'Add new directory', commitMessage: 'Add new directory',
targetBranch: 'some-target-branch', targetBranch: 'some-target-branch',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment