diff --git a/scm-ui/public/locales/de/config.json b/scm-ui/public/locales/de/config.json index a94965fa68..0bc220515a 100644 --- a/scm-ui/public/locales/de/config.json +++ b/scm-ui/public/locales/de/config.json @@ -41,7 +41,7 @@ "date-format": "Datumsformat", "anonymous-access-enabled": "Anonyme Zugriffe erlauben", "skip-failed-authenticators": "Fehlgeschlagene Authentifizierer überspringen", - "plugin-url": "Plugin URL", + "plugin-url": "Plugin Center URL", "enabled-xsrf-protection": "XSRF Protection aktivieren", "namespace-strategy": "Namespace Strategie", "login-info-url": "Login Info URL" @@ -55,7 +55,7 @@ "help": { "realmDescriptionHelpText": "Beschreibung des Authentication Realm.", "dateFormatHelpText": "Moments Datumsformat. Zulässige Formate sind in der MomentJS Dokumentation beschrieben.", - "pluginRepositoryHelpText": "Die URL des Plugin Repositories. Beschreibung der Platzhalter: version = SCM-Manager Version; os = Betriebssystem; arch = Architektur", + "pluginUrlHelpText": "Die URL der Plugin Center API. Beschreibung der Platzhalter: version = SCM-Manager Version; os = Betriebssystem; arch = Architektur", "enableForwardingHelpText": "mod_proxy Port Weiterleitung aktivieren.", "enableRepositoryArchiveHelpText": "Repository Archive aktivieren. Nach einer Änderung an dieser Einstellung muss die Seite komplett neu geladen werden.", "disableGroupingGridHelpText": "Repository Gruppen deaktivieren. Nach einer Änderung an dieser Einstellung muss die Seite komplett neu geladen werden.", diff --git a/scm-ui/public/locales/en/config.json b/scm-ui/public/locales/en/config.json index 894d0563ba..ce0f7252df 100644 --- a/scm-ui/public/locales/en/config.json +++ b/scm-ui/public/locales/en/config.json @@ -41,7 +41,7 @@ "date-format": "Date Format", "anonymous-access-enabled": "Anonymous Access Enabled", "skip-failed-authenticators": "Skip Failed Authenticators", - "plugin-url": "Plugin URL", + "plugin-url": "Plugin Center URL", "enabled-xsrf-protection": "Enabled XSRF Protection", "namespace-strategy": "Namespace Strategy", "login-info-url": "Login Info URL" @@ -55,7 +55,7 @@ "help": { "realmDescriptionHelpText": "Enter authentication realm description.", "dateFormatHelpText": "Moments date format. Please have a look at the MomentJS documentation.", - "pluginRepositoryHelpText": "The url of the plugin repository. Explanation of the placeholders: version = SCM-Manager Version; os = Operation System; arch = Architecture", + "pluginUrlHelpText": "The url of the Plugin Center API. Explanation of the placeholders: version = SCM-Manager Version; os = Operation System; arch = Architecture", "enableForwardingHelpText": "Enable mod_proxy port forwarding.", "enableRepositoryArchiveHelpText": "Enable repository archives. A complete page reload is required after a change of this value.", "disableGroupingGridHelpText": "Disable repository Groups. A complete page reload is required after a change of this value.", diff --git a/scm-ui/src/admin/components/form/GeneralSettings.js b/scm-ui/src/admin/components/form/GeneralSettings.js index a2fb1127af..842d0ed7f4 100644 --- a/scm-ui/src/admin/components/form/GeneralSettings.js +++ b/scm-ui/src/admin/components/form/GeneralSettings.js @@ -29,6 +29,7 @@ class GeneralSettings extends React.Component { t, realmDescription, loginInfoUrl, + pluginUrl, enabledXsrfProtection, namespaceStrategy, hasUpdatePermission, @@ -78,6 +79,17 @@ class GeneralSettings extends React.Component { /> +
+
+ +
+
); } @@ -85,7 +97,6 @@ class GeneralSettings extends React.Component { handleLoginInfoUrlChange = (value: string) => { this.props.onChange(true, value, "loginInfoUrl"); }; - handleRealmDescriptionChange = (value: string) => { this.props.onChange(true, value, "realmDescription"); }; @@ -95,6 +106,9 @@ class GeneralSettings extends React.Component { handleNamespaceStrategyChange = (value: string) => { this.props.onChange(true, value, "namespaceStrategy"); }; + handlePluginCenterUrlChange = (value: string) => { + this.props.onChange(true, value, "pluginUrl"); + }; } export default translate("config")(GeneralSettings);