1
0
Fork 0

devel: use gettext to scan translate string

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1101 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 11 years ago
parent fda586ae01
commit 6eecd740e5

@ -5,10 +5,10 @@ include devel/prepare.cfg
.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
.PHONY: clean_xc_const_string
@ -96,3 +96,41 @@ tags:
echo "* Making tags with ${PHP_DEVEL_DIR}"
"$(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

@ -16,6 +16,22 @@ case "$type" in
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)
rm -f tags
exec $MAKE -f devel/prepare.mak tags "${args[@]}"

@ -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 "";
}

@ -227,11 +227,9 @@ function getEntryList() // {{{
}
$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;
}
foreach (getCacheInfos() as $i => $c) {

@ -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 ""

@ -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 "ๅ‘ฝไธญ"

@ -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 "ๅ‘ฝไธญ"

@ -3,15 +3,16 @@
<?php include "./sub/summary.tpl.php"; ?>
<?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";

@ -1,7 +1,7 @@
<?php $cycleClass = new Cycle('class="col1"', 'class="col2"'); ?>
<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
echo <<<TR
@ -11,12 +11,12 @@ TR;
if ($isphp) {
echo
th("entry.id")
th(N_("entry.id"))
;
}
else {
echo
th("entry.remove")
th(N_("entry.remove"))
;
}

@ -131,9 +131,9 @@ EOS;
<div class="blockarea legends">
<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>
</div>

@ -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 ""

@ -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 "่ฏŠๆ–ญ"

@ -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 "่จบๆ–ท"

@ -1,5 +1,3 @@
<?php
$GLOBALS['show_todo_strings'] = false;
?>

@ -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 ""

@ -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 "ๅผ€ๅง‹"

@ -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 ""

@ -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"