Changeset 1102
- Timestamp:
- 2012-08-01T10:12:14+02:00 (10 months ago)
- Location:
- trunk
- Files:
-
- 12 edited
-
devel/run (modified) (3 diffs)
-
devel/updatelangphp.awk (modified) (3 diffs)
-
htdocs/cacher/lang/en.php (modified) (5 diffs)
-
htdocs/cacher/lang/zh-simplified.php (modified) (5 diffs)
-
htdocs/cacher/lang/zh-traditional.php (modified) (5 diffs)
-
htdocs/common/lang/en.php (modified) (1 diff)
-
htdocs/common/lang/zh-simplified.php (modified) (2 diffs)
-
htdocs/common/lang/zh-traditional.php (modified) (2 diffs)
-
htdocs/coverager/lang/en.php (modified) (1 diff)
-
htdocs/coverager/lang/zh-simplified.php (modified) (2 diffs)
-
htdocs/diagnosis/lang/en.php (modified) (1 diff)
-
htdocs/diagnosis/lang/zh-simplified.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/devel/run
r1101 r1102 19 19 *langphp) 20 20 find htdocs -iname '*.po' | while read -r i; do 21 echo updateing $i 22 devel/updatelangphp.awk < $i 21 phpfile=${i/.po/.php} 22 devel/updatelangphp.awk < $i > $phpfile.tmp 23 mv $phpfile.tmp $phpfile 23 24 done 24 25 exit … … 97 98 mkdir -p ../${basename}-${dir} 98 99 cd ../${basename}-${dir} || exit 99 lndir ../${basename} > /dev/null100 lndir ../${basename} >/dev/null || true 100 101 101 102 pwd 102 $0 "$ @"103 $0 "$type" "${args[@]}" 103 104 done 104 105 exit … … 118 119 119 120 rm -f php-src 120 find -L . -type l | xargs rm -f 121 lndir "$xcachesrcdir" >/dev/null 121 find -L . -type l | xargs rm -fv 122 lndir "$xcachesrcdir" >/dev/null || true 122 123 find . -iname .\*.swp | xargs rm -f 123 124 ln -sf ~/src/php/$phpbasename php-src -
trunk/devel/updatelangphp.awk
r1101 r1102 2 2 BEGIN { 3 3 print "<?php"; 4 print " ";4 print "// auto generated, do not modify"; 5 5 print "$strings += array("; 6 6 } … … 11 11 if (msgid == "") { 12 12 } 13 else if (msgstr == "") { 14 } 13 15 else { 14 print "\t\ ""msgid"\"";15 print "\t => \""msgstr"\",";16 print "\t\t'"msgid"'"; 17 print "\t\t=> '"msgstr"',"; 16 18 } 17 19 } … … 61 63 END { 62 64 flushOut(); 63 print " );";65 print "\t\t);"; 64 66 print ""; 65 67 } -
trunk/htdocs/cacher/lang/en.php
r1099 r1102 1 1 <?php 2 3 $GLOBALS['config']['show_todo_strings'] = false; 4 5 $strings = array( 2 // auto generated, do not modify 3 $strings += array( 4 'php Cached' 5 => 'PHP Cached', 6 'var Cached' 7 => 'Variable Cached', 8 'php Deleted' 9 => 'PHP Deleted', 10 'var Deleted' 11 => 'Variable Deleted', 12 'entry.id' 13 => 'Id|', 14 'entry.remove' 15 => 'Remove|', 16 'entry.name' 17 => 'Entry name|The entry name or filename', 18 'entry.hits' 19 => 'Hits|Hit times of this entry (loaded from this cache)', 20 'entry.size' 21 => 'Size|Size in bytes of this entry in the cache', 22 'entry.refcount' 23 => 'Refs|Reference count of this entry is holded by a php request', 24 'entry.phprefcount' 25 => 'Shares|Count of entry sharing this php data', 26 'entry.class_cnt' 27 => 'Cls.|Count of classes', 28 'entry.function_cnt' 29 => 'Funcs|Count of functions', 30 'entry.file_size' 31 => 'Src Size|Size of the source file', 32 'entry.file_mtime' 33 => 'Modified|Last modified time of the source file', 34 'entry.file_device' 35 => 'dev|device number of the source file', 36 'entry.file_inode' 37 => 'ino|inode number of the source file', 38 'entry.hash' 39 => 'Hash|Hash value of this entry', 40 'entry.atime' 41 => 'Access|Last time when this entry is accessed', 42 'entry.ctime' 43 => 'Create|The time when this entry is stored', 44 'entry.delete' 45 => 'Delete|The time when this entry is deleted', 46 'Caches' 47 => 'Caches', 6 48 'cache.cache' 7 49 => 'Cache|', … … 12 54 'cache.avail' 13 55 => 'Avail|Available Memory, free memory in bytes of this cache', 14 'cache.used'15 => 'Used|Used Memory, used memory in bytes of this cache',16 56 'cache.blocksgraph' 17 57 => 'Percent Graph|Shows how much memory available in percent, and memory blocks status in graph', … … 19 59 => 'Operations|Press the clear button to clean this cache', 20 60 'cache.status' 21 => 'Status|Compiling flag, "Compiling" if the cache is busy compiling php script. "Disabled" if cache is disabled',61 => 'Status|Compiling flag, \"Compiling\" if the cache is busy compiling php script. \"Disabled\" if cache is disabled', 22 62 'cache.hits' 23 63 => 'Hits|Cache Hits, hit=a var/php is loaded from this cache', 64 'cache.hits_graph' 65 => 'Hits*24H|Hits graph of last 24 hours', 24 66 'cache.hits_avg_h' 25 67 => 'Hits/H|Average Hits per Hour. Only last 24 hours is logged', 26 'cache.hits_graph'27 => 'Hits*24H|Hits graph of last 24 hours',28 68 'cache.hits_avg_s' 29 69 => 'Hits/S|Average Hits per Second. Only last 5 seconds is logged', … … 33 73 => 'Skips|Skips. Skip=updates are needed but skipped for some reason. e.g.: other process/thread is busy compiling on this cache', 34 74 'cache.ooms' 35 => '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',75 => 'OOMs|Out Of Memory, how many times a new item should be stored but there isn't enough memory in the cache, think of increasing the xcache.size or xcache.var_size', 36 76 'cache.errors' 37 77 => 'Errs|Compiler errors, how many times your script is compiled but failed. You should really check what is happening if you see this value increase. (See Help for more information)', … … 44 84 'cache.gc_timer' 45 85 => 'GC|Seconds count down of Garbage Collection', 46 'entry.id' 47 => 'Id|', 48 'entry.name' 49 => 'Entry name|The entry name or filename', 50 'entry.hits' 51 => 'Hits|Hit times of this entry (loaded from this cache)', 52 'entry.size' 53 => 'Size|Size in bytes of this entry in the cache', 54 'entry.refcount' 55 => 'Refs|Reference count of this entry is holded by a php request', 56 'entry.phprefcount' 57 => 'Shares|Count of entry sharing this php data', 58 'entry.file_size' 59 => 'Src Size|Size of the source file', 60 'entry.file_mtime' 61 => 'Modified|Last modified time of the source file', 62 'entry.file_device' 63 => 'dev|device number of the source file', 64 'entry.file_inode' 65 => 'ino|inode number of the source file', 66 'entry.class_cnt' 67 => 'Cls.|Count of classes', 68 'entry.function_cnt' 69 => 'Funcs|Count of functions', 70 'entry.hash' 71 => 'Hash|Hash value of this entry', 72 'entry.atime' 73 => 'Access|Last time when this entry is accessed', 74 'entry.ctime' 75 => 'Create|The time when this entry is stored', 76 'entry.delete' 77 => 'Delete|The time when this entry is deleted', 78 'entry.remove' 79 => 'Remove|', 80 ); 86 ); 81 87 -
trunk/htdocs/cacher/lang/zh-simplified.php
r1099 r1102 1 1 <?php 2 2 // auto generated, do not modify 3 3 $strings += array( 4 'XCache Help' 5 => 'XCache 帮助信息', 6 'Help' 7 => '帮助', 8 'Clear' 9 => '清除', 10 'Sure?' 11 => '确认?', 12 '% Free' 13 => '% 剩余', 14 '% Used' 15 => '% 已用', 16 'Hits' 17 => '命中', 18 'Normal' 19 => '正常', 20 'Compiling' 21 => '编译中', 22 'Disabled' 23 => '禁用', 24 'Disable' 25 => '禁用', 26 'Enable' 27 => '启用', 28 'Modify' 29 => '修改', 30 'See also' 31 => '建议参考', 32 'Legends:' 33 => '图例:', 34 'Used Blocks' 35 => '已用块', 36 'Free Blocks' 37 => '未用块', 4 'Editing Variable %s' 5 => '正在编辑变量 %s', 6 'Set %s in config to enable' 7 => '请在配置文件中设置 %s 启用本功能', 38 8 'Total' 39 9 => '总共', 40 'Caches'41 => '缓存区',42 'php Cached'43 => '缓存的 PHP 脚本',44 'php Deleted'45 => '待删 PHP 缓存',46 'var Cached'47 => '缓存的变量',48 'var Deleted'49 => '待删变量',50 10 'Summary' 51 11 => '摘要信息', … … 54 14 'List Var Data' 55 15 => '列变量数据', 56 'XCache %s Administration' 57 => 'XCache %s 管理页面', 16 'php Cached' 17 => '缓存的 PHP 脚本', 18 'var Cached' 19 => '缓存的变量', 20 'php Deleted' 21 => '待删 PHP 缓存', 22 'var Deleted' 23 => '待删变量', 24 'entry.id' 25 => 'Id|', 26 'entry.remove' 27 => '删除|', 28 'entry.name' 29 => '项目名/文件名|项目名或者文件名', 30 'entry.hits' 31 => '命中|该项目被命中的次数 (从共享内存区载入)', 32 'entry.size' 33 => '大小|项目在共享内存里占用字节数', 34 'entry.refcount' 35 => '引用数|项目依然被其他进程占据的引用次数', 36 'entry.phprefcount' 37 => '共享数|与本项目相同 PHP 代码的个数', 38 'entry.class_cnt' 39 => '类|类个数', 40 'entry.function_cnt' 41 => '函数|函数个数', 42 'entry.file_size' 43 => '源大小|源文件大小', 44 'entry.file_mtime' 45 => '修改|源文件最后修改时间', 46 'entry.file_device' 47 => 'dev|源文件所在设备ID', 48 'entry.file_inode' 49 => 'ino|源文件的 inode', 50 'entry.hash' 51 => '哈希|该项目的哈希值', 52 'entry.atime' 53 => '访问|最后访问该项目的时间', 54 'entry.ctime' 55 => '创建|该项目被创建于共享内的时间', 56 'entry.delete' 57 => '删除|该项目被决定删除的时间', 58 'Remove Selected' 59 => '删除所选', 58 60 'Module Info' 59 61 => '模块信息', 60 'Remove Selected' 61 => '删除所选', 62 'Editing Variable %s' 63 => '正在编辑变量 %s', 64 'Set %s in config to enable' 65 => '请在配置文件中设置 %s 启用本功能', 62 'Caches' 63 => '缓存区', 66 64 'cache.cache' 67 65 => '缓存|', … … 72 70 'cache.avail' 73 71 => '剩余|可用内存, 对应共享内存区的剩余内存字节数', 74 'cache.used'75 => '已用|已用内存, 对应共享内存区的已用内存字节数',76 72 'cache.blocksgraph' 77 73 => '百分比图|条状显示可用内存的比例, 以及显示分配块状态', … … 79 75 => '操作|点击按钮清除对应共享内存区的数据', 80 76 'cache.status' 81 => '状态|状态标记. 当共享内存区正在编译 PHP 脚本时标记为 "编译中". 当共享内存区暂停使用时标记为 "禁用"',77 => '状态|状态标记. 当共享内存区正在编译 PHP 脚本时标记为 \"编译中\". 当共享内存区暂停使用时标记为 \"禁用\"', 82 78 'cache.hits' 83 79 => '命中|共享内存命中次数, 命中=从该共享内存载入 PHP 或者变量', 80 'cache.hits_graph' 81 => '24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数', 84 82 'cache.hits_avg_h' 85 83 => '命中/H|每小时命中次数. 只统计最后 24 小时', 86 'cache.hits_graph'87 => '24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数',88 84 'cache.hits_avg_s' 89 85 => '命中/S|每秒命中次数. 只统计最后 5 秒', … … 104 100 'cache.gc_timer' 105 101 => 'GC|垃圾回收的倒计时', 106 'entry.id' 107 => 'Id|', 108 'entry.name' 109 => '项目名/文件名|项目名或者文件名', 110 'entry.hits' 111 => '命中|该项目被命中的次数 (从共享内存区载入)', 112 'entry.size' 113 => '大小|项目在共享内存里占用字节数', 114 'entry.refcount' 115 => '引用数|项目依然被其他进程占据的引用次数', 116 'entry.phprefcount' 117 => '共享数|与本项目相同 PHP 代码的个数', 118 'entry.file_size' 119 => '源大小|源文件大小', 120 'entry.file_mtime' 121 => '修改|源文件最后修改时间', 122 'entry.file_device' 123 => 'dev|源文件所在设备ID', 124 'entry.file_inode' 125 => 'ino|源文件的 inode', 126 'entry.class_cnt' 127 => '类|类个数', 128 'entry.function_cnt' 129 => '函数|函数个数', 130 'entry.hash' 131 => '哈希|该项目的哈希值', 132 'entry.atime' 133 => '访问|最后访问该项目的时间', 134 'entry.ctime' 135 => '创建|该项目被创建于共享内的时间', 136 'entry.delete' 137 => '删除|该项目被决定删除的时间', 138 'entry.remove' 139 => '删除|', 140 ); 102 'Clear' 103 => '清除', 104 'Disabled' 105 => '禁用', 106 'Disable' 107 => '禁用', 108 'Enable' 109 => '启用', 110 'Compiling' 111 => '编译中', 112 'Normal' 113 => '正常', 114 'Sure?' 115 => '确认?', 116 'Legends:' 117 => '图例:', 118 '% Free' 119 => '% 剩余', 120 '% Used' 121 => '% 已用', 122 'Free Blocks' 123 => '未用块', 124 'Used Blocks' 125 => '已用块', 126 'Hits' 127 => '命中', 128 ); 141 129 -
trunk/htdocs/cacher/lang/zh-traditional.php
r1099 r1102 1 1 <?php 2 2 // auto generated, do not modify 3 3 $strings += array( 4 'XCache Help' 5 => 'XCache 說明訊息', 6 'Help' 7 => '說明', 8 'Clear' 9 => '清除', 10 'Sure?' 11 => '確認?', 12 '% Free' 13 => '% 剩余', 14 '% Used' 15 => '% 已用', 16 'Hits' 17 => '命中', 18 'Normal' 19 => '正常', 20 'Compiling' 21 => '編譯中', 22 'Disabled' 23 => '禁用', 24 'Disable' 25 => '禁用', 26 'Enable' 27 => '啟用', 28 'Modify' 29 => '修改', 30 'See also' 31 => '建議參考', 32 'Legends:' 33 => '图例:', 34 'Used Blocks' 35 => '已用块', 36 'Free Blocks' 37 => '未用块', 4 'Editing Variable %s' 5 => '正在编辑变量 %s', 6 'Set %s in config to enable' 7 => '請在配置文件中設置 %s 啟用本功能', 38 8 'Total' 39 9 => '总共', 40 'Caches'41 => '快取',42 'php Cached'43 => '快取的 PHP 指令',44 'php Deleted'45 => '待刪 PHP 指令',46 'var Cached'47 => '快取的變數',48 'var Deleted'49 => '待刪變數',50 10 'Summary' 51 11 => '簡要訊息', … … 54 14 'List Var Data' 55 15 => '列變數資料', 56 'XCache %s Administration' 57 => 'XCache %s 管理頁面', 16 'php Cached' 17 => '快取的 PHP 指令', 18 'var Cached' 19 => '快取的變數', 20 'php Deleted' 21 => '待刪 PHP 指令', 22 'var Deleted' 23 => '待刪變數', 24 'entry.id' 25 => 'Id|', 26 'entry.remove' 27 => '移除|', 28 'entry.name' 29 => '項目名稱/檔案名稱|項目名稱或者檔案名稱', 30 'entry.hits' 31 => '命中|該項目被命中的次數 (從共享記憶體區載入)', 32 'entry.size' 33 => '大小|項目在共享記憶體裡佔用位元數', 34 'entry.refcount' 35 => '引用數|項目依然被其他程序佔用的引用次數', 36 'entry.phprefcount' 37 => '共享|與本項目相同 PHP 內容的个數', 38 'entry.class_cnt' 39 => '类|类个数', 40 'entry.function_cnt' 41 => '函数|函数个数', 42 'entry.file_size' 43 => '源大小|原始檔案大小', 44 'entry.file_mtime' 45 => '修改|原始檔案最後修改時間', 46 'entry.file_device' 47 => 'dev|原始檔案所在設備ID', 48 'entry.file_inode' 49 => 'ino|原始檔案的inode', 50 'entry.hash' 51 => 'Hash|Hash', 52 'entry.atime' 53 => '存取|最後存取該項目的時間', 54 'entry.ctime' 55 => '建立|該項目被建立於共享內的時間', 56 'entry.delete' 57 => '移除|該項目被移除於共享內的時間', 58 'Remove Selected' 59 => '移除所选', 58 60 'Module Info' 59 61 => '組元訊息', 60 'Remove Selected' 61 => '移除所选', 62 'Editing Variable %s' 63 => '正在编辑变量 %s', 64 'Set %s in config to enable' 65 => '請在配置文件中設置 %s 啟用本功能', 62 'Caches' 63 => '快取', 66 64 'cache.cache' 67 65 => '快取|', … … 72 70 'cache.avail' 73 71 => '剩餘|可用記憶體,對應共享記憶體區的剩餘記憶體位元數', 74 'cache.used'75 => '已用|已用内存, 对应共享内存区的已用内存字节数',76 72 'cache.blocksgraph' 77 73 => '百分比图|條狀顯示可用記憶體的比例', … … 79 75 => '操作按鈕|點擊按鈕清除對應共享記憶體區的資料', 80 76 'cache.status' 81 => '狀態|狀態標記. 當共享內存區正在編譯 PHP 腳本時標記為 "編譯中". 當共享內存區暫停使用時標記為 "禁用"',77 => '狀態|狀態標記. 當共享內存區正在編譯 PHP 腳本時標記為 \"編譯中\". 當共享內存區暫停使用時標記為 \"禁用\"', 82 78 'cache.hits' 83 79 => '命中|共享記憶體命中次數,命中=從該共享記憶體載入 PHP 或者變數', 80 'cache.hits_graph' 81 => '24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数', 84 82 'cache.hits_avg_h' 85 83 => '命中/H|每小时命中次数. 只统计最后 24 小时', 86 'cache.hits_graph'87 => '24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数',88 84 'cache.hits_avg_s' 89 85 => '命中/S|每秒命中次数. 只统计最后 5 秒', … … 104 100 'cache.gc_timer' 105 101 => 'GC|垃圾回收的倒數計時', 106 'entry.id' 107 => 'Id|', 108 'entry.name' 109 => '項目名稱/檔案名稱|項目名稱或者檔案名稱', 110 'entry.hits' 111 => '命中|該項目被命中的次數 (從共享記憶體區載入)', 112 'entry.size' 113 => '大小|項目在共享記憶體裡佔用位元數', 114 'entry.refcount' 115 => '引用數|項目依然被其他程序佔用的引用次數', 116 'entry.phprefcount' 117 => '共享|與本項目相同 PHP 內容的个數', 118 'entry.file_size' 119 => '源大小|原始檔案大小', 120 'entry.file_mtime' 121 => '修改|原始檔案最後修改時間', 122 'entry.file_device' 123 => 'dev|原始檔案所在設備ID', 124 'entry.file_inode' 125 => 'ino|原始檔案的inode', 126 'entry.class_cnt' 127 => '类|类个数', 128 'entry.function_cnt' 129 => '函数|函数个数', 130 'entry.hash' 131 => 'Hash|Hash', 132 'entry.atime' 133 => '存取|最後存取該項目的時間', 134 'entry.ctime' 135 => '建立|該項目被建立於共享內的時間', 136 'entry.delete' 137 => '移除|該項目被移除於共享內的時間', 138 'entry.remove' 139 => '移除|', 140 ); 102 'Clear' 103 => '清除', 104 'Disabled' 105 => '禁用', 106 'Disable' 107 => '禁用', 108 'Enable' 109 => '啟用', 110 'Compiling' 111 => '編譯中', 112 'Normal' 113 => '正常', 114 'Sure?' 115 => '確認?', 116 'Legends:' 117 => '图例:', 118 '% Free' 119 => '% 剩余', 120 '% Used' 121 => '% 已用', 122 'Free Blocks' 123 => '未用块', 124 'Used Blocks' 125 => '已用块', 126 'Hits' 127 => '命中', 128 ); 141 129 -
trunk/htdocs/common/lang/en.php
r1099 r1102 1 1 <?php 2 // auto generated, do not modify 3 $strings += array( 4 ); 2 5 3 $strings = array();4 -
trunk/htdocs/common/lang/zh-simplified.php
r1099 r1102 1 1 <?php 2 2 // auto generated, do not modify 3 3 $strings += array( 4 'Cacher'5 => '缓存器',6 'Coverager'7 => '代码覆盖查看器',8 'Diagnosis'9 => '诊断',10 4 'Document' 11 5 => '帮助文档', … … 16 10 'Discusson' 17 11 => '讨论', 18 '' 19 => '', 12 'Cacher' 13 => '缓存器', 14 'Coverager' 15 => '代码覆盖查看器', 16 'Diagnosis' 17 => '诊断', 20 18 ); 21 19 -
trunk/htdocs/common/lang/zh-traditional.php
r1099 r1102 1 1 <?php 2 2 // auto generated, do not modify 3 3 $strings += array( 4 'Cacher'5 => '快取器',6 'Coverager'7 => '代码覆盖查看器',8 'Diagnosis'9 => '診斷',10 4 'Document' 11 5 => '幫助文檔', … … 16 10 'Discusson' 17 11 => '討論', 18 '' 19 => '', 12 'Cacher' 13 => '快取器', 14 'Coverager' 15 => '代码覆盖查看器', 16 'Diagnosis' 17 => '診斷', 20 18 ); 21 19 -
trunk/htdocs/coverager/lang/en.php
r1101 r1102 1 1 <?php 2 // auto generated, do not modify 3 $strings += array( 4 ); 2 5 3 ?> -
trunk/htdocs/coverager/lang/zh-simplified.php
r1099 r1102 1 1 <?php 2 2 // auto generated, do not modify 3 3 $strings += array( 4 'root'5 => '开始',6 4 'Directory' 7 5 => '目录', 8 'File'9 => '文件',10 6 'Percent' 11 7 => '覆盖率', … … 16 12 'TODO' 17 13 => '闲置文件', 18 'XCache PHP Code Coverage Viewer' 19 => 'XCache PHP 代码覆盖查看器', 20 'module' 21 => '模块', 22 '' 23 => '', 14 'File' 15 => '文件', 16 'root' 17 => '开始', 24 18 ); 25 19 -
trunk/htdocs/diagnosis/lang/en.php
r1099 r1102 1 <?php 2 // auto generated, do not modify 3 $strings += array( 4 ); 5 -
trunk/htdocs/diagnosis/lang/zh-simplified.php
r1099 r1102 1 <?php 2 // auto generated, do not modify 3 $strings += array( 4 ); 5
Note: See TracChangeset
for help on using the changeset viewer.

