From 5531e5742bcceb8acd0956dfd1a4e904b2fdc8dc Mon Sep 17 00:00:00 2001 From: Xuefer Date: Tue, 20 Nov 2012 02:34:13 +0000 Subject: [PATCH] updates note git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1179 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- htdocs/diagnosis/index.php | 8 +++--- htdocs/diagnosis/lang/en.po | 20 +++++++------- htdocs/diagnosis/lang/zh-simplified.php | 16 ++++++----- htdocs/diagnosis/lang/zh-simplified.po | 36 +++++++++++++------------ htdocs/diagnosis/lang/zh-traditional.po | 20 +++++++------- 5 files changed, 55 insertions(+), 45 deletions(-) diff --git a/htdocs/diagnosis/index.php b/htdocs/diagnosis/index.php index bb79074..76aa9bc 100644 --- a/htdocs/diagnosis/index.php +++ b/htdocs/diagnosis/index.php @@ -150,8 +150,8 @@ else if (!$phpCacheCount) { } else if ($errors) { result(N_("warning") - , _T("Error happened when compiling at least one of your PHP code") - , _T("This usually means there is syntax error in your PHP code. Enable PHP error_log to see what parser error is it, fix your code") + , _T("Error happened when compiling one or some of your PHP code") + , _T("PHP code failed to be compiled cannot be cached. This usually means there was syntax error in your PHP code. Enable PHP error_log to see what parser error is it, fix your code. This warning won't go away until PHP is restarted") ); } else { @@ -180,9 +180,9 @@ if (!$xcacheLoaded) { result(N_("skipped"), "XCache not loaded"); } else if (!ini_get("xcache.var_size")) { - result(N_("error") + result(N_("warning") , _T("Not enabled") - , _T("PHP code that use XCache caching backend have to use other caching backend instead. Set xcache.var_size to non-zero") + , _T("PHP code that use XCache caching backend have to use other caching backend instead. Set xcache.var_size to non-zero if you have any PHP code that can use XCache Data Caching API") ); } else { diff --git a/htdocs/diagnosis/lang/en.po b/htdocs/diagnosis/lang/en.po index 096bc18..1c8420d 100644 --- a/htdocs/diagnosis/lang/en.po +++ b/htdocs/diagnosis/lang/en.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-11-13 18:17+0800\n" +"POT-Creation-Date: 2012-11-20 10:32+0800\n" "Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -54,8 +54,8 @@ msgstr "" msgid "Not loaded" msgstr "" -#: index.php:90 index.php:129 index.php:135 index.php:183 index.php:290 -#: index.php:308 index.php:373 index.php:396 index.php:399 +#: index.php:90 index.php:129 index.php:135 index.php:290 index.php:308 +#: index.php:373 index.php:396 index.php:399 msgid "error" msgstr "" @@ -106,19 +106,20 @@ msgstr "" msgid "PHP Compile Time Error" msgstr "" -#: index.php:152 index.php:169 index.php:193 index.php:210 index.php:238 -#: index.php:246 index.php:261 index.php:329 index.php:346 +#: index.php:152 index.php:169 index.php:183 index.php:193 index.php:210 +#: index.php:238 index.php:246 index.php:261 index.php:329 index.php:346 msgid "warning" msgstr "" #: index.php:153 -msgid "Error happened when compiling at least one of your PHP code" +msgid "Error happened when compiling one or some of your PHP code" msgstr "" #: index.php:154 msgid "" -"This usually means there is syntax error in your PHP code. Enable PHP " -"error_log to see what parser error is it, fix your code" +"PHP code failed to be compiled cannot be cached. This usually means there " +"was syntax error in your PHP code. Enable PHP error_log to see what parser " +"error is it, fix your code. This warning won't go away until PHP is restarted" msgstr "" #: index.php:158 @@ -150,7 +151,8 @@ msgstr "" #: index.php:185 msgid "" "PHP code that use XCache caching backend have to use other caching backend " -"instead. Set xcache.var_size to non-zero" +"instead. Set xcache.var_size to non-zero if you have any PHP code that can " +"use XCache Data Caching API" msgstr "" #: index.php:191 diff --git a/htdocs/diagnosis/lang/zh-simplified.php b/htdocs/diagnosis/lang/zh-simplified.php index c6fa115..c73db5e 100644 --- a/htdocs/diagnosis/lang/zh-simplified.php +++ b/htdocs/diagnosis/lang/zh-simplified.php @@ -47,10 +47,10 @@ $strings += array( => "PHP 编译时错误", "warning" => "警告", - "Error happened when compiling at least one of your PHP code" - => "至少在编译其中一个您的 PHP 代码时发生编译错误", - "This usually means there is syntax error in your PHP code. Enable PHP error_log to see what parser error is it, fix your code" - => "这通常意味着您的 PHP 代码有语法错误. 请启用 error_log 调查具体错误原因并修复您的代码", + "Error happened when compiling one or some of your PHP code" + => "至少在编译一个或多个您的 PHP 代码时发生编译错误", + "PHP code failed to be compiled cannot be cached. This usually means there was syntax error in your PHP code. Enable PHP error_log to see what parser error is it, fix your code. This warning won't go away until PHP is restarted" + => "编译失败的 PHP 代码是无法缓存的. 这通常意味着您的 PHP 代码有语法错误. 请启用 error_log 调查具体错误原因并修复您的代码. 重启 PHP 前这个警告不会消失", "No error happened" => "未发生过错误", "Busy Compiling" @@ -63,8 +63,8 @@ $strings += array( => "空闲", "Enabling VAR Cacher" => "启用 VAR 缓存器", - "PHP code that use XCache caching backend have to use other caching backend instead. Set xcache.var_size to non-zero" - => "使用 XCache 作为数据缓存器的 PHP 代码将不得不采用其他缓存器代替. 设置 xcache.var_size 为非 0", + "PHP code that use XCache caching backend have to use other caching backend instead. Set xcache.var_size to non-zero if you have any PHP code that can use XCache Data Caching API" + => "支持使用 XCache 作为数据缓存器的 PHP 代码将不得不采用其他缓存器代替. 如果您有代码支持 XCache 缓存 API 的话, 您可以设置 xcache.var_size 为非 0", "Using VAR Cacher" => "使用 VAR 缓存器", "No variable data cached" @@ -147,6 +147,10 @@ $strings += array( => "由于兼容性问题, 'Zend Optimizer' 的优化器已被 XCache 禁止; 其加载器依然可用, 可继续使用 Zend 加密的文件", "SAPI Compatibility" => "Extension 兼容性", + "CGI is not supported" + => "不支持 CGI", + "Use FastCGI or FPM instead" + => "请改用 FastCGI 或者 FPM", "PHP_FCGI_CHILDREN should be >= 1 and use 1 group of parent/childs model. See http://xcache.lighttpd.net/wiki/Faq" => "PHP_FCGI_CHILDREN 应该设为 >= 1 并且使用 1 组单父多子模型. 参见 http://xcache.lighttpd.net/wiki/Faq", ); diff --git a/htdocs/diagnosis/lang/zh-simplified.po b/htdocs/diagnosis/lang/zh-simplified.po index 195727d..27531f8 100644 --- a/htdocs/diagnosis/lang/zh-simplified.po +++ b/htdocs/diagnosis/lang/zh-simplified.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-11-13 18:17+0800\n" +"POT-Creation-Date: 2012-11-20 10:32+0800\n" "Language: zh\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -55,8 +55,8 @@ msgstr "(参见上面)" msgid "Not loaded" msgstr "未载入" -#: index.php:90 index.php:129 index.php:135 index.php:183 index.php:290 -#: index.php:308 index.php:373 index.php:396 index.php:399 +#: index.php:90 index.php:129 index.php:135 index.php:290 index.php:308 +#: index.php:373 index.php:396 index.php:399 msgid "error" msgstr "错误" @@ -109,22 +109,23 @@ msgstr "已启用" msgid "PHP Compile Time Error" msgstr "PHP 编译时错误" -#: index.php:152 index.php:169 index.php:193 index.php:210 index.php:238 -#: index.php:246 index.php:261 index.php:329 index.php:346 +#: index.php:152 index.php:169 index.php:183 index.php:193 index.php:210 +#: index.php:238 index.php:246 index.php:261 index.php:329 index.php:346 msgid "warning" msgstr "警告" #: index.php:153 -msgid "Error happened when compiling at least one of your PHP code" -msgstr "至少在编译其中一个您的 PHP 代码时发生编译错误" +msgid "Error happened when compiling one or some of your PHP code" +msgstr "至少在编译一个或多个您的 PHP 代码时发生编译错误" #: index.php:154 msgid "" -"This usually means there is syntax error in your PHP code. Enable PHP " -"error_log to see what parser error is it, fix your code" +"PHP code failed to be compiled cannot be cached. This usually means there " +"was syntax error in your PHP code. Enable PHP error_log to see what parser " +"error is it, fix your code. This warning won't go away until PHP is restarted" msgstr "" -"这通常意味着您的 PHP 代码有语法错误. 请启用 error_log 调查具体错误原因并修复" -"您的代码" +"编译失败的 PHP 代码是无法缓存的. 这通常意味着您的 PHP 代码有语法错误. 请启用 " +"error_log 调查具体错误原因并修复您的代码. 重启 PHP 前这个警告不会消失" #: index.php:158 msgid "No error happened" @@ -155,12 +156,14 @@ msgid "Enabling VAR Cacher" msgstr "启用 VAR 缓存器" #: index.php:185 +#, fuzzy msgid "" "PHP code that use XCache caching backend have to use other caching backend " -"instead. Set xcache.var_size to non-zero" +"instead. Set xcache.var_size to non-zero if you have any PHP code that can " +"use XCache Data Caching API" msgstr "" -"使用 XCache 作为数据缓存器的 PHP 代码将不得不采用其他缓存器代替. 设置 xcache." -"var_size 为非 0" +"支持使用 XCache 作为数据缓存器的 PHP 代码将不得不采用其他缓存器代替. 如果您有" +"代码支持 XCache 缓存 API 的话, 您可以设置 xcache.var_size 为非 0" #: index.php:191 msgid "Using VAR Cacher" @@ -364,17 +367,16 @@ msgstr "" "可继续使用 Zend 加密的文件" #: index.php:393 -#, fuzzy msgid "SAPI Compatibility" msgstr "Extension 兼容性" #: index.php:396 msgid "CGI is not supported" -msgstr "" +msgstr "不支持 CGI" #: index.php:396 msgid "Use FastCGI or FPM instead" -msgstr "" +msgstr "请改用 FastCGI 或者 FPM" #: index.php:401 msgid "" diff --git a/htdocs/diagnosis/lang/zh-traditional.po b/htdocs/diagnosis/lang/zh-traditional.po index a414fa7..a1984c0 100644 --- a/htdocs/diagnosis/lang/zh-traditional.po +++ b/htdocs/diagnosis/lang/zh-traditional.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-11-13 18:17+0800\n" +"POT-Creation-Date: 2012-11-20 10:32+0800\n" "Language: zh_TW\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -54,8 +54,8 @@ msgstr "" msgid "Not loaded" msgstr "" -#: index.php:90 index.php:129 index.php:135 index.php:183 index.php:290 -#: index.php:308 index.php:373 index.php:396 index.php:399 +#: index.php:90 index.php:129 index.php:135 index.php:290 index.php:308 +#: index.php:373 index.php:396 index.php:399 msgid "error" msgstr "" @@ -106,19 +106,20 @@ msgstr "" msgid "PHP Compile Time Error" msgstr "" -#: index.php:152 index.php:169 index.php:193 index.php:210 index.php:238 -#: index.php:246 index.php:261 index.php:329 index.php:346 +#: index.php:152 index.php:169 index.php:183 index.php:193 index.php:210 +#: index.php:238 index.php:246 index.php:261 index.php:329 index.php:346 msgid "warning" msgstr "" #: index.php:153 -msgid "Error happened when compiling at least one of your PHP code" +msgid "Error happened when compiling one or some of your PHP code" msgstr "" #: index.php:154 msgid "" -"This usually means there is syntax error in your PHP code. Enable PHP " -"error_log to see what parser error is it, fix your code" +"PHP code failed to be compiled cannot be cached. This usually means there " +"was syntax error in your PHP code. Enable PHP error_log to see what parser " +"error is it, fix your code. This warning won't go away until PHP is restarted" msgstr "" #: index.php:158 @@ -150,7 +151,8 @@ msgstr "" #: index.php:185 msgid "" "PHP code that use XCache caching backend have to use other caching backend " -"instead. Set xcache.var_size to non-zero" +"instead. Set xcache.var_size to non-zero if you have any PHP code that can " +"use XCache Data Caching API" msgstr "" #: index.php:191