Changeset 1103 in svn for trunk


Ignore:
Timestamp:
2012-08-01T09:11:21Z (3 years ago)
Author:
Xuefer
Message:

htdocs: fixed po2php. add translation for diagnosis

Location:
trunk
Files:
13 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/devel/po2php.awk

    r1102 r1103  
    1414            }
    1515            else {
    16                 print "\t\t'"msgid"'";
    17                 print "\t\t=> '"msgstr"',";
     16                print "\t\t\""msgid"\"";
     17                print "\t\t=> \""msgstr"\",";
    1818            }
    1919        }
  • trunk/devel/prepare.mak

    r1101 r1103  
    119119    mv "$$@".tmp "$$@"
    120120
    121   htdocs/$(1)/lang/$(1).pot: $(shell find htdocs/$(1) -type f | grep php | grep -v lang | grep -v config)
     121  htdocs/$(1)/lang/$(1).pot: $(shell find htdocs/$(1) -type f | grep php | grep -v lang | grep -v config | grep -vF .swp)
    122122
    123123endef
  • trunk/devel/run

    r1102 r1103  
    1717    exec $MAKE -f devel/prepare.mak "${args[@]}"
    1818    ;;
    19 *langphp)
     19po2php)
     20    ./run mergepo
    2021    find htdocs -iname '*.po' | while read -r i; do
    2122        phpfile=${i/.po/.php}
    22         devel/updatelangphp.awk < $i > $phpfile.tmp
     23        devel/po2php.awk < $i > $phpfile.tmp
    2324        mv $phpfile.tmp $phpfile
    2425    done
  • trunk/htdocs/cacher/lang/en.php

    r1102 r1103  
    22// auto generated, do not modify
    33$strings += array(
    4         'php Cached'
    5         => 'PHP Cached',
    6         'var Cached'
    7         => 'Variable Cached',
    8         'php Deleted'
    9         => 'PHP Deleted',
    10         'var Deleted'
    11         => 'Variable Deleted',
    12         'entry.id'
    13         => 'Id|',
    14         'entry.remove'
    15         => 'Remove|',
    16         'entry.name'
    17         => 'Entry name|The entry name or filename',
    18         'entry.hits'
    19         => 'Hits|Hit times of this entry (loaded from this cache)',
    20         'entry.size'
    21         => 'Size|Size in bytes of this entry in the cache',
    22         'entry.refcount'
    23         => 'Refs|Reference count of this entry is holded by a php request',
    24         'entry.phprefcount'
    25         => 'Shares|Count of entry sharing this php data',
    26         'entry.class_cnt'
    27         => 'Cls.|Count of classes',
    28         'entry.function_cnt'
    29         => 'Funcs|Count of functions',
    30         'entry.file_size'
    31         => 'Src Size|Size of the source file',
    32         'entry.file_mtime'
    33         => 'Modified|Last modified time of the source file',
    34         'entry.file_device'
    35         => 'dev|device number of the source file',
    36         'entry.file_inode'
    37         => 'ino|inode number of the source file',
    38         'entry.hash'
    39         => 'Hash|Hash value of this entry',
    40         'entry.atime'
    41         => 'Access|Last time when this entry is accessed',
    42         'entry.ctime'
    43         => 'Create|The time when this entry is stored',
    44         'entry.delete'
    45         => 'Delete|The time when this entry is deleted',
    46         'Caches'
    47         => 'Caches',
    48         'cache.cache'
    49         => 'Cache|',
    50         'cache.slots'
    51         => 'Slots|Number of hash slots. the setting from your php.ini',
    52         'cache.size'
    53         => 'Size|Cache Size, Size of the cache (or cache chunk), in bytes',
    54         'cache.avail'
    55         => 'Avail|Available Memory, free memory in bytes of this cache',
    56         'cache.blocksgraph'
    57         => 'Percent Graph|Shows how much memory available in percent, and memory blocks status in graph',
    58         'cache.operations'
    59         => 'Operations|Press the clear button to clean this cache',
    60         'cache.status'
    61         => 'Status|Compiling flag, \"Compiling\" if the cache is busy compiling php script. \"Disabled\" if cache is disabled',
    62         'cache.hits'
    63         => 'Hits|Cache Hits, hit=a var/php is loaded from this cache',
    64         'cache.hits_graph'
    65         => 'Hits*24H|Hits graph of last 24 hours',
    66         'cache.hits_avg_h'
    67         => 'Hits/H|Average Hits per Hour. Only last 24 hours is logged',
    68         'cache.hits_avg_s'
    69         => 'Hits/S|Average Hits per Second. Only last 5 seconds is logged',
    70         'cache.updates'
    71         => 'Updates|Cache Updates',
    72         'cache.skips'
    73         => 'Skips|Skips. Skip=updates are needed but skipped for some reason. e.g.: other process/thread is busy compiling on this cache',
    74         'cache.ooms'
    75         => 'OOMs|Out Of Memory, how many times a new item should be stored but there isn't enough memory in the cache, think of increasing the xcache.size or xcache.var_size',
    76         'cache.errors'
    77         => 'Errs|Compiler errors, how many times your script is compiled but failed. You should really check what is happening if you see this value increase. (See Help for more information)',
    78         'cache.readonly_protected'
    79         => 'Protected|Whether readonly_protection is available and enable on this cache (See help for more information)',
    80         'cache.cached'
    81         => 'Cached|Number of entries stored in this cache',
    82         'cache.deleted'
    83         => 'Deleted|Number of entries is pending in delete list (expired but referenced)',
    84         'cache.gc_timer'
    85         => 'GC|Seconds count down of Garbage Collection',
     4        "php Cached"
     5        => "PHP Cached",
     6        "var Cached"
     7        => "Variable Cached",
     8        "php Deleted"
     9        => "PHP Deleted",
     10        "var Deleted"
     11        => "Variable Deleted",
     12        "entry.id"
     13        => "Id|",
     14        "entry.remove"
     15        => "Remove|",
     16        "entry.name"
     17        => "Entry name|The entry name or filename",
     18        "entry.hits"
     19        => "Hits|Hit times of this entry (loaded from this cache)",
     20        "entry.size"
     21        => "Size|Size in bytes of this entry in the cache",
     22        "entry.refcount"
     23        => "Refs|Reference count of this entry is holded by a php request",
     24        "entry.phprefcount"
     25        => "Shares|Count of entry sharing this php data",
     26        "entry.class_cnt"
     27        => "Cls.|Count of classes",
     28        "entry.function_cnt"
     29        => "Funcs|Count of functions",
     30        "entry.file_size"
     31        => "Src Size|Size of the source file",
     32        "entry.file_mtime"
     33        => "Modified|Last modified time of the source file",
     34        "entry.file_device"
     35        => "dev|device number of the source file",
     36        "entry.file_inode"
     37        => "ino|inode number of the source file",
     38        "entry.hash"
     39        => "Hash|Hash value of this entry",
     40        "entry.atime"
     41        => "Access|Last time when this entry is accessed",
     42        "entry.ctime"
     43        => "Create|The time when this entry is stored",
     44        "entry.delete"
     45        => "Delete|The time when this entry is deleted",
     46        "Caches"
     47        => "Caches",
     48        "cache.cache"
     49        => "Cache|",
     50        "cache.slots"
     51        => "Slots|Number of hash slots. the setting from your php.ini",
     52        "cache.size"
     53        => "Size|Cache Size, Size of the cache (or cache chunk), in bytes",
     54        "cache.avail"
     55        => "Avail|Available Memory, free memory in bytes of this cache",
     56        "cache.blocksgraph"
     57        => "Percent Graph|Shows how much memory available in percent, and memory blocks status in graph",
     58        "cache.operations"
     59        => "Operations|Press the clear button to clean this cache",
     60        "cache.status"
     61        => "Status|Compiling flag, \"Compiling\" if the cache is busy compiling php script. \"Disabled\" if cache is disabled",
     62        "cache.hits"
     63        => "Hits|Cache Hits, hit=a var/php is loaded from this cache",
     64        "cache.hits_graph"
     65        => "Hits*24H|Hits graph of last 24 hours",
     66        "cache.hits_avg_h"
     67        => "Hits/H|Average Hits per Hour. Only last 24 hours is logged",
     68        "cache.hits_avg_s"
     69        => "Hits/S|Average Hits per Second. Only last 5 seconds is logged",
     70        "cache.updates"
     71        => "Updates|Cache Updates",
     72        "cache.skips"
     73        => "Skips|Skips. Skip=updates are needed but skipped for some reason. e.g.: other process/thread is busy compiling on this cache",
     74        "cache.ooms"
     75        => "OOMs|Out Of Memory, how many times a new item should be stored but there isn't enough memory in the cache, think of increasing the xcache.size or xcache.var_size",
     76        "cache.errors"
     77        => "Errs|Compiler errors, how many times your script is compiled but failed. You should really check what is happening if you see this value increase. (See Help for more information)",
     78        "cache.readonly_protected"
     79        => "Protected|Whether readonly_protection is available and enable on this cache (See help for more information)",
     80        "cache.cached"
     81        => "Cached|Number of entries stored in this cache",
     82        "cache.deleted"
     83        => "Deleted|Number of entries is pending in delete list (expired but referenced)",
     84        "cache.gc_timer"
     85        => "GC|Seconds count down of Garbage Collection",
    8686        );
    8787
  • trunk/htdocs/cacher/lang/zh-simplified.php

    r1102 r1103  
    22// auto generated, do not modify
    33$strings += array(
    4         'Editing Variable %s'
    5         => '正在编辑变量 %s',
    6         'Set %s in config to enable'
    7         => '请在配置文件中设置 %s 启用本功能',
    8         'Total'
    9         => '总共',
    10         'Summary'
    11         => '摘要信息',
    12         'List PHP'
    13         => '列出PHP',
    14         'List Var Data'
    15         => '列变量数据',
    16         'php Cached'
    17         => '缓存的 PHP 脚本',
    18         'var Cached'
    19         => '缓存的变量',
    20         'php Deleted'
    21         => '待删 PHP 缓存',
    22         'var Deleted'
    23         => '待删变量',
    24         'entry.id'
    25         => 'Id|',
    26         'entry.remove'
    27         => '删除|',
    28         'entry.name'
    29         => '项目名/文件名|项目名或者文件名',
    30         'entry.hits'
    31         => '命中|该项目被命中的次数 (从共享内存区载入)',
    32         'entry.size'
    33         => '大小|项目在共享内存里占用字节数',
    34         'entry.refcount'
    35         => '引用数|项目依然被其他进程占据的引用次数',
    36         'entry.phprefcount'
    37         => '共享数|与本项目相同 PHP 代码的个数',
    38         'entry.class_cnt'
    39         => '类|类个数',
    40         'entry.function_cnt'
    41         => '函数|函数个数',
    42         'entry.file_size'
    43         => '源大小|源文件大小',
    44         'entry.file_mtime'
    45         => '修改|源文件最后修改时间',
    46         'entry.file_device'
    47         => 'dev|源文件所在设备ID',
    48         'entry.file_inode'
    49         => 'ino|源文件的 inode',
    50         'entry.hash'
    51         => '哈希|该项目的哈希值',
    52         'entry.atime'
    53         => '访问|最后访问该项目的时间',
    54         'entry.ctime'
    55         => '创建|该项目被创建于共享内的时间',
    56         'entry.delete'
    57         => '删除|该项目被决定删除的时间',
    58         'Remove Selected'
    59         => '删除所选',
    60         'Module Info'
    61         => '模块信息',
    62         'Caches'
    63         => '缓存区',
    64         'cache.cache'
    65         => '缓存|',
    66         'cache.slots'
    67         => '槽|Hash 槽个数, 对应 php.ini 里的设置',
    68         'cache.size'
    69         => '大小|共享内存区大小, 单位: 字节',
    70         'cache.avail'
    71         => '剩余|可用内存, 对应共享内存区的剩余内存字节数',
    72         'cache.blocksgraph'
    73         => '百分比图|条状显示可用内存的比例, 以及显示分配块状态',
    74         'cache.operations'
    75         => '操作|点击按钮清除对应共享内存区的数据',
    76         'cache.status'
    77         => '状态|状态标记. 当共享内存区正在编译 PHP 脚本时标记为 \"编译中\". 当共享内存区暂停使用时标记为 \"禁用\"',
    78         'cache.hits'
    79         => '命中|共享内存命中次数, 命中=从该共享内存载入 PHP 或者变量',
    80         'cache.hits_graph'
    81         => '24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数',
    82         'cache.hits_avg_h'
    83         => '命中/H|每小时命中次数. 只统计最后 24 小时',
    84         'cache.hits_avg_s'
    85         => '命中/S|每秒命中次数. 只统计最后 5 秒',
    86         'cache.updates'
    87         => '更新|共享内存更新次数',
    88         'cache.skips'
    89         => '阻塞|跳过更新次数, 跳过=XCache 自动判断阻塞的共享内存区自动跳过阻塞等待, 直接使用非共享内存方式继续处理请求',
    90         'cache.ooms'
    91         => '内存不足|内存不足次数, 显示需要存储新数据但是共享内存区内存不足的次数. 如果出现太频繁请考虑加大配置中的 xcache.size 或者 xcache.var_size',
    92         'cache.errors'
    93         => '错误|编译错误, 显示您的脚本被编译时出错的次数. 如果您发现这个数字不断增长, 您应该检查什么脚本产生错误. 参考 帮助 获取更多信息',
    94         'cache.readonly_protected'
    95         => '保护|显示该 Cache 是否支持并启用 readonly_protection. 参考 帮助 获取更多信息',
    96         'cache.cached'
    97         => '缓存|共享内存于该共享内存区的项目条数',
    98         'cache.deleted'
    99         => '待删|共享内存区内将要删除的项目 (已经删除但是还被某些进程占用)',
    100         'cache.gc_timer'
    101         => 'GC|垃圾回收的倒计时',
    102         'Clear'
    103         => '清除',
    104         'Disabled'
    105         => '禁用',
    106         'Disable'
    107         => '禁用',
    108         'Enable'
    109         => '启用',
    110         'Compiling'
    111         => '编译中',
    112         'Normal'
    113         => '正常',
    114         'Sure?'
    115         => '确认?',
    116         'Legends:'
    117         => '图例:',
    118         '% Free'
    119         => '% 剩余',
    120         '% Used'
    121         => '% 已用',
    122         'Free Blocks'
    123         => '未用块',
    124         'Used Blocks'
    125         => '已用块',
    126         'Hits'
    127         => '命中',
     4        "Editing Variable %s"
     5        => "正在编辑变量 %s",
     6        "Set %s in config to enable"
     7        => "请在配置文件中设置 %s 启用本功能",
     8        "Total"
     9        => "总共",
     10        "Summary"
     11        => "摘要信息",
     12        "List PHP"
     13        => "列出PHP",
     14        "List Var Data"
     15        => "列变量数据",
     16        "php Cached"
     17        => "缓存的 PHP 脚本",
     18        "var Cached"
     19        => "缓存的变量",
     20        "php Deleted"
     21        => "待删 PHP 缓存",
     22        "var Deleted"
     23        => "待删变量",
     24        "entry.id"
     25        => "Id|",
     26        "entry.remove"
     27        => "删除|",
     28        "entry.name"
     29        => "项目名/文件名|项目名或者文件名",
     30        "entry.hits"
     31        => "命中|该项目被命中的次数 (从共享内存区载入)",
     32        "entry.size"
     33        => "大小|项目在共享内存里占用字节数",
     34        "entry.refcount"
     35        => "引用数|项目依然被其他进程占据的引用次数",
     36        "entry.phprefcount"
     37        => "共享数|与本项目相同 PHP 代码的个数",
     38        "entry.class_cnt"
     39        => "类|类个数",
     40        "entry.function_cnt"
     41        => "函数|函数个数",
     42        "entry.file_size"
     43        => "源大小|源文件大小",
     44        "entry.file_mtime"
     45        => "修改|源文件最后修改时间",
     46        "entry.file_device"
     47        => "dev|源文件所在设备ID",
     48        "entry.file_inode"
     49        => "ino|源文件的 inode",
     50        "entry.hash"
     51        => "哈希|该项目的哈希值",
     52        "entry.atime"
     53        => "访问|最后访问该项目的时间",
     54        "entry.ctime"
     55        => "创建|该项目被创建于共享内的时间",
     56        "entry.delete"
     57        => "删除|该项目被决定删除的时间",
     58        "Remove Selected"
     59        => "删除所选",
     60        "Module Info"
     61        => "模块信息",
     62        "Caches"
     63        => "缓存区",
     64        "cache.cache"
     65        => "缓存|",
     66        "cache.slots"
     67        => "槽|Hash 槽个数, 对应 php.ini 里的设置",
     68        "cache.size"
     69        => "大小|共享内存区大小, 单位: 字节",
     70        "cache.avail"
     71        => "剩余|可用内存, 对应共享内存区的剩余内存字节数",
     72        "cache.blocksgraph"
     73        => "百分比图|条状显示可用内存的比例, 以及显示分配块状态",
     74        "cache.operations"
     75        => "操作|点击按钮清除对应共享内存区的数据",
     76        "cache.status"
     77        => "状态|状态标记. 当共享内存区正在编译 PHP 脚本时标记为 \"编译中\". 当共享内存区暂停使用时标记为 \"禁用\"",
     78        "cache.hits"
     79        => "命中|共享内存命中次数, 命中=从该共享内存载入 PHP 或者变量",
     80        "cache.hits_graph"
     81        => "24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数",
     82        "cache.hits_avg_h"
     83        => "命中/H|每小时命中次数. 只统计最后 24 小时",
     84        "cache.hits_avg_s"
     85        => "命中/S|每秒命中次数. 只统计最后 5 秒",
     86        "cache.updates"
     87        => "更新|共享内存更新次数",
     88        "cache.skips"
     89        => "阻塞|跳过更新次数, 跳过=XCache 自动判断阻塞的共享内存区自动跳过阻塞等待, 直接使用非共享内存方式继续处理请求",
     90        "cache.ooms"
     91        => "内存不足|内存不足次数, 显示需要存储新数据但是共享内存区内存不足的次数. 如果出现太频繁请考虑加大配置中的 xcache.size 或者 xcache.var_size",
     92        "cache.errors"
     93        => "错误|编译错误, 显示您的脚本被编译时出错的次数. 如果您发现这个数字不断增长, 您应该检查什么脚本产生错误. 参考 帮助 获取更多信息",
     94        "cache.readonly_protected"
     95        => "保护|显示该 Cache 是否支持并启用 readonly_protection. 参考 帮助 获取更多信息",
     96        "cache.cached"
     97        => "缓存|共享内存于该共享内存区的项目条数",
     98        "cache.deleted"
     99        => "待删|共享内存区内将要删除的项目 (已经删除但是还被某些进程占用)",
     100        "cache.gc_timer"
     101        => "GC|垃圾回收的倒计时",
     102        "Clear"
     103        => "清除",
     104        "Disabled"
     105        => "禁用",
     106        "Disable"
     107        => "禁用",
     108        "Enable"
     109        => "启用",
     110        "Compiling"
     111        => "编译中",
     112        "Normal"
     113        => "正常",
     114        "Sure?"
     115        => "确认?",
     116        "Legends:"
     117        => "图例:",
     118        "% Free"
     119        => "% 剩余",
     120        "% Used"
     121        => "% 已用",
     122        "Free Blocks"
     123        => "未用块",
     124        "Used Blocks"
     125        => "已用块",
     126        "Hits"
     127        => "命中",
    128128        );
    129129
  • trunk/htdocs/cacher/lang/zh-traditional.php

    r1102 r1103  
    22// auto generated, do not modify
    33$strings += array(
    4         'Editing Variable %s'
    5         => '正在编辑变量 %s',
    6         'Set %s in config to enable'
    7         => '請在配置文件中設置 %s 啟用本功能',
    8         'Total'
    9         => '总共',
    10         'Summary'
    11         => '簡要訊息',
    12         'List PHP'
    13         => '列出PHP',
    14         'List Var Data'
    15         => '列變數資料',
    16         'php Cached'
    17         => '快取的 PHP 指令',
    18         'var Cached'
    19         => '快取的變數',
    20         'php Deleted'
    21         => '待刪 PHP 指令',
    22         'var Deleted'
    23         => '待刪變數',
    24         'entry.id'
    25         => 'Id|',
    26         'entry.remove'
    27         => '移除|',
    28         'entry.name'
    29         => '項目名稱/檔案名稱|項目名稱或者檔案名稱',
    30         'entry.hits'
    31         => '命中|該項目被命中的次數 (從共享記憶體區載入)',
    32         'entry.size'
    33         => '大小|項目在共享記憶體裡佔用位元數',
    34         'entry.refcount'
    35         => '引用數|項目依然被其他程序佔用的引用次數',
    36         'entry.phprefcount'
    37         => '共享|與本項目相同 PHP 內容的个數',
    38         'entry.class_cnt'
    39         => '类|类个数',
    40         'entry.function_cnt'
    41         => '函数|函数个数',
    42         'entry.file_size'
    43         => '源大小|原始檔案大小',
    44         'entry.file_mtime'
    45         => '修改|原始檔案最後修改時間',
    46         'entry.file_device'
    47         => 'dev|原始檔案所在設備ID',
    48         'entry.file_inode'
    49         => 'ino|原始檔案的inode',
    50         'entry.hash'
    51         => 'Hash|Hash',
    52         'entry.atime'
    53         => '存取|最後存取該項目的時間',
    54         'entry.ctime'
    55         => '建立|該項目被建立於共享內的時間',
    56         'entry.delete'
    57         => '移除|該項目被移除於共享內的時間',
    58         'Remove Selected'
    59         => '移除所选',
    60         'Module Info'
    61         => '組元訊息',
    62         'Caches'
    63         => '快取',
    64         'cache.cache'
    65         => '快取|',
    66         'cache.slots'
    67         => '槽|Hash 槽個數,對應 php.ini 裡的設置',
    68         'cache.size'
    69         => '大小|共享記憶體區大小,單位:位元',
    70         'cache.avail'
    71         => '剩餘|可用記憶體,對應共享記憶體區的剩餘記憶體位元數',
    72         'cache.blocksgraph'
    73         => '百分比图|條狀顯示可用記憶體的比例',
    74         'cache.operations'
    75         => '操作按鈕|點擊按鈕清除對應共享記憶體區的資料',
    76         'cache.status'
    77         => '狀態|狀態標記. 當共享內存區正在編譯 PHP 腳本時標記為 \"編譯中\". 當共享內存區暫停使用時標記為 \"禁用\"',
    78         'cache.hits'
    79         => '命中|共享記憶體命中次數,命中=從該共享記憶體載入 PHP 或者變數',
    80         'cache.hits_graph'
    81         => '24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数',
    82         'cache.hits_avg_h'
    83         => '命中/H|每小时命中次数. 只统计最后 24 小时',
    84         'cache.hits_avg_s'
    85         => '命中/S|每秒命中次数. 只统计最后 5 秒',
    86         'cache.updates'
    87         => '更新|共享記憶更新過次數',
    88         'cache.skips'
    89         => '跳過|跳過更新次數,跳過=XCache 自動判斷阻塞的共享記憶體區自動跳過阻塞等待,直接使用非共享記憶體方式繼續處理請求',
    90         'cache.ooms'
    91         => '記憶體不足|記憶體不足次數,顯示需要儲存新資料但是共享記憶體區記憶體不足的次數. 如果出現太頻繁請考慮加大配置中的 xcache.size 或者 xcache.var_size',
    92         'cache.errors'
    93         => '错误|编译错误, 显示您的脚本被编译时出错的次数. 如果您发现这个数字不断增长, 您应该检查什么脚本产生错误. 参考 說明',
    94         'cache.readonly_protected'
    95         => 'Protected|顯示該 Cache 是否支援並啟用 readonly_protection. 参考 說明',
    96         'cache.cached'
    97         => '快取|共享記憶體於該共享記憶體區的項目個數',
    98         'cache.deleted'
    99         => '待刪|共享記憶體區內將要刪除的項目 (已經刪除但是還被某些程序佔用)',
    100         'cache.gc_timer'
    101         => 'GC|垃圾回收的倒數計時',
    102         'Clear'
    103         => '清除',
    104         'Disabled'
    105         => '禁用',
    106         'Disable'
    107         => '禁用',
    108         'Enable'
    109         => '啟用',
    110         'Compiling'
    111         => '編譯中',
    112         'Normal'
    113         => '正常',
    114         'Sure?'
    115         => '確認?',
    116         'Legends:'
    117         => '图例:',
    118         '% Free'
    119         => '% 剩余',
    120         '% Used'
    121         => '% 已用',
    122         'Free Blocks'
    123         => '未用块',
    124         'Used Blocks'
    125         => '已用块',
    126         'Hits'
    127         => '命中',
     4        "Editing Variable %s"
     5        => "正在编辑变量 %s",
     6        "Set %s in config to enable"
     7        => "請在配置文件中設置 %s 啟用本功能",
     8        "Total"
     9        => "总共",
     10        "Summary"
     11        => "簡要訊息",
     12        "List PHP"
     13        => "列出PHP",
     14        "List Var Data"
     15        => "列變數資料",
     16        "php Cached"
     17        => "快取的 PHP 指令",
     18        "var Cached"
     19        => "快取的變數",
     20        "php Deleted"
     21        => "待刪 PHP 指令",
     22        "var Deleted"
     23        => "待刪變數",
     24        "entry.id"
     25        => "Id|",
     26        "entry.remove"
     27        => "移除|",
     28        "entry.name"
     29        => "項目名稱/檔案名稱|項目名稱或者檔案名稱",
     30        "entry.hits"
     31        => "命中|該項目被命中的次數 (從共享記憶體區載入)",
     32        "entry.size"
     33        => "大小|項目在共享記憶體裡佔用位元數",
     34        "entry.refcount"
     35        => "引用數|項目依然被其他程序佔用的引用次數",
     36        "entry.phprefcount"
     37        => "共享|與本項目相同 PHP 內容的个數",
     38        "entry.class_cnt"
     39        => "类|类个数",
     40        "entry.function_cnt"
     41        => "函数|函数个数",
     42        "entry.file_size"
     43        => "源大小|原始檔案大小",
     44        "entry.file_mtime"
     45        => "修改|原始檔案最後修改時間",
     46        "entry.file_device"
     47        => "dev|原始檔案所在設備ID",
     48        "entry.file_inode"
     49        => "ino|原始檔案的inode",
     50        "entry.hash"
     51        => "Hash|Hash",
     52        "entry.atime"
     53        => "存取|最後存取該項目的時間",
     54        "entry.ctime"
     55        => "建立|該項目被建立於共享內的時間",
     56        "entry.delete"
     57        => "移除|該項目被移除於共享內的時間",
     58        "Remove Selected"
     59        => "移除所选",
     60        "Module Info"
     61        => "組元訊息",
     62        "Caches"
     63        => "快取",
     64        "cache.cache"
     65        => "快取|",
     66        "cache.slots"
     67        => "槽|Hash 槽個數,對應 php.ini 裡的設置",
     68        "cache.size"
     69        => "大小|共享記憶體區大小,單位:位元",
     70        "cache.avail"
     71        => "剩餘|可用記憶體,對應共享記憶體區的剩餘記憶體位元數",
     72        "cache.blocksgraph"
     73        => "百分比图|條狀顯示可用記憶體的比例",
     74        "cache.operations"
     75        => "操作按鈕|點擊按鈕清除對應共享記憶體區的資料",
     76        "cache.status"
     77        => "狀態|狀態標記. 當共享內存區正在編譯 PHP 腳本時標記為 \"編譯中\". 當共享內存區暫停使用時標記為 \"禁用\"",
     78        "cache.hits"
     79        => "命中|共享記憶體命中次數,命中=從該共享記憶體載入 PHP 或者變數",
     80        "cache.hits_graph"
     81        => "24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数",
     82        "cache.hits_avg_h"
     83        => "命中/H|每小时命中次数. 只统计最后 24 小时",
     84        "cache.hits_avg_s"
     85        => "命中/S|每秒命中次数. 只统计最后 5 秒",
     86        "cache.updates"
     87        => "更新|共享記憶更新過次數",
     88        "cache.skips"
     89        => "跳過|跳過更新次數,跳過=XCache 自動判斷阻塞的共享記憶體區自動跳過阻塞等待,直接使用非共享記憶體方式繼續處理請求",
     90        "cache.ooms"
     91        => "記憶體不足|記憶體不足次數,顯示需要儲存新資料但是共享記憶體區記憶體不足的次數. 如果出現太頻繁請考慮加大配置中的 xcache.size 或者 xcache.var_size",
     92        "cache.errors"
     93        => "错误|编译错误, 显示您的脚本被编译时出错的次数. 如果您发现这个数字不断增长, 您应该检查什么脚本产生错误. 参考 說明",
     94        "cache.readonly_protected"
     95        => "Protected|顯示該 Cache 是否支援並啟用 readonly_protection. 参考 說明",
     96        "cache.cached"
     97        => "快取|共享記憶體於該共享記憶體區的項目個數",
     98        "cache.deleted"
     99        => "待刪|共享記憶體區內將要刪除的項目 (已經刪除但是還被某些程序佔用)",
     100        "cache.gc_timer"
     101        => "GC|垃圾回收的倒數計時",
     102        "Clear"
     103        => "清除",
     104        "Disabled"
     105        => "禁用",
     106        "Disable"
     107        => "禁用",
     108        "Enable"
     109        => "啟用",
     110        "Compiling"
     111        => "編譯中",
     112        "Normal"
     113        => "正常",
     114        "Sure?"
     115        => "確認?",
     116        "Legends:"
     117        => "图例:",
     118        "% Free"
     119        => "% 剩余",
     120        "% Used"
     121        => "% 已用",
     122        "Free Blocks"
     123        => "未用块",
     124        "Used Blocks"
     125        => "已用块",
     126        "Hits"
     127        => "命中",
    128128        );
    129129
  • trunk/htdocs/common/lang/zh-simplified.php

    r1102 r1103  
    22// auto generated, do not modify
    33$strings += array(
    4         'Document'
    5         => '帮助文档',
    6         'INI Reference'
    7         => 'INI 参考',
    8         'Get Support'
    9         => '获取支持',
    10         'Discusson'
    11         => '讨论',
    12         'Cacher'
    13         => '缓存器',
    14         'Coverager'
    15         => '代码覆盖查看器',
    16         'Diagnosis'
    17         => '诊断',
     4        "Document"
     5        => "帮助文档",
     6        "INI Reference"
     7        => "INI 参考",
     8        "Get Support"
     9        => "获取支持",
     10        "Discusson"
     11        => "讨论",
     12        "Cacher"
     13        => "缓存器",
     14        "Coverager"
     15        => "代码覆盖查看器",
     16        "Diagnosis"
     17        => "诊断",
    1818        );
    1919
  • trunk/htdocs/common/lang/zh-traditional.php

    r1102 r1103  
    22// auto generated, do not modify
    33$strings += array(
    4         'Document'
    5         => '幫助文檔',
    6         'INI Reference'
    7         => 'INI 參考',
    8         'Get Support'
    9         => '獲取支持',
    10         'Discusson'
    11         => '討論',
    12         'Cacher'
    13         => '快取器',
    14         'Coverager'
    15         => '代码覆盖查看器',
    16         'Diagnosis'
    17         => '診斷',
     4        "Document"
     5        => "幫助文檔",
     6        "INI Reference"
     7        => "INI 參考",
     8        "Get Support"
     9        => "獲取支持",
     10        "Discusson"
     11        => "討論",
     12        "Cacher"
     13        => "快取器",
     14        "Coverager"
     15        => "代码覆盖查看器",
     16        "Diagnosis"
     17        => "診斷",
    1818        );
    1919
  • trunk/htdocs/coverager/lang/zh-simplified.php

    r1102 r1103  
    22// auto generated, do not modify
    33$strings += array(
    4         'Directory'
    5         => '目录',
    6         'Percent'
    7         => '覆盖率',
    8         'Hits'
    9         => '命中',
    10         'Lines'
    11         => '行数',
    12         'TODO'
    13         => '闲置文件',
    14         'File'
    15         => '文件',
    16         'root'
    17         => '开始',
     4        "Directory"
     5        => "目录",
     6        "Percent"
     7        => "覆盖率",
     8        "Hits"
     9        => "命中",
     10        "Lines"
     11        => "行数",
     12        "TODO"
     13        => "闲置文件",
     14        "File"
     15        => "文件",
     16        "root"
     17        => "开始",
    1818        );
    1919
  • trunk/htdocs/diagnosis/diagnosis.tpl.php

    r1092 r1103  
    1515        </th>
    1616        <th>
    17             <?php echo _T("Result/Suggestion"); ?>
     17            <?php echo _T("Explanation/Suggestion"); ?>
    1818        </th>
    1919    </tr>
     
    2121    <tr class="<?php echo $note['type']; ?>">
    2222        <td nowrap="nowrap" align="right"><?php echo $note['item']; ?></td>
    23         <td nowrap="nowrap"><?php echo ucfirst($note['type']); ?></td>
     23        <td nowrap="nowrap"><?php echo ucfirst(__($note['type'])); ?></td>
    2424        <td nowrap="nowrap"><?php echo nl2br($note['result']); ?></td>
    2525        <td><?php echo nl2br($note['suggestion']); ?></td>
  • trunk/htdocs/diagnosis/index.php

    r1099 r1103  
    8585    }
    8686    else {
    87         echo _T("Cannot detect ini location");
    88     }
    89     echo _T(" (See above)");
    90     result("error", _T('Not loaded'), ob_get_clean());
    91 }
    92 else {
    93     result("info", _T('Loaded'));
     87        echo _T("Cannot detect php.ini location");
     88    }
     89    echo " ", _T("(See above)");
     90    result(N_("error"), _T('Not loaded'), ob_get_clean());
     91}
     92else {
     93    result(N_("info"), _T('Loaded'));
    9494}
    9595// }}}
     
    124124checking(_T("Enabling PHP Cacher")); // {{{
    125125if (!$xcacheLoaded) {
    126     result("skipped", "XCache not loaded");
     126    result(N_("skipped"), "XCache not loaded");
    127127}
    128128else if (!ini_get("xcache.size")) {
    129     result(
    130         "error"
    131         , _T("Not enabled: Website is not accelerated by XCache")
    132         , _T("Set xcache.size to non-zero, set xcache.cacher = On")
     129    result(N_("error")
     130        , _T("Not enabled")
     131        , _T("Your PHP pages is not accelerated by XCache. Set xcache.size to non-zero, set xcache.cacher = On")
    133132        );
    134133}
    135134else if (!$phpCached) {
    136     result(
    137         "error"
    138         , _T("No php script cached: Website is not accelerated by XCache")
    139         , _T("Set xcache.cacher = On")
    140         );
    141 }
    142 else {
    143     result("info", _T('Enabled'));
     135    result(N_("error")
     136        , _T("No php script cached")
     137        , _T("Your PHP pages is not accelerated by XCache. Set xcache.cacher = On")
     138        );
     139}
     140else {
     141    result(N_("info"), _T('Enabled'));
    144142}
    145143// }}}
    146144checking(_T("PHP Compile Time Error")); // {{{
    147145if (!$xcacheLoaded) {
    148     result("skipped", "XCache not loaded");
     146    result(N_("skipped"), "XCache not loaded");
    149147}
    150148else if (!$phpCacheCount) {
    151     result("skipped", "XCache PHP cacher not enabled");
     149    result(N_("skipped"), "XCache PHP cacher not enabled");
    152150}
    153151else if ($errors) {
    154     result(
    155         "warning"
     152    result(N_("warning")
    156153        , _T("Error happened when compiling at least one of your PHP code")
    157154        , _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")
     
    159156}
    160157else {
    161     result("info", _T('No error happened'));
     158    result(N_("info"), _T('No error happened'));
    162159}
    163160// }}}
    164161checking(_T("Busy Compiling")); // {{{
    165162if (!$xcacheLoaded) {
    166     result("skipped", "XCache not loaded");
     163    result(N_("skipped"), "XCache not loaded");
    167164}
    168165else if (!$phpCacheCount) {
    169     result("skipped", "XCache PHP cacher not enabled");
     166    result(N_("skipped"), "XCache PHP cacher not enabled");
    170167}
    171168else if ($compiling) {
    172     result(
    173         "warning"
     169    result(N_("warning")
    174170        , _T("Cache marked as busy for compiling")
    175171        , _T("It's ok if this status don't stay for long. Otherwise, it could be a sign of PHP crash/coredump, report to XCache devs")
     
    177173}
    178174else {
    179     result("info", _T('Idle'));
     175    result(N_("info"), _T('Idle'));
    180176}
    181177// }}}
    182178checking(_T("Enabling VAR Cacher")); // {{{
    183179if (!$xcacheLoaded) {
    184     result("skipped", "XCache not loaded");
     180    result(N_("skipped"), "XCache not loaded");
    185181}
    186182else if (!ini_get("xcache.var_size")) {
    187     result(
    188         "error"
    189         , _T("Not enabled: code that use xcache var cacher fall back to other backend")
    190         , _T("Set xcache.var_size to non-zero")
    191         );
    192 }
    193 else {
    194     result("info", _T('Enabled'));
     183    result(N_("error")
     184        , _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")
     186        );
     187}
     188else {
     189    result(N_("info"), _T('Enabled'));
    195190
    196191    checking(_T("Using VAR Cacher")); // {{{
    197     if ($varCached) {
    198         result(
    199             "warning"
     192    if (!$varCached) {
     193        result(N_("warning")
    200194            , _T("No variable data cached")
    201195            , _T("Var Cacher won't work simply by enabling it."
    202                 . " PHP code must call XCache APIs like xcache_set() to use it as cache backend. 3rd party web apps may come with XCache support, config it to use XCache as cachign backend")
     196                . " PHP code must call XCache APIs like xcache_set() to use it as cache backend. 3rd party web apps may come with XCache support, config it to use XCache as caching backend")
    203197            );
    204198    }
    205199    else {
    206         result("info", _T('Cache in use'));
     200        result(N_("info"), _T('Cache in use'));
    207201    }
    208202    // }}}
     
    211205checking(_T("Cache Size")); // {{{
    212206if (!$xcacheLoaded) {
    213     result("skipped", "XCache not loaded");
     207    result(N_("skipped"), "XCache not loaded");
    214208}
    215209else if ($ooms) {
    216     result(
    217         "warning"
     210    result(N_("warning")
    218211        , _T("Out of memory happened when trying to write to cache")
    219212        , _T("Increase xcache.size and/or xcache.var_size")
     
    221214}
    222215else {
    223     result("info", _T('Enough'));
    224 }
    225 // }}}
    226 checking(_T("Slots")); // {{{
     216    result(N_("info"), _T('Enough'));
     217}
     218// }}}
     219checking(_T("Hash Slots")); // {{{
    227220$slotsTooBig = null;
    228221$slotsTooSmall = null;
     
    239232if (isset($slotsTooBig)) {
    240233    $prefix = $slotsTooBig == XC_TYPE_PHP ? '' : 'var_';
    241     result(
    242         "warning"
     234    result(N_("warning")
    243235        , _T("Slots value too big")
    244236        , sprintf(_T("A very small value is set to %s value and leave %s value is too big.\n"
     
    248240else if (isset($slotsTooSmall)) {
    249241    $prefix = $slotsTooSmall == XC_TYPE_PHP ? '' : 'var_';
    250     result(
    251         "warning"
     242    result(N_("warning")
    252243        , _T("Slots value too small")
    253244        , sprintf(_T("So many item are cached. Increase %s to a more proper value"), "xcache.{$prefix}slots")
     
    255246}
    256247else {
    257     result("info", _T('Looks good'));
     248    result(N_("info"), _T('Looks good'));
    258249}
    259250// }}}
    260251checking(_T("Cache Status")); // {{{
    261252if (!$xcacheLoaded) {
    262     result("skipped", "XCache not loaded");
     253    result(N_("skipped"), "XCache not loaded");
    263254}
    264255else if ($disabled) {
    265     result(
    266         "warning"
     256    result(N_("warning")
    267257        , _T("At least one of the caches is disabled. ")
    268             . (ini_get("xcache.crash_on_coredump") ? _T("It was disabled by PHP crash/coredump handler or You disabled it manually") : _T('You disabled it manually'))
    269258        , _T("Enable the cache.")
     259            . (ini_get("xcache.crash_on_coredump") ? " " . _T("It was disabled by PHP crash/coredump handler or you disabled it manually.") : _T('You disabled it manually.'))
    270260            . (ini_get("xcache.crash_on_coredump") ? " " . _T("If it was caused by PHP crash/coredump, report to XCache devs") : "")
    271261        );
    272262}
    273263else {
    274     result("info", _T('Idle'));
     264    result(N_("info"), _T('Idle'));
    275265}
    276266// }}}
     
    278268checking(_T("Coredump Directory")); // {{{
    279269if (!$xcacheLoaded) {
    280     result("skipped", "XCache not loaded");
     270    result(N_("skipped"), "XCache not loaded");
    281271}
    282272else if (!ini_get("xcache.coredump_directory")) {
    283     result("info"
     273    result(N_("info")
    284274            , _T("Not enabled")
    285             , _T("Enable coredump to know your PHP crash. It can also be enabled in fpm other than in XCache")
     275            , _T("Enable coredump to save debugging information in case when PHP crash. It can also be enabled in other module like php-fpm beside XCache")
    286276            );
    287277}
     
    293283    $coreFiles = glob($coreDir . "core*");
    294284    if ($coreFiles) {
    295         result("error"
     285        result(N_("error")
    296286                , _T("Core files found:\n") . implode("\n", $coreFiles)
    297                 , _T("Disable XCache PHP Cacher (xcache.size=0), remove the core file(s). If core file appears again, report call stack backtrace in the core to XCache devs")
     287                , _T("Disable XCache PHP Cacher (set xcache.size=0), remove the core file(s), then restart PHP. If core file appears again, report call stack backtrace in the core to XCache devs")
    298288                );
    299289    }
    300290    else {
    301         result("info"
     291        result(N_("info")
    302292                , _T("Enabled")
    303293                , sprintf(_T("You can see core files if PHP crash in %s if PHP crash"), ini_get("xcache.coredump_directory"))
     
    308298checking(_T("Readonly Protection")); // {{{
    309299if (!$xcacheLoaded) {
    310     result("skipped", "XCache not loaded");
     300    result(N_("skipped"), "XCache not loaded");
    311301}
    312302else if (ini_get("xcache.readonly_protection") && !$readonlyProtection) {
    313     result(
    314         "error"
     303    result(N_("error")
    315304        , _T("Set to enabled but not available")
    316305        , _T("Use xcache.mmap_path other than /dev/zero")
     
    318307}
    319308else {
    320     result(
    321         "info"
     309    result(N_("info")
    322310        , $readonlyProtection ? _T("Enabled") : _T("Disabled")
    323311        , _T("Enable readonly_protection == --performance & ++stability. "
     
    328316checking(_T("XCache modules")); // {{{
    329317if (!$xcacheLoaded) {
    330     result("skipped", "XCache not loaded");
     318    result(N_("skipped"), "XCache not loaded");
    331319}
    332320else {
     
    334322    $unexpectedModules = array_intersect($xcacheModules, array("coverager", "disassembler"));
    335323    if ($unexpectedModules) {
    336         result(
    337             "warning"
     324        result(N_("warning")
    338325            , implode("\n", $unexpectedModules)
    339             , _T("Acceptable. Module(s) listed above are built into XCache but not for production server\n"
     326            , _T("Acceptable. Module(s) listed are built into XCache but not for production server.\n"
    340327                . "Leave it as is if you're feeling good.\n"
    341                 . "Re-configure XCache with the above module(s) disabled if you're strict with server security.")
     328                . "Re-configure XCache with the module(s) disabled if you're strict with server security.")
    342329            );
    343330    }
    344331    else {
    345         result("info", _T('Idle'));
     332        result(N_("info"), _T('Idle'));
    346333    }
    347334}
     
    349336checking(_T("XCache test setting")); // {{{
    350337if (!$xcacheLoaded) {
    351     result("skipped", "XCache not loaded");
     338    result(N_("skipped"), "XCache not loaded");
    352339}
    353340else if ((int) ini_get('xcache.test') == 1) {
    354     result(
    355         "warning"
     341    result(N_("warning")
    356342        , _T("Enabled")
    357343        , _T("xcache.test is for testing only, not for server. set it to off")
     
    359345}
    360346else {
    361     result("info", _T('Disabled'));
     347    result(N_("info"), _T('Disabled'));
    362348}
    363349// }}}
     
    380366}
    381367if ($unstablePhpVersionReason) {
    382     result("error"
     368    result(N_("error")
    383369            , _T("The version of PHP you're using is known to be unstable: ") . $unstablePhpVersionReason
    384370            , _T("Upgrade to new version of PHP"));
    385371}
    386372else {
    387     result("info", _T("Looks good"));
     373    result(N_("info"), _T("Looks good"));
    388374}
    389375// }}}
     
    391377$loadedZendExtensions = get_loaded_extensions(true);
    392378if (array_search("Zend Optimizer", $loadedZendExtensions) !== false) {
    393     result(
    394         "warning"
     379    result(N_("info")
    395380        , _T("Zend Optimizer loaded")
    396381        , _T("Optimizer feature of 'Zend Optimizer' is disabled by XCache due to compatibility reason; the Loader of it is still available, encoded files are still supported")
    397382        );
    398383}
     384else {
     385    result(N_("info"), _T("Looks good"));
     386}
    399387// }}}
    400388
  • trunk/htdocs/diagnosis/lang/en.po

    r1101 r1103  
    22msgstr ""
    33"Report-Msgid-Bugs-To: \n"
    4 "POT-Creation-Date: 2012-08-01 14:47+0800\n"
     4"POT-Creation-Date: 2012-08-01 17:10+0800\n"
    55"Language: en\n"
    66"MIME-Version: 1.0\n"
     
    2525
    2626#: diagnosis.tpl.php:17
    27 msgid "Result/Suggestion"
     27msgid "Explanation/Suggestion"
    2828msgstr ""
    2929
     
    4444
    4545#: index.php:87
    46 msgid "Cannot detect ini location"
     46msgid "Cannot detect php.ini location"
    4747msgstr ""
    4848
    4949#: index.php:89
    50 msgid " (See above)"
     50msgid "(See above)"
    5151msgstr ""
    5252
     
    5555msgstr ""
    5656
     57#: index.php:90 index.php:129 index.php:135 index.php:183 index.php:285
     58#: index.php:303 index.php:368
     59msgid "error"
     60msgstr ""
     61
    5762#: index.php:93
    5863msgid "Loaded"
    5964msgstr ""
    6065
     66#: index.php:93 index.php:141 index.php:158 index.php:175 index.php:189
     67#: index.php:200 index.php:216 index.php:248 index.php:264 index.php:273
     68#: index.php:291 index.php:309 index.php:332 index.php:347 index.php:373
     69#: index.php:379 index.php:385
     70msgid "info"
     71msgstr ""
     72
    6173#: index.php:124
    6274msgid "Enabling PHP Cacher"
    6375msgstr ""
    6476
     77#: index.php:126 index.php:146 index.php:149 index.php:163 index.php:166
     78#: index.php:180 index.php:207 index.php:253 index.php:270 index.php:300
     79#: index.php:318 index.php:338
     80msgid "skipped"
     81msgstr ""
     82
     83#: index.php:130 index.php:184 index.php:274
     84msgid "Not enabled"
     85msgstr ""
     86
    6587#: index.php:131
    66 msgid "Not enabled: Website is not accelerated by XCache"
    67 msgstr ""
    68 
    69 #: index.php:132
    70 msgid "Set xcache.size to non-zero, set xcache.cacher = On"
    71 msgstr ""
    72 
    73 #: index.php:138
    74 msgid "No php script cached: Website is not accelerated by XCache"
    75 msgstr ""
    76 
    77 #: index.php:139
    78 msgid "Set xcache.cacher = On"
    79 msgstr ""
    80 
    81 #: index.php:143 index.php:194 index.php:302 index.php:322 index.php:356
     88msgid ""
     89"Your PHP pages is not accelerated by XCache. Set xcache.size to non-zero, "
     90"set xcache.cacher = On"
     91msgstr ""
     92
     93#: index.php:136
     94msgid "No php script cached"
     95msgstr ""
     96
     97#: index.php:137
     98msgid "Your PHP pages is not accelerated by XCache. Set xcache.cacher = On"
     99msgstr ""
     100
     101#: index.php:141 index.php:189 index.php:292 index.php:310 index.php:342
    82102msgid "Enabled"
    83103msgstr ""
    84104
    85 #: index.php:146
     105#: index.php:144
    86106msgid "PHP Compile Time Error"
    87107msgstr ""
    88108
    89 #: index.php:156
     109#: index.php:152 index.php:169 index.php:193 index.php:210 index.php:234
     110#: index.php:242 index.php:256 index.php:324 index.php:341
     111msgid "warning"
     112msgstr ""
     113
     114#: index.php:153
    90115msgid "Error happened when compiling at least one of your PHP code"
    91116msgstr ""
    92117
    93 #: index.php:157
     118#: index.php:154
    94119msgid ""
    95120"This usually means there is syntax error in your PHP code. Enable PHP "
     
    97122msgstr ""
    98123
     124#: index.php:158
     125msgid "No error happened"
     126msgstr ""
     127
    99128#: index.php:161
    100 msgid "No error happened"
    101 msgstr ""
    102 
    103 #: index.php:164
    104129msgid "Busy Compiling"
    105130msgstr ""
    106131
    107 #: index.php:174
     132#: index.php:170
    108133msgid "Cache marked as busy for compiling"
    109134msgstr ""
    110135
    111 #: index.php:175
     136#: index.php:171
    112137msgid ""
    113138"It's ok if this status don't stay for long. Otherwise, it could be a sign of "
     
    115140msgstr ""
    116141
    117 #: index.php:179 index.php:274 index.php:345
     142#: index.php:175 index.php:264 index.php:332
    118143msgid "Idle"
    119144msgstr ""
    120145
    121 #: index.php:182
     146#: index.php:178
    122147msgid "Enabling VAR Cacher"
    123148msgstr ""
    124149
    125 #: index.php:189
    126 msgid "Not enabled: code that use xcache var cacher fall back to other backend"
    127 msgstr ""
    128 
    129 #: index.php:190
    130 msgid "Set xcache.var_size to non-zero"
    131 msgstr ""
    132 
    133 #: index.php:196
     150#: index.php:185
     151msgid ""
     152"PHP code that use XCache caching backend have to use other caching backend "
     153"instead. Set xcache.var_size to non-zero"
     154msgstr ""
     155
     156#: index.php:191
    134157msgid "Using VAR Cacher"
    135158msgstr ""
    136159
    137 #: index.php:200
     160#: index.php:194
    138161msgid "No variable data cached"
    139162msgstr ""
    140163
    141 #: index.php:201
     164#: index.php:195
    142165msgid ""
    143166"Var Cacher won't work simply by enabling it. PHP code must call XCache APIs "
    144167"like xcache_set() to use it as cache backend. 3rd party web apps may come "
    145 "with XCache support, config it to use XCache as cachign backend"
    146 msgstr ""
    147 
    148 #: index.php:206
     168"with XCache support, config it to use XCache as caching backend"
     169msgstr ""
     170
     171#: index.php:200
    149172msgid "Cache in use"
    150173msgstr ""
    151174
     175#: index.php:205
     176msgid "Cache Size"
     177msgstr ""
     178
    152179#: index.php:211
    153 msgid "Cache Size"
    154 msgstr ""
    155 
    156 #: index.php:218
    157180msgid "Out of memory happened when trying to write to cache"
    158181msgstr ""
    159182
     183#: index.php:212
     184msgid "Increase xcache.size and/or xcache.var_size"
     185msgstr ""
     186
     187#: index.php:216
     188msgid "Enough"
     189msgstr ""
     190
    160191#: index.php:219
    161 msgid "Increase xcache.size and/or xcache.var_size"
    162 msgstr ""
    163 
    164 #: index.php:223
    165 msgid "Enough"
    166 msgstr ""
    167 
    168 #: index.php:226
    169 msgid "Slots"
    170 msgstr ""
    171 
    172 #: index.php:243
     192msgid "Hash Slots"
     193msgstr ""
     194
     195#: index.php:235
    173196msgid "Slots value too big"
    174197msgstr ""
    175198
    176 #: index.php:244
     199#: index.php:236
    177200#, php-format
    178201msgid ""
     
    181204msgstr ""
    182205
    183 #: index.php:252
     206#: index.php:243
    184207msgid "Slots value too small"
    185208msgstr ""
    186209
    187 #: index.php:253
     210#: index.php:244
    188211#, php-format
    189212msgid "So many item are cached. Increase %s to a more proper value"
    190213msgstr ""
    191214
    192 #: index.php:257 index.php:387
     215#: index.php:248 index.php:373 index.php:385
    193216msgid "Looks good"
    194217msgstr ""
    195218
     219#: index.php:251
     220msgid "Cache Status"
     221msgstr ""
     222
     223#: index.php:257
     224msgid "At least one of the caches is disabled. "
     225msgstr ""
     226
     227#: index.php:258
     228msgid "Enable the cache."
     229msgstr ""
     230
     231#: index.php:259
     232msgid ""
     233"It was disabled by PHP crash/coredump handler or you disabled it manually."
     234msgstr ""
     235
     236#: index.php:259
     237msgid "You disabled it manually."
     238msgstr ""
     239
    196240#: index.php:260
    197 msgid "Cache Status"
    198 msgstr ""
    199 
    200 #: index.php:267
    201 msgid "At least one of the caches is disabled. "
     241msgid "If it was caused by PHP crash/coredump, report to XCache devs"
    202242msgstr ""
    203243
    204244#: index.php:268
    205 msgid ""
    206 "It was disabled by PHP crash/coredump handler or You disabled it manually"
    207 msgstr ""
    208 
    209 #: index.php:268
    210 msgid "You disabled it manually"
    211 msgstr ""
    212 
    213 #: index.php:269
    214 msgid "Enable the cache."
    215 msgstr ""
    216 
    217 #: index.php:270
    218 msgid "If it was caused by PHP crash/coredump, report to XCache devs"
    219 msgstr ""
    220 
    221 #: index.php:278
    222245msgid "Coredump Directory"
    223246msgstr ""
    224247
    225 #: index.php:284
    226 msgid "Not enabled"
    227 msgstr ""
    228 
    229 #: index.php:285
    230 msgid ""
    231 "Enable coredump to know your PHP crash. It can also be enabled in fpm other "
    232 "than in XCache"
    233 msgstr ""
    234 
    235 #: index.php:296
     248#: index.php:275
     249msgid ""
     250"Enable coredump to save debugging information in case when PHP crash. It can "
     251"also be enabled in other module like php-fpm beside XCache"
     252msgstr ""
     253
     254#: index.php:286
    236255msgid "Core files found:\n"
    237256msgstr ""
    238257
    239 #: index.php:297
    240 msgid ""
    241 "Disable XCache PHP Cacher (xcache.size=0), remove the core file(s). If core "
    242 "file appears again, report call stack backtrace in the core to XCache devs"
    243 msgstr ""
    244 
    245 #: index.php:303
     258#: index.php:287
     259msgid ""
     260"Disable XCache PHP Cacher (set xcache.size=0), remove the core file(s), then "
     261"restart PHP. If core file appears again, report call stack backtrace in the "
     262"core to XCache devs"
     263msgstr ""
     264
     265#: index.php:293
    246266#, php-format
    247267msgid "You can see core files if PHP crash in %s if PHP crash"
    248268msgstr ""
    249269
    250 #: index.php:308
     270#: index.php:298
    251271msgid "Readonly Protection"
    252272msgstr ""
    253273
    254 #: index.php:315
     274#: index.php:304
    255275msgid "Set to enabled but not available"
    256276msgstr ""
    257277
    258 #: index.php:316
     278#: index.php:305
    259279msgid "Use xcache.mmap_path other than /dev/zero"
    260280msgstr ""
    261281
    262 #: index.php:322 index.php:361
     282#: index.php:310 index.php:347
    263283msgid "Disabled"
    264284msgstr ""
    265285
    266 #: index.php:323
     286#: index.php:311
    267287msgid ""
    268288"Enable readonly_protection == --performance & ++stability. Disable "
     
    270290msgstr ""
    271291
    272 #: index.php:328
     292#: index.php:316
    273293msgid "XCache modules"
    274294msgstr ""
    275295
    276 #: index.php:339
    277 msgid ""
    278 "Acceptable. Module(s) listed above are built into XCache but not for "
    279 "production server\n"
     296#: index.php:326
     297msgid ""
     298"Acceptable. Module(s) listed are built into XCache but not for production "
     299"server.\n"
    280300"Leave it as is if you're feeling good.\n"
    281 "Re-configure XCache with the above module(s) disabled if you're strict with "
    282 "server security."
    283 msgstr ""
    284 
    285 #: index.php:349
     301"Re-configure XCache with the module(s) disabled if you're strict with server "
     302"security."
     303msgstr ""
     304
     305#: index.php:336
    286306msgid "XCache test setting"
    287307msgstr ""
    288308
    289 #: index.php:357
     309#: index.php:343
    290310msgid "xcache.test is for testing only, not for server. set it to off"
    291311msgstr ""
    292312
    293 #: index.php:364
     313#: index.php:350
    294314msgid "PHP Version"
    295315msgstr ""
    296316
    297 #: index.php:383
     317#: index.php:369
    298318msgid "The version of PHP you're using is known to be unstable: "
    299319msgstr ""
    300320
    301 #: index.php:384
     321#: index.php:370
    302322msgid "Upgrade to new version of PHP"
    303323msgstr ""
    304324
    305 #: index.php:390
     325#: index.php:376
    306326msgid "Extension Compatibility"
    307327msgstr ""
    308328
    309 #: index.php:395
     329#: index.php:380
    310330msgid "Zend Optimizer loaded"
    311331msgstr ""
    312332
    313 #: index.php:396
     333#: index.php:381
    314334msgid ""
    315335"Optimizer feature of 'Zend Optimizer' is disabled by XCache due to "
  • trunk/htdocs/diagnosis/lang/zh-simplified.php

    r1102 r1103  
    22// auto generated, do not modify
    33$strings += array(
     4        "Diagnosis Result"
     5        => "诊断结果",
     6        "Item"
     7        => "项目",
     8        "Level"
     9        => "级别",
     10        "Result"
     11        => "结果",
     12        "Explanation/Suggestion"
     13        => "解释/建议",
     14        "XCache extension"
     15        => "XCache extension",
     16        "Add extension=xcache.so (or xcache.dll) in %s"
     17        => "在 %s 增加 extension=xcache.so (或 xcache.dll)",
     18        "Please put a php.ini in %s and add extension=xcache.so (or xcache.dll) in it"
     19        => "请在 %s 里放个 php.ini 并且在文件内写入 extension=xcache.so (或 xcache.dll)",
     20        "Cannot detect php.ini location"
     21        => "无法检测 php.ini 位置",
     22        "(See above)"
     23        => "(参见上面)",
     24        "Not loaded"
     25        => "未载入",
     26        "error"
     27        => "错误",
     28        "Loaded"
     29        => "已载入",
     30        "info"
     31        => "信息",
     32        "Enabling PHP Cacher"
     33        => "启用 PHP 缓存器",
     34        "skipped"
     35        => "跳过",
     36        "Not enabled"
     37        => "尚未启用",
     38        "Your PHP pages is not accelerated by XCache. Set xcache.size to non-zero, set xcache.cacher = On"
     39        => "XCache 并未对您的 PHP 网页起到加速作用. 设置 xcache.size 为非 0, 设置 xcache.cacher = On",
     40        "No php script cached"
     41        => "未缓存任何 PHP 脚本",
     42        "Your PHP pages is not accelerated by XCache. Set xcache.cacher = On"
     43        => "XCache 并未对您的 PHP 网页起到加速作用. 设置 xcache.cacher = On",
     44        "Enabled"
     45        => "已启用",
     46        "PHP Compile Time Error"
     47        => "PHP 编译时错误",
     48        "warning"
     49        => "警告",
     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 调查具体错误原因并修复您的代码",
     54        "No error happened"
     55        => "未发生过错误",
     56        "Busy Compiling"
     57        => "忙着编译",
     58        "Cache marked as busy for compiling"
     59        => "编译中, 缓存标记为忙",
     60        "It's ok if this status don't stay for long. Otherwise, it could be a sign of PHP crash/coredump, report to XCache devs"
     61        => "这个状态如果持续不就则无影响. 否则可能标志着 PHP 曾经发生异常退出, 如果是的话请报告给 XCache 开发组",
     62        "Idle"
     63        => "空闲",
     64        "Enabling VAR Cacher"
     65        => "启用 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",
     68        "Using VAR Cacher"
     69        => "使用 VAR 缓存器",
     70        "No variable data cached"
     71        => "未缓存任何变量数据",
     72        "Var Cacher won't work simply by enabling it. PHP code must call XCache APIs like xcache_set() to use it as cache backend. 3rd party web apps may come with XCache support, config it to use XCache as caching backend"
     73        => "只启用变量数据缓存器并无法将其利用起来. 必须通过 PHP 代码去调用 XCache API 接口(如 xcache_set() 函数) 将 XCache 作为缓存器. 第三方网页软件可能带有 XCache 支持, 留意其中的设置启用 XCache 作为缓存器",
     74        "Cache in use"
     75        => "缓存使用中",
     76        "Cache Size"
     77        => "缓存大小",
     78        "Out of memory happened when trying to write to cache"
     79        => "存入缓存时发生内存不足",
     80        "Increase xcache.size and/or xcache.var_size"
     81        => "加大 xcache.size 或 xcache.var_size",
     82        "Enough"
     83        => "充足",
     84        "Hash Slots"
     85        => "哈希槽",
     86        "Slots value too big"
     87        => "哈希槽设定太大",
     88        "A very small value is set to %s value and leave %s value is too big.\nDecrease %s if small cache is really what you want"
     89        => "设置给 %s 的值很小, 却采用过大的 %s. 如果您的确想要配置占用很少内存的缓存器, 可减少 %s",
     90        "Slots value too small"
     91        => "哈希槽设定太小",
     92        "So many item are cached. Increase %s to a more proper value"
     93        => "相当多的项目缓存了. 请适量加大 %s",
     94        "Looks good"
     95        => "看起来还行",
     96        "Cache Status"
     97        => "缓存状态",
     98        "At least one of the caches is disabled. "
     99        => "至少一个缓存器是禁止状态",
     100        "Enable the cache."
     101        => "启用已禁止的缓存器.",
     102        "It was disabled by PHP crash/coredump handler or you disabled it manually."
     103        => "可能是在 PHP 异常退出时自动标记为禁止了, 或者您手工禁止了",
     104        "You disabled it manually."
     105        => "您手工禁止了",
     106        "If it was caused by PHP crash/coredump, report to XCache devs"
     107        => "如果是由于 PHP 异常退出造成, 请报告给 XCache 开发组",
     108        "Coredump Directory"
     109        => "Coredump 目录",
     110        "Enable coredump to save debugging information in case when PHP crash. It can also be enabled in other module like php-fpm beside XCache"
     111        => "启用 coredump 设置. 这样万一发生 PHP 异常退出时可保存调试信息. 这个功能也可以在其他地方启用, 如 php-fpm",
     112        "Core files found:\n"
     113        => "发现 core 文件:\n",
     114        "Disable XCache PHP Cacher (set xcache.size=0), remove the core file(s), then restart PHP. If core file appears again, report call stack backtrace in the core to XCache devs"
     115        => "禁止 XCache 缓存器 (设置 xcache.size=0), 删除 Core 文件, 再重启 PHP. 如果不用 XCache 时不出现 Core, 请从 Core 中取得 call stack back trace 信息报告回 XCache 开发组",
     116        "You can see core files if PHP crash in %s if PHP crash"
     117        => "如果 PHP 异常退出, 您可以在 %s 目录看到 Core 文件",
     118        "Readonly Protection"
     119        => "只读保护",
     120        "Set to enabled but not available"
     121        => "设置为启用, 但目前不可用",
     122        "Use xcache.mmap_path other than /dev/zero"
     123        => "设置 xcache.mmap_path 使用 /dev/zero 以外的值",
     124        "Disabled"
     125        => "已禁止",
     126        "Enable readonly_protection == --performance & ++stability. Disable readonly_protection == ++performance & --stability"
     127        => "启用 readonly_protection == --性能 & ++稳定性. 禁用 readonly_protection == ++性能 & --稳定性",
     128        "XCache modules"
     129        => "XCache 模块",
     130        "Acceptable. Module(s) listed are built into XCache but not for production server.\nLeave it as is if you're feeling good.\nRe-configure XCache with the module(s) disabled if you're strict with server security."
     131        => "可接受. 以上列出的模块已编译入 XCache, 但这些模块并非用于产业服务器.\n如果您觉得没大碍, 就保持现状.\n如果您对稳定性/安全性要求极其严格, 建议重新编译 XCache 不启用这些模块\n",
     132        "XCache test setting"
     133        => "XCache 测试设置",
     134        "xcache.test is for testing only, not for server. set it to off"
     135        => "xcache.test 仅用于开发测试用, 不用于服务器. 将它设置为 off",
     136        "PHP Version"
     137        => "PHP 版本",
     138        "The version of PHP you're using is known to be unstable: "
     139        => "您所使用的 PHP 版本, 是众所周知的不稳定版本: ",
     140        "Upgrade to new version of PHP"
     141        => "升级到更新的 PHP 版本",
     142        "Extension Compatibility"
     143        => "Extension 兼容性",
     144        "Zend Optimizer loaded"
     145        => "Zend Optimizer 载入了",
     146        "Optimizer feature of 'Zend Optimizer' is disabled by XCache due to compatibility reason; the Loader of it is still available, encoded files are still supported"
     147        => "由于兼容性问题, 'Zend Optimizer' 的优化器已被 XCache 禁止; 其加载器依然可用, 可继续使用 Zend 加密的文件",
    4148        );
    5149
  • trunk/htdocs/diagnosis/lang/zh-simplified.po

    r1101 r1103  
    22msgstr ""
    33"Report-Msgid-Bugs-To: \n"
    4 "POT-Creation-Date: 2012-08-01 14:47+0800\n"
     4"POT-Creation-Date: 2012-08-01 17:10+0800\n"
    55"Language: zh\n"
    66"MIME-Version: 1.0\n"
     
    1010#: diagnosis.tpl.php:4
    1111msgid "Diagnosis Result"
    12 msgstr ""
     12msgstr "诊断结果"
    1313
    1414#: diagnosis.tpl.php:8
    1515msgid "Item"
    16 msgstr ""
     16msgstr "项目"
    1717
    1818#: diagnosis.tpl.php:11
    1919msgid "Level"
    20 msgstr ""
     20msgstr "级别"
    2121
    2222#: diagnosis.tpl.php:14
    2323msgid "Result"
    24 msgstr ""
     24msgstr "结果"
    2525
    2626#: diagnosis.tpl.php:17
    27 msgid "Result/Suggestion"
    28 msgstr ""
     27msgid "Explanation/Suggestion"
     28msgstr "解释/建议"
    2929
    3030#: index.php:77
    3131msgid "XCache extension"
    32 msgstr ""
     32msgstr "XCache extension"
    3333
    3434#: index.php:81
    3535#, php-format
    3636msgid "Add extension=xcache.so (or xcache.dll) in %s"
    37 msgstr ""
     37msgstr "在 %s 增加 extension=xcache.so (或 xcache.dll)"
    3838
    3939#: index.php:84
     
    4242"Please put a php.ini in %s and add extension=xcache.so (or xcache.dll) in it"
    4343msgstr ""
     44"请在 %s 里放个 php.ini 并且在文件内写入 extension=xcache.so (或 xcache.dll)"
    4445
    4546#: index.php:87
    46 msgid "Cannot detect ini location"
    47 msgstr ""
     47msgid "Cannot detect php.ini location"
     48msgstr "无法检测 php.ini 位置"
    4849
    4950#: index.php:89
    50 msgid " (See above)"
    51 msgstr ""
     51msgid "(See above)"
     52msgstr "(参见上面)"
    5253
    5354#: index.php:90
    5455msgid "Not loaded"
    55 msgstr ""
     56msgstr "未载入"
     57
     58#: index.php:90 index.php:129 index.php:135 index.php:183 index.php:285
     59#: index.php:303 index.php:368
     60msgid "error"
     61msgstr "错误"
    5662
    5763#: index.php:93
    5864msgid "Loaded"
    59 msgstr ""
     65msgstr "已载入"
     66
     67#: index.php:93 index.php:141 index.php:158 index.php:175 index.php:189
     68#: index.php:200 index.php:216 index.php:248 index.php:264 index.php:273
     69#: index.php:291 index.php:309 index.php:332 index.php:347 index.php:373
     70#: index.php:379 index.php:385
     71msgid "info"
     72msgstr "信息"
    6073
    6174#: index.php:124
    6275msgid "Enabling PHP Cacher"
    63 msgstr ""
     76msgstr "启用 PHP 缓存器"
     77
     78#: index.php:126 index.php:146 index.php:149 index.php:163 index.php:166
     79#: index.php:180 index.php:207 index.php:253 index.php:270 index.php:300
     80#: index.php:318 index.php:338
     81msgid "skipped"
     82msgstr "跳过"
     83
     84#: index.php:130 index.php:184 index.php:274
     85msgid "Not enabled"
     86msgstr "尚未启用"
    6487
    6588#: index.php:131
    66 msgid "Not enabled: Website is not accelerated by XCache"
    67 msgstr ""
    68 
    69 #: index.php:132
    70 msgid "Set xcache.size to non-zero, set xcache.cacher = On"
    71 msgstr ""
    72 
    73 #: index.php:138
    74 msgid "No php script cached: Website is not accelerated by XCache"
    75 msgstr ""
    76 
    77 #: index.php:139
    78 msgid "Set xcache.cacher = On"
    79 msgstr ""
    80 
    81 #: index.php:143 index.php:194 index.php:302 index.php:322 index.php:356
     89msgid ""
     90"Your PHP pages is not accelerated by XCache. Set xcache.size to non-zero, "
     91"set xcache.cacher = On"
     92msgstr ""
     93"XCache 并未对您的 PHP 网页起到加速作用. 设置 xcache.size 为非 0, 设置 xcache."
     94"cacher = On"
     95
     96#: index.php:136
     97msgid "No php script cached"
     98msgstr "未缓存任何 PHP 脚本"
     99
     100#: index.php:137
     101msgid "Your PHP pages is not accelerated by XCache. Set xcache.cacher = On"
     102msgstr "XCache 并未对您的 PHP 网页起到加速作用. 设置 xcache.cacher = On"
     103
     104#: index.php:141 index.php:189 index.php:292 index.php:310 index.php:342
    82105msgid "Enabled"
    83 msgstr ""
    84 
    85 #: index.php:146
     106msgstr "已启用"
     107
     108#: index.php:144
    86109msgid "PHP Compile Time Error"
    87 msgstr ""
    88 
    89 #: index.php:156
     110msgstr "PHP 编译时错误"
     111
     112#: index.php:152 index.php:169 index.php:193 index.php:210 index.php:234
     113#: index.php:242 index.php:256 index.php:324 index.php:341
     114msgid "warning"
     115msgstr "警告"
     116
     117#: index.php:153
    90118msgid "Error happened when compiling at least one of your PHP code"
    91 msgstr ""
    92 
    93 #: index.php:157
     119msgstr "至少在编译其中一个您的 PHP 代码时发生编译错误"
     120
     121#: index.php:154
    94122msgid ""
    95123"This usually means there is syntax error in your PHP code. Enable PHP "
    96124"error_log to see what parser error is it, fix your code"
    97125msgstr ""
     126"这通常意味着您的 PHP 代码有语法错误. 请启用 error_log 调查具体错误原因并修复"
     127"您的代码"
     128
     129#: index.php:158
     130msgid "No error happened"
     131msgstr "未发生过错误"
    98132
    99133#: index.php:161
    100 msgid "No error happened"
    101 msgstr ""
    102 
    103 #: index.php:164
    104134msgid "Busy Compiling"
    105 msgstr ""
    106 
    107 #: index.php:174
     135msgstr "忙着编译"
     136
     137#: index.php:170
    108138msgid "Cache marked as busy for compiling"
    109 msgstr ""
    110 
    111 #: index.php:175
     139msgstr "编译中, 缓存标记为忙"
     140
     141#: index.php:171
    112142msgid ""
    113143"It's ok if this status don't stay for long. Otherwise, it could be a sign of "
    114144"PHP crash/coredump, report to XCache devs"
    115145msgstr ""
    116 
    117 #: index.php:179 index.php:274 index.php:345
     146"这个状态如果持续不就则无影响. 否则可能标志着 PHP 曾经发生异常退出, 如果是的话"
     147"请报告给 XCache 开发组"
     148
     149#: index.php:175 index.php:264 index.php:332
    118150msgid "Idle"
    119 msgstr ""
    120 
    121 #: index.php:182
     151msgstr "空闲"
     152
     153#: index.php:178
    122154msgid "Enabling VAR Cacher"
    123 msgstr ""
    124 
    125 #: index.php:189
    126 msgid "Not enabled: code that use xcache var cacher fall back to other backend"
    127 msgstr ""
    128 
    129 #: index.php:190
    130 msgid "Set xcache.var_size to non-zero"
    131 msgstr ""
    132 
    133 #: index.php:196
     155msgstr "启用 VAR 缓存器"
     156
     157#: index.php:185
     158msgid ""
     159"PHP code that use XCache caching backend have to use other caching backend "
     160"instead. Set xcache.var_size to non-zero"
     161msgstr ""
     162"使用 XCache 作为数据缓存器的 PHP 代码将不得不采用其他缓存器代替. 设置 xcache."
     163"var_size 为非 0"
     164
     165#: index.php:191
    134166msgid "Using VAR Cacher"
    135 msgstr ""
    136 
    137 #: index.php:200
     167msgstr "使用 VAR 缓存器"
     168
     169#: index.php:194
    138170msgid "No variable data cached"
    139 msgstr ""
    140 
    141 #: index.php:201
     171msgstr "未缓存任何变量数据"
     172
     173#: index.php:195
    142174msgid ""
    143175"Var Cacher won't work simply by enabling it. PHP code must call XCache APIs "
    144176"like xcache_set() to use it as cache backend. 3rd party web apps may come "
    145 "with XCache support, config it to use XCache as cachign backend"
    146 msgstr ""
    147 
    148 #: index.php:206
     177"with XCache support, config it to use XCache as caching backend"
     178msgstr ""
     179"只启用变量数据缓存器并无法将其利用起来. 必须通过 PHP 代码去调用 XCache API 接"
     180"口(如 xcache_set() 函数) 将 XCache 作为缓存器. 第三方网页软件可能带有 XCache "
     181"支持, 留意其中的设置启用 XCache 作为缓存器"
     182
     183#: index.php:200
    149184msgid "Cache in use"
    150 msgstr ""
     185msgstr "缓存使用中"
     186
     187#: index.php:205
     188msgid "Cache Size"
     189msgstr "缓存大小"
    151190
    152191#: index.php:211
    153 msgid "Cache Size"
    154 msgstr ""
    155 
    156 #: index.php:218
    157192msgid "Out of memory happened when trying to write to cache"
    158 msgstr ""
     193msgstr "存入缓存时发生内存不足"
     194
     195#: index.php:212
     196msgid "Increase xcache.size and/or xcache.var_size"
     197msgstr "加大 xcache.size 或 xcache.var_size"
     198
     199#: index.php:216
     200msgid "Enough"
     201msgstr "充足"
    159202
    160203#: index.php:219
    161 msgid "Increase xcache.size and/or xcache.var_size"
    162 msgstr ""
    163 
    164 #: index.php:223
    165 msgid "Enough"
    166 msgstr ""
    167 
    168 #: index.php:226
    169 msgid "Slots"
    170 msgstr ""
    171 
    172 #: index.php:243
     204msgid "Hash Slots"
     205msgstr "哈希槽"
     206
     207#: index.php:235
    173208msgid "Slots value too big"
    174 msgstr ""
    175 
    176 #: index.php:244
     209msgstr "哈希槽设定太大"
     210
     211#: index.php:236
    177212#, php-format
    178213msgid ""
     
    180215"Decrease %s if small cache is really what you want"
    181216msgstr ""
    182 
    183 #: index.php:252
     217"设置给 %s 的值很小, 却采用过大的 %s. 如果您的确想要配置占用很少内存的缓存器, "
     218"可减少 %s"
     219
     220#: index.php:243
    184221msgid "Slots value too small"
    185 msgstr ""
    186 
    187 #: index.php:253
     222msgstr "哈希槽设定太小"
     223
     224#: index.php:244
    188225#, php-format
    189226msgid "So many item are cached. Increase %s to a more proper value"
    190 msgstr ""
    191 
    192 #: index.php:257 index.php:387
     227msgstr "相当多的项目缓存了. 请适量加大 %s"
     228
     229#: index.php:248 index.php:373 index.php:385
    193230msgid "Looks good"
    194 msgstr ""
     231msgstr "看起来还行"
     232
     233#: index.php:251
     234msgid "Cache Status"
     235msgstr "缓存状态"
     236
     237#: index.php:257
     238msgid "At least one of the caches is disabled. "
     239msgstr "至少一个缓存器是禁止状态"
     240
     241#: index.php:258
     242msgid "Enable the cache."
     243msgstr "启用已禁止的缓存器."
     244
     245#: index.php:259
     246msgid ""
     247"It was disabled by PHP crash/coredump handler or you disabled it manually."
     248msgstr "可能是在 PHP 异常退出时自动标记为禁止了, 或者您手工禁止了"
     249
     250#: index.php:259
     251msgid "You disabled it manually."
     252msgstr "您手工禁止了"
    195253
    196254#: index.php:260
    197 msgid "Cache Status"
    198 msgstr ""
    199 
    200 #: index.php:267
    201 msgid "At least one of the caches is disabled. "
    202 msgstr ""
     255msgid "If it was caused by PHP crash/coredump, report to XCache devs"
     256msgstr "如果是由于 PHP 异常退出造成, 请报告给 XCache 开发组"
    203257
    204258#: index.php:268
    205 msgid ""
    206 "It was disabled by PHP crash/coredump handler or You disabled it manually"
    207 msgstr ""
    208 
    209 #: index.php:268
    210 msgid "You disabled it manually"
    211 msgstr ""
    212 
    213 #: index.php:269
    214 msgid "Enable the cache."
    215 msgstr ""
    216 
    217 #: index.php:270
    218 msgid "If it was caused by PHP crash/coredump, report to XCache devs"
    219 msgstr ""
    220 
    221 #: index.php:278
    222259msgid "Coredump Directory"
    223 msgstr ""
    224 
    225 #: index.php:284
    226 msgid "Not enabled"
    227 msgstr ""
    228 
    229 #: index.php:285
    230 msgid ""
    231 "Enable coredump to know your PHP crash. It can also be enabled in fpm other "
    232 "than in XCache"
    233 msgstr ""
    234 
    235 #: index.php:296
     260msgstr "Coredump 目录"
     261
     262#: index.php:275
     263msgid ""
     264"Enable coredump to save debugging information in case when PHP crash. It can "
     265"also be enabled in other module like php-fpm beside XCache"
     266msgstr ""
     267"启用 coredump 设置. 这样万一发生 PHP 异常退出时可保存调试信息. 这个功能也可以"
     268"在其他地方启用, 如 php-fpm"
     269
     270#: index.php:286
    236271msgid "Core files found:\n"
    237 msgstr ""
    238 
    239 #: index.php:297
    240 msgid ""
    241 "Disable XCache PHP Cacher (xcache.size=0), remove the core file(s). If core "
    242 "file appears again, report call stack backtrace in the core to XCache devs"
    243 msgstr ""
    244 
    245 #: index.php:303
     272msgstr "发现 core 文件:\n"
     273
     274#: index.php:287
     275msgid ""
     276"Disable XCache PHP Cacher (set xcache.size=0), remove the core file(s), then "
     277"restart PHP. If core file appears again, report call stack backtrace in the "
     278"core to XCache devs"
     279msgstr ""
     280"禁止 XCache 缓存器 (设置 xcache.size=0), 删除 Core 文件, 再重启 PHP. 如果不"
     281"用 XCache 时不出现 Core, 请从 Core 中取得 call stack back trace 信息报告回 "
     282"XCache 开发组"
     283
     284#: index.php:293
    246285#, php-format
    247286msgid "You can see core files if PHP crash in %s if PHP crash"
    248 msgstr ""
    249 
    250 #: index.php:308
     287msgstr "如果 PHP 异常退出, 您可以在 %s 目录看到 Core 文件"
     288
     289#: index.php:298
    251290msgid "Readonly Protection"
    252 msgstr ""
    253 
    254 #: index.php:315
     291msgstr "只读保护"
     292
     293#: index.php:304
    255294msgid "Set to enabled but not available"
    256 msgstr ""
    257 
    258 #: index.php:316
     295msgstr "设置为启用, 但目前不可用"
     296
     297#: index.php:305
    259298msgid "Use xcache.mmap_path other than /dev/zero"
    260 msgstr ""
    261 
    262 #: index.php:322 index.php:361
     299msgstr "设置 xcache.mmap_path 使用 /dev/zero 以外的值"
     300
     301#: index.php:310 index.php:347
    263302msgid "Disabled"
    264 msgstr ""
    265 
    266 #: index.php:323
     303msgstr "已禁止"
     304
     305#: index.php:311
    267306msgid ""
    268307"Enable readonly_protection == --performance & ++stability. Disable "
    269308"readonly_protection == ++performance & --stability"
    270309msgstr ""
    271 
    272 #: index.php:328
     310"启用 readonly_protection == --性能 & ++稳定性. 禁用 readonly_protection == +"
     311"+性能 & --稳定性"
     312
     313#: index.php:316
    273314msgid "XCache modules"
    274 msgstr ""
    275 
    276 #: index.php:339
    277 msgid ""
    278 "Acceptable. Module(s) listed above are built into XCache but not for "
    279 "production server\n"
     315msgstr "XCache 模块"
     316
     317#: index.php:326
     318msgid ""
     319"Acceptable. Module(s) listed are built into XCache but not for production "
     320"server.\n"
    280321"Leave it as is if you're feeling good.\n"
    281 "Re-configure XCache with the above module(s) disabled if you're strict with "
    282 "server security."
    283 msgstr ""
    284 
    285 #: index.php:349
     322"Re-configure XCache with the module(s) disabled if you're strict with server "
     323"security."
     324msgstr ""
     325"可接受. 以上列出的模块已编译入 XCache, 但这些模块并非用于产业服务器.\n"
     326"如果您觉得没大碍, 就保持现状.\n"
     327"如果您对稳定性/安全性要求极其严格, 建议重新编译 XCache 不启用这些模块\n"
     328
     329#: index.php:336
    286330msgid "XCache test setting"
    287 msgstr ""
    288 
    289 #: index.php:357
     331msgstr "XCache 测试设置"
     332
     333#: index.php:343
    290334msgid "xcache.test is for testing only, not for server. set it to off"
    291 msgstr ""
    292 
    293 #: index.php:364
     335msgstr "xcache.test 仅用于开发测试用, 不用于服务器. 将它设置为 off"
     336
     337#: index.php:350
    294338msgid "PHP Version"
    295 msgstr ""
    296 
    297 #: index.php:383
     339msgstr "PHP 版本"
     340
     341#: index.php:369
    298342msgid "The version of PHP you're using is known to be unstable: "
    299 msgstr ""
    300 
    301 #: index.php:384
     343msgstr "您所使用的 PHP 版本, 是众所周知的不稳定版本: "
     344
     345#: index.php:370
    302346msgid "Upgrade to new version of PHP"
    303 msgstr ""
    304 
    305 #: index.php:390
     347msgstr "升级到更新的 PHP 版本"
     348
     349#: index.php:376
    306350msgid "Extension Compatibility"
    307 msgstr ""
    308 
    309 #: index.php:395
     351msgstr "Extension 兼容性"
     352
     353#: index.php:380
    310354msgid "Zend Optimizer loaded"
    311 msgstr ""
    312 
    313 #: index.php:396
     355msgstr "Zend Optimizer 载入了"
     356
     357#: index.php:381
    314358msgid ""
    315359"Optimizer feature of 'Zend Optimizer' is disabled by XCache due to "
     
    317361"still supported"
    318362msgstr ""
     363"由于兼容性问题, 'Zend Optimizer' 的优化器已被 XCache 禁止; 其加载器依然可用, "
     364"可继续使用 Zend 加密的文件"
Note: See TracChangeset for help on using the changeset viewer.