From 08d76967b0664ee668d9b508993b52c44c3bfa78 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Sat, 2 Jan 2021 11:14:23 -0500 Subject: Add temp folder check during install (#3312) Before, the temp path was not check during install. With some configuration, FRSS was not working because of a non-writable temp directory. It happened with XAMPP on MacOS X but it might be the case for other platforms. Now, the temp path is checked during install to make sure it is writable. See #3310 --- app/i18n/oc/install.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'app/i18n/oc/install.php') diff --git a/app/i18n/oc/install.php b/app/i18n/oc/install.php index a366bd8ee..6c2bb3b28 100644 --- a/app/i18n/oc/install.php +++ b/app/i18n/oc/install.php @@ -33,7 +33,7 @@ return array( '_' => 'Verificacions', 'already_installed' => 'Sembla que FreshRSS es ja installat !', 'cache' => array( - 'nok' => 'Volgatz verificar los dreches sul repertòri ./data/cache. Lo servidor HTTP deu poder escriure dedins', + 'nok' => 'Volgatz verificar los dreches sul repertòri %s. Lo servidor HTTP deu poder escriure dedins.', 'ok' => 'Los dreches sul cache son bons.', ), 'ctype' => array( @@ -45,7 +45,7 @@ return array( 'ok' => 'Avètz la bibliotèca cURL.', ), 'data' => array( - 'nok' => 'Volgatz verificar los dreches sul repertòri ./data. Lo servidor HTTP deu poder escriure dedins', + 'nok' => 'Volgatz verificar los dreches sul repertòri %s. Lo servidor HTTP deu poder escriure dedins.', 'ok' => 'Los dreches sul repertòri data son bons.', ), 'dom' => array( @@ -53,7 +53,7 @@ return array( 'ok' => 'Avètz la bibliotèca per percórrer lo DOM.', ), 'favicons' => array( - 'nok' => 'Volgatz verificar los dreches sul repertòri ./data/favicons. Lo servidor HTTP deu poder escriure dedins', + 'nok' => 'Volgatz verificar los dreches sul repertòri %s. Lo servidor HTTP deu poder escriure dedins.', 'ok' => 'Los dreches sul repertòri dels favicons son bons.', ), 'fileinfo' => array( @@ -88,8 +88,12 @@ return array( 'nok' => 'Vòstra version PHP es la %s mas FreshRSS demanda almens la version %s.', 'ok' => 'Vòstra version PHP es %s, qu’es compatibla amb FreshRSS.', ), + 'tmp' => array( + 'nok' => 'Volgatz verificar los dreches sul repertòri %s. Lo servidor HTTP deu poder escriure dedins.', + 'ok' => 'Permissions on the temp directory are good.', // TODO - Translation + ), 'users' => array( - 'nok' => 'Volgatz verificar los dreches sul repertòri ./data/users. Lo servidor HTTP deu poder escriure dedins', + 'nok' => 'Volgatz verificar los dreches sul repertòri %s. Lo servidor HTTP deu poder escriure dedins.', 'ok' => 'Los dreches sul repertòri dels utilizaires son bons.', ), 'xml' => array( -- cgit v1.2.3