Index: /trunk/devel/prepare.mak
===================================================================
--- /trunk/devel/prepare.mak	(revision 1100)
+++ /trunk/devel/prepare.mak	(revision 1101)
@@ -6,8 +6,8 @@
 .PHONY: dummy
 .PHONY: all
-all: xcache/xc_opcode_spec_def.h xc_const_string tags
+all: xcache/xc_opcode_spec_def.h xc_const_string tags po
 
 .PHONY: clean
-clean: clean_xc_const_string
+clean: clean_xc_const_string clean_po
 	rm -f tags xcache/xc_opcode_spec_def.h
 
@@ -97,2 +97,40 @@
 	"$(CTAGS)" -R . "${PHP_DEVEL_DIR}/main" "${PHP_DEVEL_DIR}/Zend" "${PHP_DEVEL_DIR}/TSRM" "${PHP_DEVEL_DIR}/ext/standard"
 endif
+
+.PHONY: po
+define htdocspo
+  po: \
+	htdocs/$(1)/lang/en.po \
+	htdocs/$(1)/lang/en.po-merged \
+	htdocs/$(1)/lang/zh-simplified.po-merged \
+	htdocs/$(1)/lang/zh-simplified.po \
+	htdocs/$(1)/lang/zh-traditional.po \
+	htdocs/$(1)/lang/zh-traditional.po-merged
+
+  htdocs/$(1)/lang/%.po-merged: htdocs/$(1)/lang/%.po htdocs/$(1)/lang/$(1).pot
+	msgmerge -o "$$@".tmp $$^
+	mv "$$@".tmp "$$@"
+
+  htdocs/$(1)/lang/%.po:
+	touch "$$@"
+
+  htdocs/$(1)/lang/$(1).pot:
+	xgettext --keyword=_T --keyword=N_ --from-code=UTF-8 -F -D htdocs/$(1)/ $$(subst htdocs/$(1)/,,$$^) -o "$$@".tmp
+	mv "$$@".tmp "$$@"
+
+  htdocs/$(1)/lang/$(1).pot: $(shell find htdocs/$(1) -type f | grep php | grep -v lang | grep -v config)
+
+endef
+
+$(eval $(call htdocspo,cacher))
+$(eval $(call htdocspo,common))
+$(eval $(call htdocspo,coverager))
+$(eval $(call htdocspo,diagnosis))
+
+.PHONY: clean_po
+clean_po: clean_pot
+	rm -f htdocs/*/lang/*.po-merged
+
+.PHONY: clean_pot
+clean_pot:
+	rm -f htdocs/*/lang/*.pot
Index: /trunk/devel/run
===================================================================
--- /trunk/devel/run	(revision 1100)
+++ /trunk/devel/run	(revision 1101)
@@ -16,4 +16,20 @@
 prep*)
 	exec $MAKE -f devel/prepare.mak "${args[@]}"
+	;;
+*langphp)
+	find htdocs -iname '*.po' | while read -r i; do
+		echo updateing $i
+		devel/updatelangphp.awk < $i
+	done
+	exit
+	;;
+mergepo)
+	./run prep
+	find htdocs -iname '*.po' | while read -r i; do
+		if [[ -f $i-merged ]]; then
+			mv $i-merged $i
+		fi
+	done
+	exit
 	;;
 tags)
Index: /trunk/devel/updatelangphp.awk
===================================================================
--- /trunk/devel/updatelangphp.awk	(revision 1101)
+++ /trunk/devel/updatelangphp.awk	(revision 1101)
@@ -0,0 +1,65 @@
+#!/usr/bin/awk -f
+BEGIN {
+	print "<?php";
+	print "";
+	print "$strings += array(";
+}
+
+function flushOut() {
+	if (section) {
+		if (section == "msgstr") {
+			if (msgid == "") {
+			}
+			else {
+				print "\t\""msgid"\"";
+				print "\t=> \""msgstr"\",";
+			}
+		}
+		else {
+			print "unexpected section " section;
+			exit 1;
+		}
+		section = null;
+	}
+}
+
+/^msgid ".*"$/ {
+	$0 = gensub(/^msgid "(.*)"$/, "\\1", $0);
+
+	section = "msgid";
+	msgid = $0;
+	next;
+}
+/^msgstr ".*"$/ {
+	$0 = gensub(/^msgstr "(.*)"$/, "\\1", $0);
+
+	section = "msgstr";
+	msgstr = $0;
+	next;
+}
+/^".*"$/ {
+	$0 = gensub(/^"(.*)"$/, "\\1", $0);
+	if (section == "msgid") {
+		msgid = msgid $0;
+	}
+	else {
+		msgstr = msgstr $0;
+	}
+	next;
+}
+/^$/ {
+	flushOut();
+	next;
+}
+/^#/ {
+	next;
+}
+/./ {
+	print "error", $0;
+	exit 1;
+}
+END {
+	flushOut();
+	print ");";
+	print "";
+}
Index: /trunk/htdocs/cacher/index.php
===================================================================
--- /trunk/htdocs/cacher/index.php	(revision 1100)
+++ /trunk/htdocs/cacher/index.php	(revision 1101)
@@ -228,9 +228,7 @@
 	$entryList = array('cache_list' => array(), 'deleted_list' => array());
 	if ($_GET['do'] == 'listphp') {
-		$entryList['type_name'] = 'php';
 		$entryList['type'] = XC_TYPE_PHP;
 	}
 	else {
-		$entryList['type_name'] = 'var';
 		$entryList['type'] = XC_TYPE_VAR;
 	}
Index: /trunk/htdocs/cacher/lang/en.po
===================================================================
--- /trunk/htdocs/cacher/lang/en.po	(revision 1101)
+++ /trunk/htdocs/cacher/lang/en.po	(revision 1101)
@@ -0,0 +1,273 @@
+msgid ""
+msgstr ""
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-08-01 15:32+0800\n"
+"Language: en\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: edit.tpl.php:8
+#, php-format
+msgid "Editing Variable %s"
+msgstr ""
+
+#: edit.tpl.php:13
+#, php-format
+msgid "Set %s in config to enable"
+msgstr ""
+
+#: index.php:187 index.php:213
+msgid "Total"
+msgstr ""
+
+#: index.php:261
+msgid "Summary"
+msgstr ""
+
+#: index.php:262
+msgid "List PHP"
+msgstr ""
+
+#: index.php:263
+msgid "List Var Data"
+msgstr ""
+
+#: listentries.tpl.php:11
+msgid "php Cached"
+msgstr "PHP Cached"
+
+#: listentries.tpl.php:11
+msgid "var Cached"
+msgstr "Variable Cached"
+
+#: listentries.tpl.php:15
+msgid "php Deleted"
+msgstr "PHP Deleted"
+
+#: listentries.tpl.php:15
+msgid "var Deleted"
+msgstr "Variable Deleted"
+
+#: sub/entrylist.tpl.php:14
+msgid "entry.id"
+msgstr "Id|"
+
+#: sub/entrylist.tpl.php:19
+msgid "entry.remove"
+msgstr "Remove|"
+
+#: sub/entrylist.tpl.php:24
+msgid "entry.name"
+msgstr "Entry name|The entry name or filename"
+
+#: sub/entrylist.tpl.php:25
+msgid "entry.hits"
+msgstr "Hits|Hit times of this entry (loaded from this cache)"
+
+#: sub/entrylist.tpl.php:26
+msgid "entry.size"
+msgstr "Size|Size in bytes of this entry in the cache"
+
+#: sub/entrylist.tpl.php:31
+msgid "entry.refcount"
+msgstr "Refs|Reference count of this entry is holded by a php request"
+
+#: sub/entrylist.tpl.php:32
+msgid "entry.phprefcount"
+msgstr "Shares|Count of entry sharing this php data"
+
+#: sub/entrylist.tpl.php:33
+msgid "entry.class_cnt"
+msgstr "Cls.|Count of classes"
+
+#: sub/entrylist.tpl.php:34
+msgid "entry.function_cnt"
+msgstr "Funcs|Count of functions"
+
+#: sub/entrylist.tpl.php:35
+msgid "entry.file_size"
+msgstr "Src Size|Size of the source file"
+
+#: sub/entrylist.tpl.php:36
+msgid "entry.file_mtime"
+msgstr "Modified|Last modified time of the source file"
+
+#: sub/entrylist.tpl.php:39
+msgid "entry.file_device"
+msgstr "dev|device number of the source file"
+
+#: sub/entrylist.tpl.php:40
+msgid "entry.file_inode"
+msgstr "ino|inode number of the source file"
+
+#: sub/entrylist.tpl.php:44
+msgid "entry.hash"
+msgstr "Hash|Hash value of this entry"
+
+#: sub/entrylist.tpl.php:45
+msgid "entry.atime"
+msgstr "Access|Last time when this entry is accessed"
+
+#: sub/entrylist.tpl.php:46
+msgid "entry.ctime"
+msgstr "Create|The time when this entry is stored"
+
+#: sub/entrylist.tpl.php:51
+msgid "entry.delete"
+msgstr "Delete|The time when this entry is deleted"
+
+#: sub/entrylist.tpl.php:144
+msgid "Remove Selected"
+msgstr ""
+
+#: sub/moduleinfo.tpl.php:1
+msgid "Module Info"
+msgstr ""
+
+#: sub/summary.tpl.php:3
+msgid "Caches"
+msgstr "Caches"
+
+#: sub/summary.tpl.php:6
+msgid "cache.cache"
+msgstr "Cache|"
+
+#: sub/summary.tpl.php:7
+msgid "cache.slots"
+msgstr "Slots|Number of hash slots. the setting from your php.ini"
+
+#: sub/summary.tpl.php:8
+msgid "cache.size"
+msgstr "Size|Cache Size, Size of the cache (or cache chunk), in bytes"
+
+#: sub/summary.tpl.php:9
+msgid "cache.avail"
+msgstr "Avail|Available Memory, free memory in bytes of this cache"
+
+#: sub/summary.tpl.php:10
+msgid "cache.blocksgraph"
+msgstr ""
+"Percent Graph|Shows how much memory available in percent, and memory blocks "
+"status in graph"
+
+#: sub/summary.tpl.php:11
+msgid "cache.operations"
+msgstr "Operations|Press the clear button to clean this cache"
+
+#: sub/summary.tpl.php:12
+msgid "cache.status"
+msgstr ""
+"Status|Compiling flag, \"Compiling\" if the cache is busy compiling php "
+"script. \"Disabled\" if cache is disabled"
+
+#: sub/summary.tpl.php:13
+msgid "cache.hits"
+msgstr "Hits|Cache Hits, hit=a var/php is loaded from this cache"
+
+#: sub/summary.tpl.php:14
+msgid "cache.hits_graph"
+msgstr "Hits*24H|Hits graph of last 24 hours"
+
+#: sub/summary.tpl.php:15
+msgid "cache.hits_avg_h"
+msgstr "Hits/H|Average Hits per Hour. Only last 24 hours is logged"
+
+#: sub/summary.tpl.php:16
+msgid "cache.hits_avg_s"
+msgstr "Hits/S|Average Hits per Second. Only last 5 seconds is logged"
+
+#: sub/summary.tpl.php:17
+msgid "cache.updates"
+msgstr "Updates|Cache Updates"
+
+#: sub/summary.tpl.php:18
+msgid "cache.skips"
+msgstr ""
+"Skips|Skips. Skip=updates are needed but skipped for some reason. e.g.: "
+"other process/thread is busy compiling on this cache"
+
+#: sub/summary.tpl.php:19
+msgid "cache.ooms"
+msgstr ""
+"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"
+
+#: sub/summary.tpl.php:20
+msgid "cache.errors"
+msgstr ""
+"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)"
+
+#: sub/summary.tpl.php:21
+msgid "cache.readonly_protected"
+msgstr ""
+"Protected|Whether readonly_protection is available and enable on this cache "
+"(See help for more information)"
+
+#: sub/summary.tpl.php:22
+msgid "cache.cached"
+msgstr "Cached|Number of entries stored in this cache"
+
+#: sub/summary.tpl.php:23
+msgid "cache.deleted"
+msgstr ""
+"Deleted|Number of entries is pending in delete list (expired but referenced)"
+
+#: sub/summary.tpl.php:24
+msgid "cache.gc_timer"
+msgstr "GC|Seconds count down of Garbage Collection"
+
+#: sub/summary.tpl.php:30
+msgid "Clear"
+msgstr ""
+
+#: sub/summary.tpl.php:31
+msgid "Disabled"
+msgstr ""
+
+#: sub/summary.tpl.php:32
+msgid "Disable"
+msgstr ""
+
+#: sub/summary.tpl.php:33
+msgid "Enable"
+msgstr ""
+
+#: sub/summary.tpl.php:34
+msgid "Compiling"
+msgstr ""
+
+#: sub/summary.tpl.php:35
+msgid "Normal"
+msgstr ""
+
+#: sub/summary.tpl.php:36 sub/testcoredump.tpl.php:3
+msgid "Sure?"
+msgstr ""
+
+#: sub/summary.tpl.php:132
+msgid "Legends:"
+msgstr ""
+
+#: sub/summary.tpl.php:134
+msgid "% Free"
+msgstr ""
+
+#: sub/summary.tpl.php:134
+msgid "% Used"
+msgstr ""
+
+#: sub/summary.tpl.php:136
+msgid "Free Blocks"
+msgstr ""
+
+#: sub/summary.tpl.php:136
+msgid "Used Blocks"
+msgstr ""
+
+#: sub/summary.tpl.php:138
+msgid "Hits"
+msgstr ""
Index: /trunk/htdocs/cacher/lang/zh-simplified.po
===================================================================
--- /trunk/htdocs/cacher/lang/zh-simplified.po	(revision 1101)
+++ /trunk/htdocs/cacher/lang/zh-simplified.po	(revision 1101)
@@ -0,0 +1,267 @@
+msgid ""
+msgstr ""
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-08-01 15:32+0800\n"
+"Language: zh\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: edit.tpl.php:8
+#, php-format
+msgid "Editing Variable %s"
+msgstr "正在编辑变量 %s"
+
+#: edit.tpl.php:13
+#, php-format
+msgid "Set %s in config to enable"
+msgstr "请在配置文件中设置 %s 启用本功能"
+
+#: index.php:187 index.php:213
+msgid "Total"
+msgstr "总共"
+
+#: index.php:261
+msgid "Summary"
+msgstr "摘要信息"
+
+#: index.php:262
+msgid "List PHP"
+msgstr "列出PHP"
+
+#: index.php:263
+msgid "List Var Data"
+msgstr "列变量数据"
+
+#: listentries.tpl.php:11
+msgid "php Cached"
+msgstr "缓存的 PHP 脚本"
+
+#: listentries.tpl.php:11
+msgid "var Cached"
+msgstr "缓存的变量"
+
+#: listentries.tpl.php:15
+msgid "php Deleted"
+msgstr "待删 PHP 缓存"
+
+#: listentries.tpl.php:15
+msgid "var Deleted"
+msgstr "待删变量"
+
+#: sub/entrylist.tpl.php:14
+msgid "entry.id"
+msgstr "Id|"
+
+#: sub/entrylist.tpl.php:19
+msgid "entry.remove"
+msgstr "删除|"
+
+#: sub/entrylist.tpl.php:24
+msgid "entry.name"
+msgstr "项目名/文件名|项目名或者文件名"
+
+#: sub/entrylist.tpl.php:25
+msgid "entry.hits"
+msgstr "命中|该项目被命中的次数 (从共享内存区载入)"
+
+#: sub/entrylist.tpl.php:26
+msgid "entry.size"
+msgstr "大小|项目在共享内存里占用字节数"
+
+#: sub/entrylist.tpl.php:31
+msgid "entry.refcount"
+msgstr "引用数|项目依然被其他进程占据的引用次数"
+
+#: sub/entrylist.tpl.php:32
+msgid "entry.phprefcount"
+msgstr "共享数|与本项目相同 PHP 代码的个数"
+
+#: sub/entrylist.tpl.php:33
+msgid "entry.class_cnt"
+msgstr "类|类个数"
+
+#: sub/entrylist.tpl.php:34
+msgid "entry.function_cnt"
+msgstr "函数|函数个数"
+
+#: sub/entrylist.tpl.php:35
+msgid "entry.file_size"
+msgstr "源大小|源文件大小"
+
+#: sub/entrylist.tpl.php:36
+msgid "entry.file_mtime"
+msgstr "修改|源文件最后修改时间"
+
+#: sub/entrylist.tpl.php:39
+msgid "entry.file_device"
+msgstr "dev|源文件所在设备ID"
+
+#: sub/entrylist.tpl.php:40
+msgid "entry.file_inode"
+msgstr "ino|源文件的 inode"
+
+#: sub/entrylist.tpl.php:44
+msgid "entry.hash"
+msgstr "哈希|该项目的哈希值"
+
+#: sub/entrylist.tpl.php:45
+msgid "entry.atime"
+msgstr "访问|最后访问该项目的时间"
+
+#: sub/entrylist.tpl.php:46
+msgid "entry.ctime"
+msgstr "创建|该项目被创建于共享内的时间"
+
+#: sub/entrylist.tpl.php:51
+msgid "entry.delete"
+msgstr "删除|该项目被决定删除的时间"
+
+#: sub/entrylist.tpl.php:144
+msgid "Remove Selected"
+msgstr "删除所选"
+
+#: sub/moduleinfo.tpl.php:1
+msgid "Module Info"
+msgstr "模块信息"
+
+#: sub/summary.tpl.php:3
+msgid "Caches"
+msgstr "缓存区"
+
+#: sub/summary.tpl.php:6
+msgid "cache.cache"
+msgstr "缓存|"
+
+#: sub/summary.tpl.php:7
+msgid "cache.slots"
+msgstr "槽|Hash 槽个数, 对应 php.ini 里的设置"
+
+#: sub/summary.tpl.php:8
+msgid "cache.size"
+msgstr "大小|共享内存区大小, 单位: 字节"
+
+#: sub/summary.tpl.php:9
+msgid "cache.avail"
+msgstr "剩余|可用内存, 对应共享内存区的剩余内存字节数"
+
+#: sub/summary.tpl.php:10
+msgid "cache.blocksgraph"
+msgstr "百分比图|条状显示可用内存的比例, 以及显示分配块状态"
+
+#: sub/summary.tpl.php:11
+msgid "cache.operations"
+msgstr "操作|点击按钮清除对应共享内存区的数据"
+
+#: sub/summary.tpl.php:12
+msgid "cache.status"
+msgstr ""
+"状态|状态标记. 当共享内存区正在编译 PHP 脚本时标记为 \"编译中\". 当共享内存区"
+"暂停使用时标记为 \"禁用\""
+
+#: sub/summary.tpl.php:13
+msgid "cache.hits"
+msgstr "命中|共享内存命中次数, 命中=从该共享内存载入 PHP 或者变量"
+
+#: sub/summary.tpl.php:14
+msgid "cache.hits_graph"
+msgstr "24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数"
+
+#: sub/summary.tpl.php:15
+msgid "cache.hits_avg_h"
+msgstr "命中/H|每小时命中次数. 只统计最后 24 小时"
+
+#: sub/summary.tpl.php:16
+msgid "cache.hits_avg_s"
+msgstr "命中/S|每秒命中次数. 只统计最后 5 秒"
+
+#: sub/summary.tpl.php:17
+msgid "cache.updates"
+msgstr "更新|共享内存更新次数"
+
+#: sub/summary.tpl.php:18
+msgid "cache.skips"
+msgstr ""
+"阻塞|跳过更新次数, 跳过=XCache 自动判断阻塞的共享内存区自动跳过阻塞等待, 直接"
+"使用非共享内存方式继续处理请求"
+
+#: sub/summary.tpl.php:19
+msgid "cache.ooms"
+msgstr ""
+"内存不足|内存不足次数, 显示需要存储新数据但是共享内存区内存不足的次数. 如果出"
+"现太频繁请考虑加大配置中的 xcache.size 或者 xcache.var_size"
+
+#: sub/summary.tpl.php:20
+msgid "cache.errors"
+msgstr ""
+"错误|编译错误, 显示您的脚本被编译时出错的次数. 如果您发现这个数字不断增长, 您"
+"应该检查什么脚本产生错误. 参考 帮助 获取更多信息"
+
+#: sub/summary.tpl.php:21
+msgid "cache.readonly_protected"
+msgstr ""
+"保护|显示该 Cache 是否支持并启用 readonly_protection. 参考 帮助 获取更多信息"
+
+#: sub/summary.tpl.php:22
+msgid "cache.cached"
+msgstr "缓存|共享内存于该共享内存区的项目条数"
+
+#: sub/summary.tpl.php:23
+msgid "cache.deleted"
+msgstr "待删|共享内存区内将要删除的项目 (已经删除但是还被某些进程占用)"
+
+#: sub/summary.tpl.php:24
+msgid "cache.gc_timer"
+msgstr "GC|垃圾回收的倒计时"
+
+#: sub/summary.tpl.php:30
+msgid "Clear"
+msgstr "清除"
+
+#: sub/summary.tpl.php:31
+msgid "Disabled"
+msgstr "禁用"
+
+#: sub/summary.tpl.php:32
+msgid "Disable"
+msgstr "禁用"
+
+#: sub/summary.tpl.php:33
+msgid "Enable"
+msgstr "启用"
+
+#: sub/summary.tpl.php:34
+msgid "Compiling"
+msgstr "编译中"
+
+#: sub/summary.tpl.php:35
+msgid "Normal"
+msgstr "正常"
+
+#: sub/summary.tpl.php:36 sub/testcoredump.tpl.php:3
+msgid "Sure?"
+msgstr "确认?"
+
+#: sub/summary.tpl.php:132
+msgid "Legends:"
+msgstr "图例:"
+
+#: sub/summary.tpl.php:134
+msgid "% Free"
+msgstr "% 剩余"
+
+#: sub/summary.tpl.php:134
+msgid "% Used"
+msgstr "% 已用"
+
+#: sub/summary.tpl.php:136
+msgid "Free Blocks"
+msgstr "未用块"
+
+#: sub/summary.tpl.php:136
+msgid "Used Blocks"
+msgstr "已用块"
+
+#: sub/summary.tpl.php:138
+msgid "Hits"
+msgstr "命中"
Index: /trunk/htdocs/cacher/lang/zh-traditional.po
===================================================================
--- /trunk/htdocs/cacher/lang/zh-traditional.po	(revision 1101)
+++ /trunk/htdocs/cacher/lang/zh-traditional.po	(revision 1101)
@@ -0,0 +1,266 @@
+msgid ""
+msgstr ""
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-08-01 15:32+0800\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: edit.tpl.php:8
+#, php-format
+msgid "Editing Variable %s"
+msgstr "正在编辑变量 %s"
+
+#: edit.tpl.php:13
+#, php-format
+msgid "Set %s in config to enable"
+msgstr "請在配置文件中設置 %s 啟用本功能"
+
+#: index.php:187 index.php:213
+msgid "Total"
+msgstr "总共"
+
+#: index.php:261
+msgid "Summary"
+msgstr "簡要訊息"
+
+#: index.php:262
+msgid "List PHP"
+msgstr "列出PHP"
+
+#: index.php:263
+msgid "List Var Data"
+msgstr "列變數資料"
+
+#: listentries.tpl.php:11
+msgid "php Cached"
+msgstr "快取的 PHP 指令"
+
+#: listentries.tpl.php:11
+msgid "var Cached"
+msgstr "快取的變數"
+
+#: listentries.tpl.php:15
+msgid "php Deleted"
+msgstr "待刪 PHP 指令"
+
+#: listentries.tpl.php:15
+msgid "var Deleted"
+msgstr "待刪變數"
+
+#: sub/entrylist.tpl.php:14
+msgid "entry.id"
+msgstr "Id|"
+
+#: sub/entrylist.tpl.php:19
+msgid "entry.remove"
+msgstr "移除|"
+
+#: sub/entrylist.tpl.php:24
+msgid "entry.name"
+msgstr "項目名稱/檔案名稱|項目名稱或者檔案名稱"
+
+#: sub/entrylist.tpl.php:25
+msgid "entry.hits"
+msgstr "命中|該項目被命中的次數 (從共享記憶體區載入)"
+
+#: sub/entrylist.tpl.php:26
+msgid "entry.size"
+msgstr "大小|項目在共享記憶體裡佔用位元數"
+
+#: sub/entrylist.tpl.php:31
+msgid "entry.refcount"
+msgstr "引用數|項目依然被其他程序佔用的引用次數"
+
+#: sub/entrylist.tpl.php:32
+msgid "entry.phprefcount"
+msgstr "共享|與本項目相同 PHP 內容的个數"
+
+#: sub/entrylist.tpl.php:33
+msgid "entry.class_cnt"
+msgstr "类|类个数"
+
+#: sub/entrylist.tpl.php:34
+msgid "entry.function_cnt"
+msgstr "函数|函数个数"
+
+#: sub/entrylist.tpl.php:35
+msgid "entry.file_size"
+msgstr "源大小|原始檔案大小"
+
+#: sub/entrylist.tpl.php:36
+msgid "entry.file_mtime"
+msgstr "修改|原始檔案最後修改時間"
+
+#: sub/entrylist.tpl.php:39
+msgid "entry.file_device"
+msgstr "dev|原始檔案所在設備ID"
+
+#: sub/entrylist.tpl.php:40
+msgid "entry.file_inode"
+msgstr "ino|原始檔案的inode"
+
+#: sub/entrylist.tpl.php:44
+msgid "entry.hash"
+msgstr "Hash|Hash"
+
+#: sub/entrylist.tpl.php:45
+msgid "entry.atime"
+msgstr "存取|最後存取該項目的時間"
+
+#: sub/entrylist.tpl.php:46
+msgid "entry.ctime"
+msgstr "建立|該項目被建立於共享內的時間"
+
+#: sub/entrylist.tpl.php:51
+msgid "entry.delete"
+msgstr "移除|該項目被移除於共享內的時間"
+
+#: sub/entrylist.tpl.php:144
+msgid "Remove Selected"
+msgstr "移除所选"
+
+#: sub/moduleinfo.tpl.php:1
+msgid "Module Info"
+msgstr "組元訊息"
+
+#: sub/summary.tpl.php:3
+msgid "Caches"
+msgstr "快取"
+
+#: sub/summary.tpl.php:6
+msgid "cache.cache"
+msgstr "快取|"
+
+#: sub/summary.tpl.php:7
+msgid "cache.slots"
+msgstr "槽|Hash 槽個數，對應 php.ini 裡的設置"
+
+#: sub/summary.tpl.php:8
+msgid "cache.size"
+msgstr "大小|共享記憶體區大小，單位：位元"
+
+#: sub/summary.tpl.php:9
+msgid "cache.avail"
+msgstr "剩餘|可用記憶體，對應共享記憶體區的剩餘記憶體位元數"
+
+#: sub/summary.tpl.php:10
+msgid "cache.blocksgraph"
+msgstr "百分比图|條狀顯示可用記憶體的比例"
+
+#: sub/summary.tpl.php:11
+msgid "cache.operations"
+msgstr "操作按鈕|點擊按鈕清除對應共享記憶體區的資料"
+
+#: sub/summary.tpl.php:12
+msgid "cache.status"
+msgstr ""
+"狀態|狀態標記. 當共享內存區正在編譯 PHP 腳本時標記為 \"編譯中\". 當共享內存區"
+"暫停使用時標記為 \"禁用\""
+
+#: sub/summary.tpl.php:13
+msgid "cache.hits"
+msgstr "命中|共享記憶體命中次數，命中=從該共享記憶體載入 PHP 或者變數"
+
+#: sub/summary.tpl.php:14
+msgid "cache.hits_graph"
+msgstr "24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数"
+
+#: sub/summary.tpl.php:15
+msgid "cache.hits_avg_h"
+msgstr "命中/H|每小时命中次数. 只统计最后 24 小时"
+
+#: sub/summary.tpl.php:16
+msgid "cache.hits_avg_s"
+msgstr "命中/S|每秒命中次数. 只统计最后 5 秒"
+
+#: sub/summary.tpl.php:17
+msgid "cache.updates"
+msgstr "更新|共享記憶更新過次數"
+
+#: sub/summary.tpl.php:18
+msgid "cache.skips"
+msgstr ""
+"跳過|跳過更新次數，跳過=XCache 自動判斷阻塞的共享記憶體區自動跳過阻塞等待，直"
+"接使用非共享記憶體方式繼續處理請求"
+
+#: sub/summary.tpl.php:19
+msgid "cache.ooms"
+msgstr ""
+"記憶體不足|記憶體不足次數，顯示需要儲存新資料但是共享記憶體區記憶體不足的次"
+"數. 如果出現太頻繁請考慮加大配置中的 xcache.size 或者 xcache.var_size"
+
+#: sub/summary.tpl.php:20
+msgid "cache.errors"
+msgstr ""
+"错误|编译错误, 显示您的脚本被编译时出错的次数. 如果您发现这个数字不断增长, 您"
+"应该检查什么脚本产生错误. 参考 說明"
+
+#: sub/summary.tpl.php:21
+msgid "cache.readonly_protected"
+msgstr "Protected|顯示該 Cache 是否支援並啟用 readonly_protection. 参考 說明"
+
+#: sub/summary.tpl.php:22
+msgid "cache.cached"
+msgstr "快取|共享記憶體於該共享記憶體區的項目個數"
+
+#: sub/summary.tpl.php:23
+msgid "cache.deleted"
+msgstr "待刪|共享記憶體區內將要刪除的項目 (已經刪除但是還被某些程序佔用)"
+
+#: sub/summary.tpl.php:24
+msgid "cache.gc_timer"
+msgstr "GC|垃圾回收的倒數計時"
+
+#: sub/summary.tpl.php:30
+msgid "Clear"
+msgstr "清除"
+
+#: sub/summary.tpl.php:31
+msgid "Disabled"
+msgstr "禁用"
+
+#: sub/summary.tpl.php:32
+msgid "Disable"
+msgstr "禁用"
+
+#: sub/summary.tpl.php:33
+msgid "Enable"
+msgstr "啟用"
+
+#: sub/summary.tpl.php:34
+msgid "Compiling"
+msgstr "編譯中"
+
+#: sub/summary.tpl.php:35
+msgid "Normal"
+msgstr "正常"
+
+#: sub/summary.tpl.php:36 sub/testcoredump.tpl.php:3
+msgid "Sure?"
+msgstr "確認?"
+
+#: sub/summary.tpl.php:132
+msgid "Legends:"
+msgstr "图例:"
+
+#: sub/summary.tpl.php:134
+msgid "% Free"
+msgstr "% 剩余"
+
+#: sub/summary.tpl.php:134
+msgid "% Used"
+msgstr "% 已用"
+
+#: sub/summary.tpl.php:136
+msgid "Free Blocks"
+msgstr "未用块"
+
+#: sub/summary.tpl.php:136
+msgid "Used Blocks"
+msgstr "已用块"
+
+#: sub/summary.tpl.php:138
+msgid "Hits"
+msgstr "命中"
Index: /trunk/htdocs/cacher/listentries.tpl.php
===================================================================
--- /trunk/htdocs/cacher/listentries.tpl.php	(revision 1100)
+++ /trunk/htdocs/cacher/listentries.tpl.php	(revision 1101)
@@ -4,13 +4,14 @@
 <?php
 $entryList = getEntryList();
-$isphp = $entryList['type'] == 'listphp';
-$typeName = $entryList['type_name'];
+$isphp = $entryList['type'] == XC_TYPE_PHP;
 ob_start($config['path_nicer']);
 
 $listName = 'Cached';
 $entries = $entryList['cache_list'];
+$caption = $isphp ? _T("php Cached") : _T("var Cached");
 include "./sub/entrylist.tpl.php";
 
 $listName = 'Deleted';
+$caption = $isphp ? _T("php Deleted") : _T("var Deleted");
 $entries = $entryList['deleted_list'];
 include "./sub/entrylist.tpl.php";
Index: /trunk/htdocs/cacher/sub/entrylist.tpl.php
===================================================================
--- /trunk/htdocs/cacher/sub/entrylist.tpl.php	(revision 1100)
+++ /trunk/htdocs/cacher/sub/entrylist.tpl.php	(revision 1101)
@@ -2,5 +2,5 @@
 <form action="" method="post">
 	<table cellspacing="0" cellpadding="4" class="cycles entries">
-		<caption><?php echo _T("$typeName $listName"); ?></caption>
+		<caption><?php echo $caption; ?></caption>
 <?php
 
@@ -12,10 +12,10 @@
 if ($isphp) {
 	echo
-		th("entry.id")
+		th(N_("entry.id"))
 		;
 }
 else {
 	echo
-		th("entry.remove")
+		th(N_("entry.remove"))
 		;
 }
Index: /trunk/htdocs/cacher/sub/summary.tpl.php
===================================================================
--- /trunk/htdocs/cacher/sub/summary.tpl.php	(revision 1100)
+++ /trunk/htdocs/cacher/sub/summary.tpl.php	(revision 1101)
@@ -132,7 +132,7 @@
 	<div class="legendtitle"><?php echo _T('Legends:'); ?></div>
 	<div class="legend pvalue">&nbsp;&nbsp;</div>
-	<div class="legendtitle"><?php echo _T($config['percent_graph_type'] == 'free' ? '% Free' : '% Used'); ?></div>
+	<div class="legendtitle"><?php echo $config['percent_graph_type'] == 'free' ? _T('% Free') : _T('% Used'); ?></div>
 	<div class="legend" style="background: rgb(0,0,255)">&nbsp;&nbsp;</div>
-	<div class="legendtitle"><?php echo _T($config['percent_graph_type'] == 'free' ? 'Free Blocks' : 'Used Blocks'); ?></div>
+	<div class="legendtitle"><?php echo $config['percent_graph_type'] == 'free' ? _T('Free Blocks') : _T('Used Blocks'); ?></div>
 	<div class="legend" style="background: rgb(255,0,0)">&nbsp;&nbsp;</div>
 	<div class="legendtitle"><?php echo _T('Hits'); ?></div>
Index: /trunk/htdocs/common/lang/en.po
===================================================================
--- /trunk/htdocs/common/lang/en.po	(revision 1101)
+++ /trunk/htdocs/common/lang/en.po	(revision 1101)
@@ -0,0 +1,36 @@
+msgid ""
+msgstr ""
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-08-01 14:47+0800\n"
+"Language: en\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: common.php:47
+msgid "Document"
+msgstr ""
+
+#: common.php:48
+msgid "INI Reference"
+msgstr ""
+
+#: common.php:49
+msgid "Get Support"
+msgstr ""
+
+#: common.php:50
+msgid "Discusson"
+msgstr ""
+
+#: common.php:267
+msgid "Cacher"
+msgstr ""
+
+#: common.php:270
+msgid "Coverager"
+msgstr ""
+
+#: common.php:273
+msgid "Diagnosis"
+msgstr ""
Index: /trunk/htdocs/common/lang/zh-simplified.po
===================================================================
--- /trunk/htdocs/common/lang/zh-simplified.po	(revision 1101)
+++ /trunk/htdocs/common/lang/zh-simplified.po	(revision 1101)
@@ -0,0 +1,36 @@
+msgid ""
+msgstr ""
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-08-01 14:47+0800\n"
+"Language: zh\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: common.php:47
+msgid "Document"
+msgstr "帮助文档"
+
+#: common.php:48
+msgid "INI Reference"
+msgstr "INI 参考"
+
+#: common.php:49
+msgid "Get Support"
+msgstr "获取支持"
+
+#: common.php:50
+msgid "Discusson"
+msgstr "讨论"
+
+#: common.php:267
+msgid "Cacher"
+msgstr "缓存器"
+
+#: common.php:270
+msgid "Coverager"
+msgstr "代码覆盖查看器"
+
+#: common.php:273
+msgid "Diagnosis"
+msgstr "诊断"
Index: /trunk/htdocs/common/lang/zh-traditional.po
===================================================================
--- /trunk/htdocs/common/lang/zh-traditional.po	(revision 1101)
+++ /trunk/htdocs/common/lang/zh-traditional.po	(revision 1101)
@@ -0,0 +1,36 @@
+msgid ""
+msgstr ""
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-08-01 14:47+0800\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: common.php:47
+msgid "Document"
+msgstr "幫助文檔"
+
+#: common.php:48
+msgid "INI Reference"
+msgstr "INI 參考"
+
+#: common.php:49
+msgid "Get Support"
+msgstr "獲取支持"
+
+#: common.php:50
+msgid "Discusson"
+msgstr "討論"
+
+#: common.php:267
+msgid "Cacher"
+msgstr "快取器"
+
+#: common.php:270
+msgid "Coverager"
+msgstr "代码覆盖查看器"
+
+#: common.php:273
+msgid "Diagnosis"
+msgstr "診斷"
Index: /trunk/htdocs/coverager/lang/en.php
===================================================================
--- /trunk/htdocs/coverager/lang/en.php	(revision 1100)
+++ /trunk/htdocs/coverager/lang/en.php	(revision 1101)
@@ -1,5 +1,3 @@
 <?php
 
-$GLOBALS['show_todo_strings'] = false;
-
 ?>
Index: /trunk/htdocs/coverager/lang/en.po
===================================================================
--- /trunk/htdocs/coverager/lang/en.po	(revision 1101)
+++ /trunk/htdocs/coverager/lang/en.po	(revision 1101)
@@ -0,0 +1,36 @@
+msgid ""
+msgstr ""
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-08-01 14:47+0800\n"
+"Language: en\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: coverager.tpl.php:37
+msgid "Directory"
+msgstr ""
+
+#: coverager.tpl.php:38 coverager.tpl.php:100
+msgid "Percent"
+msgstr ""
+
+#: coverager.tpl.php:39 coverager.tpl.php:101
+msgid "Hits"
+msgstr ""
+
+#: coverager.tpl.php:40 coverager.tpl.php:102
+msgid "Lines"
+msgstr ""
+
+#: coverager.tpl.php:41
+msgid "TODO"
+msgstr ""
+
+#: coverager.tpl.php:99
+msgid "File"
+msgstr ""
+
+#: coverager.tpl.php:151
+msgid "root"
+msgstr ""
Index: /trunk/htdocs/coverager/lang/zh-simplified.po
===================================================================
--- /trunk/htdocs/coverager/lang/zh-simplified.po	(revision 1101)
+++ /trunk/htdocs/coverager/lang/zh-simplified.po	(revision 1101)
@@ -0,0 +1,36 @@
+msgid ""
+msgstr ""
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-08-01 14:47+0800\n"
+"Language: zh\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: coverager.tpl.php:37
+msgid "Directory"
+msgstr "目录"
+
+#: coverager.tpl.php:38 coverager.tpl.php:100
+msgid "Percent"
+msgstr "覆盖率"
+
+#: coverager.tpl.php:39 coverager.tpl.php:101
+msgid "Hits"
+msgstr "命中"
+
+#: coverager.tpl.php:40 coverager.tpl.php:102
+msgid "Lines"
+msgstr "行数"
+
+#: coverager.tpl.php:41
+msgid "TODO"
+msgstr "闲置文件"
+
+#: coverager.tpl.php:99
+msgid "File"
+msgstr "文件"
+
+#: coverager.tpl.php:151
+msgid "root"
+msgstr "开始"
Index: /trunk/htdocs/diagnosis/lang/en.po
===================================================================
--- /trunk/htdocs/diagnosis/lang/en.po	(revision 1101)
+++ /trunk/htdocs/diagnosis/lang/en.po	(revision 1101)
@@ -0,0 +1,318 @@
+msgid ""
+msgstr ""
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-08-01 14:47+0800\n"
+"Language: en\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: diagnosis.tpl.php:4
+msgid "Diagnosis Result"
+msgstr ""
+
+#: diagnosis.tpl.php:8
+msgid "Item"
+msgstr ""
+
+#: diagnosis.tpl.php:11
+msgid "Level"
+msgstr ""
+
+#: diagnosis.tpl.php:14
+msgid "Result"
+msgstr ""
+
+#: diagnosis.tpl.php:17
+msgid "Result/Suggestion"
+msgstr ""
+
+#: index.php:77
+msgid "XCache extension"
+msgstr ""
+
+#: index.php:81
+#, php-format
+msgid "Add extension=xcache.so (or xcache.dll) in %s"
+msgstr ""
+
+#: index.php:84
+#, php-format
+msgid ""
+"Please put a php.ini in %s and add extension=xcache.so (or xcache.dll) in it"
+msgstr ""
+
+#: index.php:87
+msgid "Cannot detect ini location"
+msgstr ""
+
+#: index.php:89
+msgid " (See above)"
+msgstr ""
+
+#: index.php:90
+msgid "Not loaded"
+msgstr ""
+
+#: index.php:93
+msgid "Loaded"
+msgstr ""
+
+#: index.php:124
+msgid "Enabling PHP Cacher"
+msgstr ""
+
+#: index.php:131
+msgid "Not enabled: Website is not accelerated by XCache"
+msgstr ""
+
+#: index.php:132
+msgid "Set xcache.size to non-zero, set xcache.cacher = On"
+msgstr ""
+
+#: index.php:138
+msgid "No php script cached: Website is not accelerated by XCache"
+msgstr ""
+
+#: index.php:139
+msgid "Set xcache.cacher = On"
+msgstr ""
+
+#: index.php:143 index.php:194 index.php:302 index.php:322 index.php:356
+msgid "Enabled"
+msgstr ""
+
+#: index.php:146
+msgid "PHP Compile Time Error"
+msgstr ""
+
+#: index.php:156
+msgid "Error happened when compiling at least one of your PHP code"
+msgstr ""
+
+#: index.php:157
+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"
+msgstr ""
+
+#: index.php:161
+msgid "No error happened"
+msgstr ""
+
+#: index.php:164
+msgid "Busy Compiling"
+msgstr ""
+
+#: index.php:174
+msgid "Cache marked as busy for compiling"
+msgstr ""
+
+#: index.php:175
+msgid ""
+"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"
+msgstr ""
+
+#: index.php:179 index.php:274 index.php:345
+msgid "Idle"
+msgstr ""
+
+#: index.php:182
+msgid "Enabling VAR Cacher"
+msgstr ""
+
+#: index.php:189
+msgid "Not enabled: code that use xcache var cacher fall back to other backend"
+msgstr ""
+
+#: index.php:190
+msgid "Set xcache.var_size to non-zero"
+msgstr ""
+
+#: index.php:196
+msgid "Using VAR Cacher"
+msgstr ""
+
+#: index.php:200
+msgid "No variable data cached"
+msgstr ""
+
+#: index.php:201
+msgid ""
+"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 cachign backend"
+msgstr ""
+
+#: index.php:206
+msgid "Cache in use"
+msgstr ""
+
+#: index.php:211
+msgid "Cache Size"
+msgstr ""
+
+#: index.php:218
+msgid "Out of memory happened when trying to write to cache"
+msgstr ""
+
+#: index.php:219
+msgid "Increase xcache.size and/or xcache.var_size"
+msgstr ""
+
+#: index.php:223
+msgid "Enough"
+msgstr ""
+
+#: index.php:226
+msgid "Slots"
+msgstr ""
+
+#: index.php:243
+msgid "Slots value too big"
+msgstr ""
+
+#: index.php:244
+#, php-format
+msgid ""
+"A very small value is set to %s value and leave %s value is too big.\n"
+"Decrease %s if small cache is really what you want"
+msgstr ""
+
+#: index.php:252
+msgid "Slots value too small"
+msgstr ""
+
+#: index.php:253
+#, php-format
+msgid "So many item are cached. Increase %s to a more proper value"
+msgstr ""
+
+#: index.php:257 index.php:387
+msgid "Looks good"
+msgstr ""
+
+#: index.php:260
+msgid "Cache Status"
+msgstr ""
+
+#: index.php:267
+msgid "At least one of the caches is disabled. "
+msgstr ""
+
+#: index.php:268
+msgid ""
+"It was disabled by PHP crash/coredump handler or You disabled it manually"
+msgstr ""
+
+#: index.php:268
+msgid "You disabled it manually"
+msgstr ""
+
+#: index.php:269
+msgid "Enable the cache."
+msgstr ""
+
+#: index.php:270
+msgid "If it was caused by PHP crash/coredump, report to XCache devs"
+msgstr ""
+
+#: index.php:278
+msgid "Coredump Directory"
+msgstr ""
+
+#: index.php:284
+msgid "Not enabled"
+msgstr ""
+
+#: index.php:285
+msgid ""
+"Enable coredump to know your PHP crash. It can also be enabled in fpm other "
+"than in XCache"
+msgstr ""
+
+#: index.php:296
+msgid "Core files found:\n"
+msgstr ""
+
+#: index.php:297
+msgid ""
+"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"
+msgstr ""
+
+#: index.php:303
+#, php-format
+msgid "You can see core files if PHP crash in %s if PHP crash"
+msgstr ""
+
+#: index.php:308
+msgid "Readonly Protection"
+msgstr ""
+
+#: index.php:315
+msgid "Set to enabled but not available"
+msgstr ""
+
+#: index.php:316
+msgid "Use xcache.mmap_path other than /dev/zero"
+msgstr ""
+
+#: index.php:322 index.php:361
+msgid "Disabled"
+msgstr ""
+
+#: index.php:323
+msgid ""
+"Enable readonly_protection == --performance & ++stability. Disable "
+"readonly_protection == ++performance & --stability"
+msgstr ""
+
+#: index.php:328
+msgid "XCache modules"
+msgstr ""
+
+#: index.php:339
+msgid ""
+"Acceptable. Module(s) listed above are built into XCache but not for "
+"production server\n"
+"Leave it as is if you're feeling good.\n"
+"Re-configure XCache with the above module(s) disabled if you're strict with "
+"server security."
+msgstr ""
+
+#: index.php:349
+msgid "XCache test setting"
+msgstr ""
+
+#: index.php:357
+msgid "xcache.test is for testing only, not for server. set it to off"
+msgstr ""
+
+#: index.php:364
+msgid "PHP Version"
+msgstr ""
+
+#: index.php:383
+msgid "The version of PHP you're using is known to be unstable: "
+msgstr ""
+
+#: index.php:384
+msgid "Upgrade to new version of PHP"
+msgstr ""
+
+#: index.php:390
+msgid "Extension Compatibility"
+msgstr ""
+
+#: index.php:395
+msgid "Zend Optimizer loaded"
+msgstr ""
+
+#: index.php:396
+msgid ""
+"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"
+msgstr ""
Index: /trunk/htdocs/diagnosis/lang/zh-simplified.po
===================================================================
--- /trunk/htdocs/diagnosis/lang/zh-simplified.po	(revision 1101)
+++ /trunk/htdocs/diagnosis/lang/zh-simplified.po	(revision 1101)
@@ -0,0 +1,318 @@
+msgid ""
+msgstr ""
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-08-01 14:47+0800\n"
+"Language: zh\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: diagnosis.tpl.php:4
+msgid "Diagnosis Result"
+msgstr ""
+
+#: diagnosis.tpl.php:8
+msgid "Item"
+msgstr ""
+
+#: diagnosis.tpl.php:11
+msgid "Level"
+msgstr ""
+
+#: diagnosis.tpl.php:14
+msgid "Result"
+msgstr ""
+
+#: diagnosis.tpl.php:17
+msgid "Result/Suggestion"
+msgstr ""
+
+#: index.php:77
+msgid "XCache extension"
+msgstr ""
+
+#: index.php:81
+#, php-format
+msgid "Add extension=xcache.so (or xcache.dll) in %s"
+msgstr ""
+
+#: index.php:84
+#, php-format
+msgid ""
+"Please put a php.ini in %s and add extension=xcache.so (or xcache.dll) in it"
+msgstr ""
+
+#: index.php:87
+msgid "Cannot detect ini location"
+msgstr ""
+
+#: index.php:89
+msgid " (See above)"
+msgstr ""
+
+#: index.php:90
+msgid "Not loaded"
+msgstr ""
+
+#: index.php:93
+msgid "Loaded"
+msgstr ""
+
+#: index.php:124
+msgid "Enabling PHP Cacher"
+msgstr ""
+
+#: index.php:131
+msgid "Not enabled: Website is not accelerated by XCache"
+msgstr ""
+
+#: index.php:132
+msgid "Set xcache.size to non-zero, set xcache.cacher = On"
+msgstr ""
+
+#: index.php:138
+msgid "No php script cached: Website is not accelerated by XCache"
+msgstr ""
+
+#: index.php:139
+msgid "Set xcache.cacher = On"
+msgstr ""
+
+#: index.php:143 index.php:194 index.php:302 index.php:322 index.php:356
+msgid "Enabled"
+msgstr ""
+
+#: index.php:146
+msgid "PHP Compile Time Error"
+msgstr ""
+
+#: index.php:156
+msgid "Error happened when compiling at least one of your PHP code"
+msgstr ""
+
+#: index.php:157
+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"
+msgstr ""
+
+#: index.php:161
+msgid "No error happened"
+msgstr ""
+
+#: index.php:164
+msgid "Busy Compiling"
+msgstr ""
+
+#: index.php:174
+msgid "Cache marked as busy for compiling"
+msgstr ""
+
+#: index.php:175
+msgid ""
+"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"
+msgstr ""
+
+#: index.php:179 index.php:274 index.php:345
+msgid "Idle"
+msgstr ""
+
+#: index.php:182
+msgid "Enabling VAR Cacher"
+msgstr ""
+
+#: index.php:189
+msgid "Not enabled: code that use xcache var cacher fall back to other backend"
+msgstr ""
+
+#: index.php:190
+msgid "Set xcache.var_size to non-zero"
+msgstr ""
+
+#: index.php:196
+msgid "Using VAR Cacher"
+msgstr ""
+
+#: index.php:200
+msgid "No variable data cached"
+msgstr ""
+
+#: index.php:201
+msgid ""
+"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 cachign backend"
+msgstr ""
+
+#: index.php:206
+msgid "Cache in use"
+msgstr ""
+
+#: index.php:211
+msgid "Cache Size"
+msgstr ""
+
+#: index.php:218
+msgid "Out of memory happened when trying to write to cache"
+msgstr ""
+
+#: index.php:219
+msgid "Increase xcache.size and/or xcache.var_size"
+msgstr ""
+
+#: index.php:223
+msgid "Enough"
+msgstr ""
+
+#: index.php:226
+msgid "Slots"
+msgstr ""
+
+#: index.php:243
+msgid "Slots value too big"
+msgstr ""
+
+#: index.php:244
+#, php-format
+msgid ""
+"A very small value is set to %s value and leave %s value is too big.\n"
+"Decrease %s if small cache is really what you want"
+msgstr ""
+
+#: index.php:252
+msgid "Slots value too small"
+msgstr ""
+
+#: index.php:253
+#, php-format
+msgid "So many item are cached. Increase %s to a more proper value"
+msgstr ""
+
+#: index.php:257 index.php:387
+msgid "Looks good"
+msgstr ""
+
+#: index.php:260
+msgid "Cache Status"
+msgstr ""
+
+#: index.php:267
+msgid "At least one of the caches is disabled. "
+msgstr ""
+
+#: index.php:268
+msgid ""
+"It was disabled by PHP crash/coredump handler or You disabled it manually"
+msgstr ""
+
+#: index.php:268
+msgid "You disabled it manually"
+msgstr ""
+
+#: index.php:269
+msgid "Enable the cache."
+msgstr ""
+
+#: index.php:270
+msgid "If it was caused by PHP crash/coredump, report to XCache devs"
+msgstr ""
+
+#: index.php:278
+msgid "Coredump Directory"
+msgstr ""
+
+#: index.php:284
+msgid "Not enabled"
+msgstr ""
+
+#: index.php:285
+msgid ""
+"Enable coredump to know your PHP crash. It can also be enabled in fpm other "
+"than in XCache"
+msgstr ""
+
+#: index.php:296
+msgid "Core files found:\n"
+msgstr ""
+
+#: index.php:297
+msgid ""
+"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"
+msgstr ""
+
+#: index.php:303
+#, php-format
+msgid "You can see core files if PHP crash in %s if PHP crash"
+msgstr ""
+
+#: index.php:308
+msgid "Readonly Protection"
+msgstr ""
+
+#: index.php:315
+msgid "Set to enabled but not available"
+msgstr ""
+
+#: index.php:316
+msgid "Use xcache.mmap_path other than /dev/zero"
+msgstr ""
+
+#: index.php:322 index.php:361
+msgid "Disabled"
+msgstr ""
+
+#: index.php:323
+msgid ""
+"Enable readonly_protection == --performance & ++stability. Disable "
+"readonly_protection == ++performance & --stability"
+msgstr ""
+
+#: index.php:328
+msgid "XCache modules"
+msgstr ""
+
+#: index.php:339
+msgid ""
+"Acceptable. Module(s) listed above are built into XCache but not for "
+"production server\n"
+"Leave it as is if you're feeling good.\n"
+"Re-configure XCache with the above module(s) disabled if you're strict with "
+"server security."
+msgstr ""
+
+#: index.php:349
+msgid "XCache test setting"
+msgstr ""
+
+#: index.php:357
+msgid "xcache.test is for testing only, not for server. set it to off"
+msgstr ""
+
+#: index.php:364
+msgid "PHP Version"
+msgstr ""
+
+#: index.php:383
+msgid "The version of PHP you're using is known to be unstable: "
+msgstr ""
+
+#: index.php:384
+msgid "Upgrade to new version of PHP"
+msgstr ""
+
+#: index.php:390
+msgid "Extension Compatibility"
+msgstr ""
+
+#: index.php:395
+msgid "Zend Optimizer loaded"
+msgstr ""
+
+#: index.php:396
+msgid ""
+"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"
+msgstr ""
