From 240069734d10d555a4334a00571aced4bf2fa56a Mon Sep 17 00:00:00 2001 From: Eduard Heimbuch Date: Tue, 24 Nov 2020 11:15:42 +0100 Subject: [PATCH] create ui form for repository import --- .../src/__snapshots__/storyshots.test.ts.snap | 18 ++++++------------ scm-ui/ui-webapp/public/locales/de/repos.json | 2 +- scm-ui/ui-webapp/public/locales/en/repos.json | 2 +- .../ui-webapp/src/repos/containers/Create.tsx | 10 +++++++++- 4 files changed, 17 insertions(+), 15 deletions(-) diff --git a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap index f2fd0d93d8..dce69a4ef2 100644 --- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap +++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap @@ -46588,12 +46588,6 @@ exports[`Storyshots Forms|DropDown Add preselect if missing in options 1`] = ` > C - `; @@ -46625,6 +46619,12 @@ exports[`Storyshots Forms|DropDown Default 1`] = ` > es + `; @@ -46656,12 +46656,6 @@ exports[`Storyshots Forms|DropDown With Translation 1`] = ` > The Meaning Of Liff - `; diff --git a/scm-ui/ui-webapp/public/locales/de/repos.json b/scm-ui/ui-webapp/public/locales/de/repos.json index c70bbce695..14fb1908d9 100644 --- a/scm-ui/ui-webapp/public/locales/de/repos.json +++ b/scm-ui/ui-webapp/public/locales/de/repos.json @@ -45,7 +45,7 @@ "createButton": "Repository hinzufügen" }, "create": { - "title": "Repository erstellen", + "title": "Repository hinzufügen", "subtitle": "Erstellen eines neuen Repository" }, "branches": { diff --git a/scm-ui/ui-webapp/public/locales/en/repos.json b/scm-ui/ui-webapp/public/locales/en/repos.json index 532ded509d..8341137236 100644 --- a/scm-ui/ui-webapp/public/locales/en/repos.json +++ b/scm-ui/ui-webapp/public/locales/en/repos.json @@ -45,7 +45,7 @@ "createButton": "Add Repository" }, "create": { - "title": "Create Repository", + "title": "Add Repository", "subtitle": "Create a new repository" }, "branches": { diff --git a/scm-ui/ui-webapp/src/repos/containers/Create.tsx b/scm-ui/ui-webapp/src/repos/containers/Create.tsx index 019e130b47..2d65341321 100644 --- a/scm-ui/ui-webapp/src/repos/containers/Create.tsx +++ b/scm-ui/ui-webapp/src/repos/containers/Create.tsx @@ -81,7 +81,15 @@ class Create extends React.Component { }; render() { - const { pageLoading, createLoading, repositoryTypes, namespaceStrategies, createRepo, error, indexResources } = this.props; + const { + pageLoading, + createLoading, + repositoryTypes, + namespaceStrategies, + createRepo, + error, + indexResources + } = this.props; const { t, repoLink } = this.props; return (