minor fixes on plugins

This commit is contained in:
Eduard Heimbuch
2019-09-18 16:15:29 +02:00
parent 913b7080fd
commit 60fc7f2889
3 changed files with 5 additions and 5 deletions

View File

@@ -29,7 +29,7 @@
"installedNavLink": "Installiert",
"availableNavLink": "Verfügbar"
},
"executePending": "Austehende Plugin-Änderungen ausführen",
"executePending": "Ausstehende Plugin-Änderungen ausführen",
"noPlugins": "Keine Plugins gefunden.",
"modal": {
"title": {
@@ -37,7 +37,7 @@
"update": "{{name}} Plugin aktualisieren",
"uninstall": "{{name}} Plugin deinstallieren"
},
"restart": "Neustarten um Plugin zu aktivieren",
"restart": "Neustarten, um Plugin-Änderungen wirksam zu machen",
"install": "Installieren",
"update": "Aktualisieren",
"uninstall": "Deinstallieren",

View File

@@ -37,7 +37,7 @@
"update": "Update {{name}} Plugin",
"uninstall": "Uninstall {{name}} Plugin"
},
"restart": "Restart to activate",
"restart": "Restart to make plugin changes effective",
"install": "Install",
"update": "Update",
"uninstall": "Uninstall",

View File

@@ -45,7 +45,7 @@ const styles = {
minWidth: "5.5em"
},
userLabelMarginLarge: {
minWidth: "9em"
minWidth: "10em"
},
userFieldFlex: {
flexGrow: 4
@@ -130,7 +130,7 @@ class PluginModal extends React.Component<Props, State> {
const { pluginAction, onClose, t } = this.props;
const { loading, error, restart, success } = this.state;
let color = "primary";
let color = pluginAction === PluginAction.UNINSTALL ? "warning" : "primary";
let label = `plugins.modal.${pluginAction}`;
if (restart) {
color = "warning";