Changeset 1179 for trunk


Ignore:
Timestamp:
2012-11-20T03:34:13+01:00 (3 years ago)
Author:
moo
Message:

updates note

Location:
trunk/htdocs/diagnosis
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/diagnosis/index.php

    r1169 r1179  
    151151else if ($errors) {
    152152    result(N_("warning")
    153         , _T("Error happened when compiling at least one of your PHP code")
    154         , _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")
     153        , _T("Error happened when compiling one or some of your PHP code")
     154        , _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")
    155155        );
    156156}
     
    181181}
    182182else if (!ini_get("xcache.var_size")) {
    183     result(N_("error")
     183    result(N_("warning")
    184184        , _T("Not enabled")
    185         , _T("PHP code that use XCache caching backend have to use other caching backend instead. Set xcache.var_size to non-zero")
     185        , _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")
    186186        );
    187187}
  • trunk/htdocs/diagnosis/lang/en.po

    r1173 r1179  
    22msgstr ""
    33"Report-Msgid-Bugs-To: \n"
    4 "POT-Creation-Date: 2012-11-13 18:17+0800\n"
     4"POT-Creation-Date: 2012-11-20 10:32+0800\n"
    55"Language: en\n"
    66"MIME-Version: 1.0\n"
     
    5555msgstr ""
    5656
    57 #: index.php:90 index.php:129 index.php:135 index.php:183 index.php:290
    58 #: index.php:308 index.php:373 index.php:396 index.php:399
     57#: index.php:90 index.php:129 index.php:135 index.php:290 index.php:308
     58#: index.php:373 index.php:396 index.php:399
    5959msgid "error"
    6060msgstr ""
     
    107107msgstr ""
    108108
    109 #: index.php:152 index.php:169 index.php:193 index.php:210 index.php:238
    110 #: index.php:246 index.php:261 index.php:329 index.php:346
     109#: index.php:152 index.php:169 index.php:183 index.php:193 index.php:210
     110#: index.php:238 index.php:246 index.php:261 index.php:329 index.php:346
    111111msgid "warning"
    112112msgstr ""
    113113
    114114#: index.php:153
    115 msgid "Error happened when compiling at least one of your PHP code"
     115msgid "Error happened when compiling one or some of your PHP code"
    116116msgstr ""
    117117
    118118#: index.php:154
    119119msgid ""
    120 "This usually means there is syntax error in your PHP code. Enable PHP "
    121 "error_log to see what parser error is it, fix your code"
     120"PHP code failed to be compiled cannot be cached. This usually means there "
     121"was syntax error in your PHP code. Enable PHP error_log to see what parser "
     122"error is it, fix your code. This warning won't go away until PHP is restarted"
    122123msgstr ""
    123124
     
    151152msgid ""
    152153"PHP code that use XCache caching backend have to use other caching backend "
    153 "instead. Set xcache.var_size to non-zero"
     154"instead. Set xcache.var_size to non-zero if you have any PHP code that can "
     155"use XCache Data Caching API"
    154156msgstr ""
    155157
  • trunk/htdocs/diagnosis/lang/zh-simplified.php

    r1173 r1179  
    4848        "warning"
    4949        => "警告",
    50         "Error happened when compiling at least one of your PHP code"
    51         => "至少在编译其中一个您的 PHP 代码时发生编译错误",
    52         "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"
    53         => "这通常意味着您的 PHP 代码有语法错误. 请启用 error_log 调查具体错误原因并修复您的代码",
     50        "Error happened when compiling one or some of your PHP code"
     51        => "至少在编译一个或多个您的 PHP 代码时发生编译错误",
     52        "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"
     53        => "编译失败的 PHP 代码是无法缓存的. 这通常意味着您的 PHP 代码有语法错误. 请启用 error_log 调查具体错误原因并修复您的代码. 重启 PHP 前这个警告不会消失",
    5454        "No error happened"
    5555        => "未发生过错误",
     
    6464        "Enabling VAR Cacher"
    6565        => "启用 VAR 缓存器",
    66         "PHP code that use XCache caching backend have to use other caching backend instead. Set xcache.var_size to non-zero"
    67         => "使用 XCache 作为数据缓存器的 PHP 代码将不得不采用其他缓存器代替. 设置 xcache.var_size 为非 0",
     66        "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"
     67        => "支持使用 XCache 作为数据缓存器的 PHP 代码将不得不采用其他缓存器代替. 如果您有代码支持 XCache 缓存 API 的话, 您可以设置 xcache.var_size 为非 0",
    6868        "Using VAR Cacher"
    6969        => "使用 VAR 缓存器",
     
    148148        "SAPI Compatibility"
    149149        => "Extension 兼容性",
     150        "CGI is not supported"
     151        => "不支持 CGI",
     152        "Use FastCGI or FPM instead"
     153        => "请改用 FastCGI 或者 FPM",
    150154        "PHP_FCGI_CHILDREN should be >= 1 and use 1 group of parent/childs model. See http://xcache.lighttpd.net/wiki/Faq"
    151155        => "PHP_FCGI_CHILDREN 应该设为 >= 1 并且使用 1 组单父多子模型. 参见 http://xcache.lighttpd.net/wiki/Faq",
  • trunk/htdocs/diagnosis/lang/zh-simplified.po

    r1173 r1179  
    22msgstr ""
    33"Report-Msgid-Bugs-To: \n"
    4 "POT-Creation-Date: 2012-11-13 18:17+0800\n"
     4"POT-Creation-Date: 2012-11-20 10:32+0800\n"
    55"Language: zh\n"
    66"MIME-Version: 1.0\n"
     
    5656msgstr "未载入"
    5757
    58 #: index.php:90 index.php:129 index.php:135 index.php:183 index.php:290
    59 #: index.php:308 index.php:373 index.php:396 index.php:399
     58#: index.php:90 index.php:129 index.php:135 index.php:290 index.php:308
     59#: index.php:373 index.php:396 index.php:399
    6060msgid "error"
    6161msgstr "错误"
     
    110110msgstr "PHP 编译时错误"
    111111
    112 #: index.php:152 index.php:169 index.php:193 index.php:210 index.php:238
    113 #: index.php:246 index.php:261 index.php:329 index.php:346
     112#: index.php:152 index.php:169 index.php:183 index.php:193 index.php:210
     113#: index.php:238 index.php:246 index.php:261 index.php:329 index.php:346
    114114msgid "warning"
    115115msgstr "警告"
    116116
    117117#: index.php:153
    118 msgid "Error happened when compiling at least one of your PHP code"
    119 msgstr "至少在编译其中一个您的 PHP 代码时发生编译错误"
     118msgid "Error happened when compiling one or some of your PHP code"
     119msgstr "至少在编译一个或多个您的 PHP 代码时发生编译错误"
    120120
    121121#: index.php:154
    122122msgid ""
    123 "This usually means there is syntax error in your PHP code. Enable PHP "
    124 "error_log to see what parser error is it, fix your code"
    125 msgstr ""
    126 "这通常意味着您的 PHP 代码有语法错误. 请启用 error_log 调查具体错误原因并修复"
    127 "您的代码"
     123"PHP code failed to be compiled cannot be cached. This usually means there "
     124"was syntax error in your PHP code. Enable PHP error_log to see what parser "
     125"error is it, fix your code. This warning won't go away until PHP is restarted"
     126msgstr ""
     127"编译失败的 PHP 代码是无法缓存的. 这通常意味着您的 PHP 代码有语法错误. 请启用 "
     128"error_log 调查具体错误原因并修复您的代码. 重启 PHP 前这个警告不会消失"
    128129
    129130#: index.php:158
     
    156157
    157158#: index.php:185
     159#, fuzzy
    158160msgid ""
    159161"PHP code that use XCache caching backend have to use other caching backend "
    160 "instead. Set xcache.var_size to non-zero"
    161 msgstr ""
    162 "使用 XCache 作为数据缓存器的 PHP 代码将不得不采用其他缓存器代替. 设置 xcache."
    163 "var_size 为非 0"
     162"instead. Set xcache.var_size to non-zero if you have any PHP code that can "
     163"use XCache Data Caching API"
     164msgstr ""
     165"支持使用 XCache 作为数据缓存器的 PHP 代码将不得不采用其他缓存器代替. 如果您有"
     166"代码支持 XCache 缓存 API 的话, 您可以设置 xcache.var_size 为非 0"
    164167
    165168#: index.php:191
     
    365368
    366369#: index.php:393
    367 #, fuzzy
    368370msgid "SAPI Compatibility"
    369371msgstr "Extension 兼容性"
     
    371373#: index.php:396
    372374msgid "CGI is not supported"
    373 msgstr ""
     375msgstr "不支持 CGI"
    374376
    375377#: index.php:396
    376378msgid "Use FastCGI or FPM instead"
    377 msgstr ""
     379msgstr "请改用 FastCGI 或者 FPM"
    378380
    379381#: index.php:401
  • trunk/htdocs/diagnosis/lang/zh-traditional.po

    r1173 r1179  
    22msgstr ""
    33"Report-Msgid-Bugs-To: \n"
    4 "POT-Creation-Date: 2012-11-13 18:17+0800\n"
     4"POT-Creation-Date: 2012-11-20 10:32+0800\n"
    55"Language: zh_TW\n"
    66"MIME-Version: 1.0\n"
     
    5555msgstr ""
    5656
    57 #: index.php:90 index.php:129 index.php:135 index.php:183 index.php:290
    58 #: index.php:308 index.php:373 index.php:396 index.php:399
     57#: index.php:90 index.php:129 index.php:135 index.php:290 index.php:308
     58#: index.php:373 index.php:396 index.php:399
    5959msgid "error"
    6060msgstr ""
     
    107107msgstr ""
    108108
    109 #: index.php:152 index.php:169 index.php:193 index.php:210 index.php:238
    110 #: index.php:246 index.php:261 index.php:329 index.php:346
     109#: index.php:152 index.php:169 index.php:183 index.php:193 index.php:210
     110#: index.php:238 index.php:246 index.php:261 index.php:329 index.php:346
    111111msgid "warning"
    112112msgstr ""
    113113
    114114#: index.php:153
    115 msgid "Error happened when compiling at least one of your PHP code"
     115msgid "Error happened when compiling one or some of your PHP code"
    116116msgstr ""
    117117
    118118#: index.php:154
    119119msgid ""
    120 "This usually means there is syntax error in your PHP code. Enable PHP "
    121 "error_log to see what parser error is it, fix your code"
     120"PHP code failed to be compiled cannot be cached. This usually means there "
     121"was syntax error in your PHP code. Enable PHP error_log to see what parser "
     122"error is it, fix your code. This warning won't go away until PHP is restarted"
    122123msgstr ""
    123124
     
    151152msgid ""
    152153"PHP code that use XCache caching backend have to use other caching backend "
    153 "instead. Set xcache.var_size to non-zero"
     154"instead. Set xcache.var_size to non-zero if you have any PHP code that can "
     155"use XCache Data Caching API"
    154156msgstr ""
    155157
Note: See TracChangeset for help on using the changeset viewer.