Skip to content

EspoCRM – Open Source CRM Application

Improve install permission message

Yuriie969a3e5a1f0
diff --git a/install/core/actions/checkPermission.php b/install/core/actions/checkPermission.php
index d17787a907..228e7a7204 100644
--- a/install/core/actions/checkPermission.php
+++ b/install/core/actions/checkPermission.php
@@ -65,7 +65,7 @@ if (!$installer->checkPermission()) {
}
}
- $result['errorMsg'] = $langs['messages']['Permission denied to'] . ':<br><pre>'.implode('<br>', $urls).'</pre>';
+ $result['errorMsg'] = $langs['messages']['Permission denied to'] . ':'.implode('<br>', $urls).'';
$result['errorFixInstruction'] =
str_replace( '"{C}"' , $instruction, $langs['messages']['permissionInstruction']) .
diff --git a/install/core/i18n/de_DE/install.json b/install/core/i18n/de_DE/install.json
index ea8b257052..2e8fac4cee 100644
--- a/install/core/i18n/de_DE/install.json
+++ b/install/core/i18n/de_DE/install.json
@@ -104,7 +104,7 @@
"mysqlSettingError": "EspoCRM erfordert, dass die MySQL Einstellung \"{NAME}\" auf {VALUE} gesetzt ist",
"requiredMariadbVersion": "Ihre MariaDB-Version wird von EspoCRM nicht unterstützt, bitte aktualisieren Sie mindestens auf MariaDB {minVersion}",
"Ajax failed": "Es ist ein unerwarteter Fehler aufgetreten",
- "Bad init Permission": "Die Zugriff auf das Verzeichnis \"{*}\" wurde verweigert. Bitte setzen Sie 775 für \"{*}\" oder führen Sie diesen Befehl einfach im Terminal aus <pre><b>{C}</b></pre> Operation ist nicht erlaubt? Versuchen Sie diesen: {CSU}",
+ "Bad init Permission": "Die Zugriff auf das Verzeichnis \"{*}\" wurde verweigert. Bitte setzen Sie 775 für \"{*}\" oder führen Sie diesen Befehl einfach im Terminal aus <pre>{C}</pre> Operation ist nicht erlaubt? Versuchen Sie diesen: <pre>{CSU}</pre>",
"permissionInstruction": "<br>Führen Sie diesen Befehl im Terminal aus:<pre><b>\"{C}\"</b></pre>",
"operationNotPermitted": "Operation ist nicht erlaubt? Versuchen Sie diese: <br><<br>{CSU}"
},
@@ -133,4 +133,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/install/core/i18n/en_US/install.json b/install/core/i18n/en_US/install.json
index 08a9c3769f..bf06573bb2 100644
--- a/install/core/i18n/en_US/install.json
+++ b/install/core/i18n/en_US/install.json
@@ -88,7 +88,7 @@
"smtpPassword": "Password"
},
"messages": {
- "Bad init Permission": "Permission denied for \"{*}\" directory. Please set 775 for \"{*}\" or just execute this command in the terminal <pre><b>{C}</b></pre> Operation is not permitted? Try this one: {CSU}",
+ "Bad init Permission": "Permission denied for \"{*}\" directory. Please set 775 for \"{*}\" or just execute this command in the terminal: <pre>{C}</pre> Operation is not permitted? Try this one: <pre>{CSU}</pre>",
"Some errors occurred!": "Some errors occurred!",
"phpVersion": "Your PHP version is not supported by EspoCRM, please update to PHP {minVersion} at least",
"requiredMysqlVersion": "Your MySQL version is not supported by EspoCRM, please update to MySQL {minVersion} at least",