Changeset 123 in svn for trunk/admin/help.php


Ignore:
Timestamp:
2006-09-02T02:13:29Z (9 years ago)
Author:
Xuefer
Message:

Chinese translation for admin page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/help.php

    r106 r123  
    11<?php
    2 $charset = "UTF-8";
    3 if (file_exists("./config.php")) {
    4     include("./config.php");
    5 }
     2include("./common.php");
    63?>
    74<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     
    129echo <<<HEAD
    1310    <meta http-equiv="Content-Type" content="text/html; charset=$charset" />
     11      <meta http-equiv="Content-Language" content="$lang" />
    1412    <script type="text/javascript" src="tablesort.js" charset="$charset"></script>
    1513HEAD;
     
    1715
    1816    <link rel="stylesheet" type="text/css" href="xcache.css" />
    19     <title>XCache Administration Help</title>
     17    <title><?php echo _T('XCache Administration Help'); ?></title>
    2018    <script>
    2119    function toggle(o)
     
    2725
    2826<body>
    29 <h1>XCache Administration Help</h1>
    30 <a href="javascript:" onclick="toggle(document.getElementById('help'));return false" style="display:block; float: right">Help</a>
     27<h1><?php echo _T('XCache Administration Help'); ?></h1>
    3128<div id1="help">
    32 <h2>Cache Legends</h2>
    33 <pre>
    34 <b>Slots:      </b>Number of hash slots. the setting from your php.ini
    35 <b>Size:       </b>Cache Size, Size of the cache (or cache chunk), in bytes
    36 <b>Avail:      </b>Available Memory, free memory in bytes of this cache
    37 <b>Used:       </b>Used Percent, A bar shows how much memory used in percent
    38 <b>Clear:      </b>Clear Button, Press the button to clean this cache
    39 <b>Compiling:  </b>Compiling flag, "yes" if the cache is busy compiling php script
    40 <b>Hits:       </b>Cache Hits, hit=a var/php is loaded from this cache
    41 <b>Misses:     </b>Cache Misses, miss=a var/php is requested but not in the cache
    42 <b>Clogs:      </b>Compiling Clogs, clog=compiling is needed but avoided to wait(be blocked)
    43             when the cache is busy compiling already
    44 <b>OOMs:       </b>Out Of Memory, how many times a new item should be stored but there isn't
    45             enough memory in the cache, think of increasing the xcache.size or xcache.var_size
    46 <b>Protected:  </b>Whether readonly_protection is available and enable on this cache
    47 <b>Cached:     </b>Number of entries stored in this cache
    48 <b>Deleted:    </b>Number of entries is pending in delete list (expired but referenced)
    49 <b>Free Blocks:</b>Free blocks list in the specified cache
    50 </pre>
    51 
    52 <h2>List Legends</h2>
    53 <pre>
    54 <b>entry:      </b>The entry name or filename
    55 <b>Hits:       </b>Times this entry is hit (loaded from this cache)
    56 <b>Refcount:   </b>Reference count this entry is holded by a php request
    57 <b>Size:       </b>Size in bytes of this entry in the cache
    58 <b>SrcSize:    </b>Size of the source file
    59 <b>Modify:     </b>Last modified time of the source file
    60 <b>device:     </b>device number of the source file
    61 <b>inode:      </b>inode number of the source file
    62 <b>Access:     </b>Last access time of the cached entry
    63 <b>Create:     </b>The time when this entry is stored
    64 </pre>
     29<?php include(get_language_file("help")); ?>
    6530</div>
    6631
    67 See also: <a href="http://trac.lighttpd.net/xcache/wiki/PhpIni">setting php.ini for XCache</a> in the <a href="http://trac.lighttpd.net/xcache/">XCache wiki</a>
     32<?php echo _T('See also'); ?>: <a href="http://trac.lighttpd.net/xcache/wiki/PhpIni">setting php.ini for XCache</a> in the <a href="http://trac.lighttpd.net/xcache/">XCache wiki</a>
    6833</body>
    6934</html>
Note: See TracChangeset for help on using the changeset viewer.