diff options
| author | 2021-01-02 11:14:23 -0500 | |
|---|---|---|
| committer | 2021-01-02 17:14:23 +0100 | |
| commit | 08d76967b0664ee668d9b508993b52c44c3bfa78 (patch) | |
| tree | 835aa85ded33b3d428a58c2bb93c07ca9d65f24e /app/i18n/zh-cn/install.php | |
| parent | ce9eb7b14c378526d9488f0eb20e663580e9f429 (diff) | |
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
Diffstat (limited to 'app/i18n/zh-cn/install.php')
| -rw-r--r-- | app/i18n/zh-cn/install.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/app/i18n/zh-cn/install.php b/app/i18n/zh-cn/install.php index 7e2794498..dad23ac17 100644 --- a/app/i18n/zh-cn/install.php +++ b/app/i18n/zh-cn/install.php @@ -33,7 +33,7 @@ return array( '_' => '检查', 'already_installed' => '我们检测到 FreshRSS 已经安装!', 'cache' => array( - 'nok' => '请检查 <em>./data/cache</em> 目录权限。HTTP 服务器必须有其写入权限。', + 'nok' => '请检查 <em>%s</em> 目录权限。HTTP 服务器必须有其写入权限。', 'ok' => 'cache 目录权限正常', ), 'ctype' => array( @@ -45,7 +45,7 @@ return array( 'ok' => '已找到 cURL 库', ), 'data' => array( - 'nok' => '请检查 <em>./data</em> 目录权限。HTTP 服务器必须有其写入权限。', + 'nok' => '请检查 <em>%s</em> 目录权限。HTTP 服务器必须有其写入权限。', 'ok' => 'data 目录权限正常', ), 'dom' => array( @@ -53,7 +53,7 @@ return array( 'ok' => '已找到用于浏览 DOM 的库', ), 'favicons' => array( - 'nok' => '请检查 <em>./data/favicons</em> 目录权限。HTTP 服务器必须有其写入权限。', + 'nok' => '请检查 <em>%s</em> 目录权限。HTTP 服务器必须有其写入权限。', 'ok' => 'favicons 目录权限正常', ), 'fileinfo' => array( @@ -88,8 +88,12 @@ return array( 'nok' => '你的 PHP 版本为 %s,但 FreshRSS 最低需要 %s', 'ok' => '你的 PHP 版本为 %s,与 FreshRSS 兼容', ), + 'tmp' => array( + 'nok' => '请检查 <em>%s</em> 目录权限。HTTP 服务器必须有其写入权限。', + 'ok' => 'Permissions on the temp directory are good.', // TODO - Translation + ), 'users' => array( - 'nok' => '请检查 <em>./data/users</em> 目录权限。HTTP 服务器必须有其写入权限。', + 'nok' => '请检查 <em>%s</em> 目录权限。HTTP 服务器必须有其写入权限。', 'ok' => 'users 目录权限正常', ), 'xml' => array( |
