1
0
Fork 0

htdocs: updated translation using po

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

@ -18,8 +18,9 @@ prep*)
;;
*langphp)
find htdocs -iname '*.po' | while read -r i; do
echo updateing $i
devel/updatelangphp.awk < $i
phpfile=${i/.po/.php}
devel/updatelangphp.awk < $i > $phpfile.tmp
mv $phpfile.tmp $phpfile
done
exit
;;
@ -96,10 +97,10 @@ if echo $basename | grep -- - >/dev/null; then :; else
for dir in $dirs; do
mkdir -p ../${basename}-${dir}
cd ../${basename}-${dir} || exit
lndir ../${basename} > /dev/null
lndir ../${basename} >/dev/null || true
pwd
$0 "$@"
$0 "$type" "${args[@]}"
done
exit
fi
@ -117,8 +118,8 @@ phpize)
esac
rm -f php-src
find -L . -type l | xargs rm -f
lndir "$xcachesrcdir" >/dev/null
find -L . -type l | xargs rm -fv
lndir "$xcachesrcdir" >/dev/null || true
find . -iname .\*.swp | xargs rm -f
ln -sf ~/src/php/$phpbasename php-src
for i in ~/src/php/$phpbasename/sapi/cgi/php{,-cgi}; do

@ -1,7 +1,7 @@
#!/usr/bin/awk -f
BEGIN {
print "<?php";
print "";
print "// auto generated, do not modify";
print "$strings += array(";
}
@ -10,9 +10,11 @@ function flushOut() {
if (section == "msgstr") {
if (msgid == "") {
}
else if (msgstr == "") {
}
else {
print "\t\""msgid"\"";
print "\t=> \""msgstr"\",";
print "\t\t'"msgid"'";
print "\t\t=> '"msgstr"',";
}
}
else {
@ -60,6 +62,6 @@ function flushOut() {
}
END {
flushOut();
print ");";
print "\t\t);";
print "";
}

@ -1,8 +1,50 @@
<?php
$GLOBALS['config']['show_todo_strings'] = false;
$strings = array(
// auto generated, do not modify
$strings += array(
'php Cached'
=> 'PHP Cached',
'var Cached'
=> 'Variable Cached',
'php Deleted'
=> 'PHP Deleted',
'var Deleted'
=> 'Variable Deleted',
'entry.id'
=> 'Id|',
'entry.remove'
=> 'Remove|',
'entry.name'
=> 'Entry name|The entry name or filename',
'entry.hits'
=> 'Hits|Hit times of this entry (loaded from this cache)',
'entry.size'
=> 'Size|Size in bytes of this entry in the cache',
'entry.refcount'
=> 'Refs|Reference count of this entry is holded by a php request',
'entry.phprefcount'
=> 'Shares|Count of entry sharing this php data',
'entry.class_cnt'
=> 'Cls.|Count of classes',
'entry.function_cnt'
=> 'Funcs|Count of functions',
'entry.file_size'
=> 'Src Size|Size of the source file',
'entry.file_mtime'
=> 'Modified|Last modified time of the source file',
'entry.file_device'
=> 'dev|device number of the source file',
'entry.file_inode'
=> 'ino|inode number of the source file',
'entry.hash'
=> 'Hash|Hash value of this entry',
'entry.atime'
=> 'Access|Last time when this entry is accessed',
'entry.ctime'
=> 'Create|The time when this entry is stored',
'entry.delete'
=> 'Delete|The time when this entry is deleted',
'Caches'
=> 'Caches',
'cache.cache'
=> 'Cache|',
'cache.slots'
@ -11,20 +53,18 @@ $strings = array(
=> 'Size|Cache Size, Size of the cache (or cache chunk), in bytes',
'cache.avail'
=> 'Avail|Available Memory, free memory in bytes of this cache',
'cache.used'
=> 'Used|Used Memory, used memory in bytes of this cache',
'cache.blocksgraph'
=> 'Percent Graph|Shows how much memory available in percent, and memory blocks status in graph',
'cache.operations'
=> 'Operations|Press the clear button to clean this cache',
'cache.status'
=> 'Status|Compiling flag, "Compiling" if the cache is busy compiling php script. "Disabled" if cache is disabled',
=> 'Status|Compiling flag, \"Compiling\" if the cache is busy compiling php script. \"Disabled\" if cache is disabled',
'cache.hits'
=> 'Hits|Cache Hits, hit=a var/php is loaded from this cache',
'cache.hits_avg_h'
=> 'Hits/H|Average Hits per Hour. Only last 24 hours is logged',
'cache.hits_graph'
=> 'Hits*24H|Hits graph of last 24 hours',
'cache.hits_avg_h'
=> 'Hits/H|Average Hits per Hour. Only last 24 hours is logged',
'cache.hits_avg_s'
=> 'Hits/S|Average Hits per Second. Only last 5 seconds is logged',
'cache.updates'
@ -32,7 +72,7 @@ $strings = array(
'cache.skips'
=> 'Skips|Skips. Skip=updates are needed but skipped for some reason. e.g.: other process/thread is busy compiling on this cache',
'cache.ooms'
=> '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',
=> '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',
'cache.errors'
=> '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)',
'cache.readonly_protected'
@ -43,39 +83,5 @@ $strings = array(
=> 'Deleted|Number of entries is pending in delete list (expired but referenced)',
'cache.gc_timer'
=> 'GC|Seconds count down of Garbage Collection',
'entry.id'
=> 'Id|',
'entry.name'
=> 'Entry name|The entry name or filename',
'entry.hits'
=> 'Hits|Hit times of this entry (loaded from this cache)',
'entry.size'
=> 'Size|Size in bytes of this entry in the cache',
'entry.refcount'
=> 'Refs|Reference count of this entry is holded by a php request',
'entry.phprefcount'
=> 'Shares|Count of entry sharing this php data',
'entry.file_size'
=> 'Src Size|Size of the source file',
'entry.file_mtime'
=> 'Modified|Last modified time of the source file',
'entry.file_device'
=> 'dev|device number of the source file',
'entry.file_inode'
=> 'ino|inode number of the source file',
'entry.class_cnt'
=> 'Cls.|Count of classes',
'entry.function_cnt'
=> 'Funcs|Count of functions',
'entry.hash'
=> 'Hash|Hash value of this entry',
'entry.atime'
=> 'Access|Last time when this entry is accessed',
'entry.ctime'
=> 'Create|The time when this entry is stored',
'entry.delete'
=> 'Delete|The time when this entry is deleted',
'entry.remove'
=> 'Remove|',
);
);

@ -1,68 +1,66 @@
<?php
// auto generated, do not modify
$strings += array(
'XCache Help'
=> 'XCache 帮助信息',
'Help'
=> '帮助',
'Clear'
=> '清除',
'Sure?'
=> '确认?',
'% Free'
=> '% 剩余',
'% Used'
=> '% 已用',
'Hits'
=> '命中',
'Normal'
=> '正常',
'Compiling'
=> '编译中',
'Disabled'
=> '禁用',
'Disable'
=> '禁用',
'Enable'
=> '启用',
'Modify'
=> '修改',
'See also'
=> '建议参考',
'Legends:'
=> '图例:',
'Used Blocks'
=> '已用块',
'Free Blocks'
=> '未用块',
'Editing Variable %s'
=> '正在编辑变量 %s',
'Set %s in config to enable'
=> '请在配置文件中设置 %s 启用本功能',
'Total'
=> '总共',
'Caches'
=> '缓存区',
'php Cached'
=> '缓存的 PHP 脚本',
'php Deleted'
=> '待删 PHP 缓存',
'var Cached'
=> '缓存的变量',
'var Deleted'
=> '待删变量',
'Summary'
=> '摘要信息',
'List PHP'
=> '列出PHP',
'List Var Data'
=> '列变量数据',
'XCache %s Administration'
=> 'XCache %s 管理页面',
'Module Info'
=> '模块信息',
'php Cached'
=> '缓存的 PHP 脚本',
'var Cached'
=> '缓存的变量',
'php Deleted'
=> '待删 PHP 缓存',
'var Deleted'
=> '待删变量',
'entry.id'
=> 'Id|',
'entry.remove'
=> '删除|',
'entry.name'
=> '项目名/文件名|项目名或者文件名',
'entry.hits'
=> '命中|该项目被命中的次数 (从共享内存区载入)',
'entry.size'
=> '大小|项目在共享内存里占用字节数',
'entry.refcount'
=> '引用数|项目依然被其他进程占据的引用次数',
'entry.phprefcount'
=> '共享数|与本项目相同 PHP 代码的个数',
'entry.class_cnt'
=> '类|类个数',
'entry.function_cnt'
=> '函数|函数个数',
'entry.file_size'
=> '源大小|源文件大小',
'entry.file_mtime'
=> '修改|源文件最后修改时间',
'entry.file_device'
=> 'dev|源文件所在设备ID',
'entry.file_inode'
=> 'ino|源文件的 inode',
'entry.hash'
=> '哈希|该项目的哈希值',
'entry.atime'
=> '访问|最后访问该项目的时间',
'entry.ctime'
=> '创建|该项目被创建于共享内的时间',
'entry.delete'
=> '删除|该项目被决定删除的时间',
'Remove Selected'
=> '删除所选',
'Editing Variable %s'
=> '正在编辑变量 %s',
'Set %s in config to enable'
=> '请在配置文件中设置 %s 启用本功能',
'Module Info'
=> '模块信息',
'Caches'
=> '缓存区',
'cache.cache'
=> '缓存|',
'cache.slots'
@ -71,20 +69,18 @@ $strings += array(
=> '大小|共享内存区大小, 单位: 字节',
'cache.avail'
=> '剩余|可用内存, 对应共享内存区的剩余内存字节数',
'cache.used'
=> '已用|已用内存, 对应共享内存区的已用内存字节数',
'cache.blocksgraph'
=> '百分比图|条状显示可用内存的比例, 以及显示分配块状态',
'cache.operations'
=> '操作|点击按钮清除对应共享内存区的数据',
'cache.status'
=> '状态|状态标记. 当共享内存区正在编译 PHP 脚本时标记为 "编译中". 当共享内存区暂停使用时标记为 "禁用"',
=> '状态|状态标记. 当共享内存区正在编译 PHP 脚本时标记为 \"编译中\". 当共享内存区暂停使用时标记为 \"禁用\"',
'cache.hits'
=> '命中|共享内存命中次数, 命中=从该共享内存载入 PHP 或者变量',
'cache.hits_avg_h'
=> '命中/H|每小时命中次数. 只统计最后 24 小时',
'cache.hits_graph'
=> '24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数',
'cache.hits_avg_h'
=> '命中/H|每小时命中次数. 只统计最后 24 小时',
'cache.hits_avg_s'
=> '命中/S|每秒命中次数. 只统计最后 5 秒',
'cache.updates'
@ -103,39 +99,31 @@ $strings += array(
=> '待删|共享内存区内将要删除的项目 (已经删除但是还被某些进程占用)',
'cache.gc_timer'
=> 'GC|垃圾回收的倒计时',
'entry.id'
=> 'Id|',
'entry.name'
=> '项目名/文件名|项目名或者文件名',
'entry.hits'
=> '命中|该项目被命中的次数 (从共享内存区载入)',
'entry.size'
=> '大小|项目在共享内存里占用字节数',
'entry.refcount'
=> '引用数|项目依然被其他进程占据的引用次数',
'entry.phprefcount'
=> '共享数|与本项目相同 PHP 代码的个数',
'entry.file_size'
=> '源大小|源文件大小',
'entry.file_mtime'
=> '修改|源文件最后修改时间',
'entry.file_device'
=> 'dev|源文件所在设备ID',
'entry.file_inode'
=> 'ino|源文件的 inode',
'entry.class_cnt'
=> '类|类个数',
'entry.function_cnt'
=> '函数|函数个数',
'entry.hash'
=> '哈希|该项目的哈希值',
'entry.atime'
=> '访问|最后访问该项目的时间',
'entry.ctime'
=> '创建|该项目被创建于共享内的时间',
'entry.delete'
=> '删除|该项目被决定删除的时间',
'entry.remove'
=> '删除|',
);
'Clear'
=> '清除',
'Disabled'
=> '禁用',
'Disable'
=> '禁用',
'Enable'
=> '启用',
'Compiling'
=> '编译中',
'Normal'
=> '正常',
'Sure?'
=> '确认?',
'Legends:'
=> '图例:',
'% Free'
=> '% 剩余',
'% Used'
=> '% 已用',
'Free Blocks'
=> '未用块',
'Used Blocks'
=> '已用块',
'Hits'
=> '命中',
);

@ -1,68 +1,66 @@
<?php
// auto generated, do not modify
$strings += array(
'XCache Help'
=> 'XCache 說明訊息',
'Help'
=> '說明',
'Clear'
=> '清除',
'Sure?'
=> '確認?',
'% Free'
=> '% 剩余',
'% Used'
=> '% 已用',
'Hits'
=> '命中',
'Normal'
=> '正常',
'Compiling'
=> '編譯中',
'Disabled'
=> '禁用',
'Disable'
=> '禁用',
'Enable'
=> '啟用',
'Modify'
=> '修改',
'See also'
=> '建議參考',
'Legends:'
=> '图例:',
'Used Blocks'
=> '已用块',
'Free Blocks'
=> '未用块',
'Editing Variable %s'
=> '正在编辑变量 %s',
'Set %s in config to enable'
=> '請在配置文件中設置 %s 啟用本功能',
'Total'
=> '总共',
'Caches'
=> '快取',
'php Cached'
=> '快取的 PHP 指令',
'php Deleted'
=> '待刪 PHP 指令',
'var Cached'
=> '快取的變數',
'var Deleted'
=> '待刪變數',
'Summary'
=> '簡要訊息',
'List PHP'
=> '列出PHP',
'List Var Data'
=> '列變數資料',
'XCache %s Administration'
=> 'XCache %s 管理頁面',
'Module Info'
=> '組元訊息',
'php Cached'
=> '快取的 PHP 指令',
'var Cached'
=> '快取的變數',
'php Deleted'
=> '待刪 PHP 指令',
'var Deleted'
=> '待刪變數',
'entry.id'
=> 'Id|',
'entry.remove'
=> '移除|',
'entry.name'
=> '項目名稱/檔案名稱|項目名稱或者檔案名稱',
'entry.hits'
=> '命中|該項目被命中的次數 (從共享記憶體區載入)',
'entry.size'
=> '大小|項目在共享記憶體裡佔用位元數',
'entry.refcount'
=> '引用數|項目依然被其他程序佔用的引用次數',
'entry.phprefcount'
=> '共享|與本項目相同 PHP 內容的个數',
'entry.class_cnt'
=> '类|类个数',
'entry.function_cnt'
=> '函数|函数个数',
'entry.file_size'
=> '源大小|原始檔案大小',
'entry.file_mtime'
=> '修改|原始檔案最後修改時間',
'entry.file_device'
=> 'dev|原始檔案所在設備ID',
'entry.file_inode'
=> 'ino|原始檔案的inode',
'entry.hash'
=> 'Hash|Hash',
'entry.atime'
=> '存取|最後存取該項目的時間',
'entry.ctime'
=> '建立|該項目被建立於共享內的時間',
'entry.delete'
=> '移除|該項目被移除於共享內的時間',
'Remove Selected'
=> '移除所选',
'Editing Variable %s'
=> '正在编辑变量 %s',
'Set %s in config to enable'
=> '請在配置文件中設置 %s 啟用本功能',
'Module Info'
=> '組元訊息',
'Caches'
=> '快取',
'cache.cache'
=> '快取|',
'cache.slots'
@ -71,20 +69,18 @@ $strings += array(
=> '大小|共享記憶體區大小,單位:位元',
'cache.avail'
=> '剩餘|可用記憶體,對應共享記憶體區的剩餘記憶體位元數',
'cache.used'
=> '已用|已用内存, 对应共享内存区的已用内存字节数',
'cache.blocksgraph'
=> '百分比图|條狀顯示可用記憶體的比例',
'cache.operations'
=> '操作按鈕|點擊按鈕清除對應共享記憶體區的資料',
'cache.status'
=> '狀態|狀態標記. 當共享內存區正在編譯 PHP 腳本時標記為 "編譯中". 當共享內存區暫停使用時標記為 "禁用"',
=> '狀態|狀態標記. 當共享內存區正在編譯 PHP 腳本時標記為 \"編譯中\". 當共享內存區暫停使用時標記為 \"禁用\"',
'cache.hits'
=> '命中|共享記憶體命中次數,命中=從該共享記憶體載入 PHP 或者變數',
'cache.hits_avg_h'
=> '命中/H|每小时命中次数. 只统计最后 24 小时',
'cache.hits_graph'
=> '24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数',
'cache.hits_avg_h'
=> '命中/H|每小时命中次数. 只统计最后 24 小时',
'cache.hits_avg_s'
=> '命中/S|每秒命中次数. 只统计最后 5 秒',
'cache.updates'
@ -103,39 +99,31 @@ $strings += array(
=> '待刪|共享記憶體區內將要刪除的項目 (已經刪除但是還被某些程序佔用)',
'cache.gc_timer'
=> 'GC|垃圾回收的倒數計時',
'entry.id'
=> 'Id|',
'entry.name'
=> '項目名稱/檔案名稱|項目名稱或者檔案名稱',
'entry.hits'
=> '命中|該項目被命中的次數 (從共享記憶體區載入)',
'entry.size'
=> '大小|項目在共享記憶體裡佔用位元數',
'entry.refcount'
=> '引用數|項目依然被其他程序佔用的引用次數',
'entry.phprefcount'
=> '共享|與本項目相同 PHP 內容的个數',
'entry.file_size'
=> '源大小|原始檔案大小',
'entry.file_mtime'
=> '修改|原始檔案最後修改時間',
'entry.file_device'
=> 'dev|原始檔案所在設備ID',
'entry.file_inode'
=> 'ino|原始檔案的inode',
'entry.class_cnt'
=> '类|类个数',
'entry.function_cnt'
=> '函数|函数个数',
'entry.hash'
=> 'Hash|Hash',
'entry.atime'
=> '存取|最後存取該項目的時間',
'entry.ctime'
=> '建立|該項目被建立於共享內的時間',
'entry.delete'
=> '移除|該項目被移除於共享內的時間',
'entry.remove'
=> '移除|',
);
'Clear'
=> '清除',
'Disabled'
=> '禁用',
'Disable'
=> '禁用',
'Enable'
=> '啟用',
'Compiling'
=> '編譯中',
'Normal'
=> '正常',
'Sure?'
=> '確認?',
'Legends:'
=> '图例:',
'% Free'
=> '% 剩余',
'% Used'
=> '% 已用',
'Free Blocks'
=> '未用块',
'Used Blocks'
=> '已用块',
'Hits'
=> '命中',
);

@ -1,4 +1,5 @@
<?php
$strings = array();
// auto generated, do not modify
$strings += array(
);

@ -1,12 +1,6 @@
<?php
// auto generated, do not modify
$strings += array(
'Cacher'
=> '缓存器',
'Coverager'
=> '代码覆盖查看器',
'Diagnosis'
=> '诊断',
'Document'
=> '帮助文档',
'INI Reference'
@ -15,7 +9,11 @@ $strings += array(
=> '获取支持',
'Discusson'
=> '讨论',
''
=> '',
'Cacher'
=> '缓存器',
'Coverager'
=> '代码覆盖查看器',
'Diagnosis'
=> '诊断',
);

@ -1,12 +1,6 @@
<?php
// auto generated, do not modify
$strings += array(
'Cacher'
=> '快取器',
'Coverager'
=> '代码覆盖查看器',
'Diagnosis'
=> '診斷',
'Document'
=> '幫助文檔',
'INI Reference'
@ -15,7 +9,11 @@ $strings += array(
=> '獲取支持',
'Discusson'
=> '討論',
''
=> '',
'Cacher'
=> '快取器',
'Coverager'
=> '代码覆盖查看器',
'Diagnosis'
=> '診斷',
);

@ -1,3 +1,5 @@
<?php
// auto generated, do not modify
$strings += array(
);
?>

@ -1,12 +1,8 @@
<?php
// auto generated, do not modify
$strings += array(
'root'
=> '开始',
'Directory'
=> '目录',
'File'
=> '文件',
'Percent'
=> '覆盖率',
'Hits'
@ -15,11 +11,9 @@ $strings += array(
=> '行数',
'TODO'
=> '闲置文件',
'XCache PHP Code Coverage Viewer'
=> 'XCache PHP 代码覆盖查看器',
'module'
=> '模块',
''
=> '',
'File'
=> '文件',
'root'
=> '开始',
);

@ -0,0 +1,5 @@
<?php
// auto generated, do not modify
$strings += array(
);

@ -0,0 +1,5 @@
<?php
// auto generated, do not modify
$strings += array(
);
Loading…
Cancel
Save