From 3e89086e45669de82c4005e11ded1ce8f60a1bc3 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Sat, 23 Jan 2021 17:04:01 -0500 Subject: Add username hint for permissions during install (#3373) The username is retrieved by 2 different means to support different configurations and architectures. If there is no way to find the username, the "unknown" string is displayed instead. See #2758 --- app/i18n/en/install.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'app/i18n/en/install.php') diff --git a/app/i18n/en/install.php b/app/i18n/en/install.php index 3c28b0c37..9551d1d75 100644 --- a/app/i18n/en/install.php +++ b/app/i18n/en/install.php @@ -33,7 +33,7 @@ return array( '_' => 'Checks', 'already_installed' => 'We have detected that FreshRSS is already installed!', 'cache' => array( - 'nok' => 'Check permissions on the %s directory. The HTTP server must have write permission.', + 'nok' => 'Check permissions on the %1$s directory for %2$s user. The HTTP server must have write permission.', 'ok' => 'Permissions on the cache directory are good.', ), 'ctype' => array( @@ -45,7 +45,7 @@ return array( 'ok' => 'You have the cURL library.', ), 'data' => array( - 'nok' => 'Check permissions on the %s directory. The HTTP server must have write permission.', + 'nok' => 'Check permissions on the %1$s directory for %2$s user. The HTTP server must have write permission.', 'ok' => 'Permissions on the data directory are good.', ), 'dom' => array( @@ -53,7 +53,7 @@ return array( 'ok' => 'You have the required library to browse the DOM.', ), 'favicons' => array( - 'nok' => 'Check permissions on the %s directory. The HTTP server must have write permission.', + 'nok' => 'Check permissions on the %1$s directory for %2$s user. The HTTP server must have write permission.', 'ok' => 'Permissions on the favicons directory are good.', ), 'fileinfo' => array( @@ -89,11 +89,12 @@ return array( 'ok' => 'Your PHP version, %s, is compatible with FreshRSS.', ), 'tmp' => array( - 'nok' => 'Check permissions on the %s directory. The HTTP server must have write permissions.', + 'nok' => 'Check permissions on the %1$s directory for %2$s user. The HTTP server must have write permissions.', 'ok' => 'Permissions on the temp directory are good.', ), + 'unknown_process_username' => 'unknown', 'users' => array( - 'nok' => 'Check permissions on the %s directory. The HTTP server must have write permissions.', + 'nok' => 'Check permissions on the %1$s directory for %2$s user. The HTTP server must have write permissions.', 'ok' => 'Permissions on the users directory are good.', ), 'xml' => array( -- cgit v1.2.3