<?php

// Chinese translation by Kit <webmaster@YeMao.net>

// For translations, DO NOT delete or rename variables {VARIABLE_NAME}
// included in messages.

$lvm_adm_caches        = "存储模块";
$lvm_adm_archiver      = "文件";
$lvm_admin             = "管理";
$lvm_agent             = "系统信息";
$lvm_archived          = "已储存到文件";
$lvm_archive_created   = "文件创建成功!";
$lvm_archiver_check    = "检查数据库中是否有文件.";
$lvm_archiver_archive  = "在选择的月份中创建或更新数据表 '<B>{ARCHIVES_TABLE}</B>' .";
$lvm_archiver_export   = "输出所选择月份的数据表 '<B>{VISITORS_TABLE}</B>' 到一个文本文件.";
$lvm_archiver_delete   = "<U><B>确定</B></U> 删除所选择月份的数据表 '<B>{VISITORS_TABLE}</B>' 的记录.<BR>在执行此操作前, 先检查输出月份的数据(第 2 步)和数据库中存在的文件.";

$lvm_average           = "平均";
$lvm_btn_archive       = "文件";
$lvm_btn_check         = "检查";
$lvm_btn_delete        = "清除";
$lvm_btn_export        = "输出";
$lvm_calendar          = "日历";
$lvm_check_archive     = "检查文件";
$lvm_check_all         = "检查所有内容";
$lvm_create_archive    = "创建文件";
$lvm_confirm_delete    = "删除?";
$lvm_connection_error  = "数据库连接失败!";
$lvm_creation_date     = "产生日期";
$lvm_daily_stats       = "今日统计";
$lvm_day_direct        = "直接进入";
$lvm_day_referers      = "通过页面";
$lvm_day_visitors      = "访问数";
$lvm_delay_days        = "d";
$lvm_delay_hours       = "h";
$lvm_delay_last        = "upd";
$lvm_delay_minutes     = "mn";
$lvm_delay_seconds     = "s";
$lvm_delete            = "删除";
$lvm_delete_ok         = "已删除!";
$lvm_delete_visitors   = "清除表 {VISITORS_TABLE}";
$lvm_description       = "描述";
$lvm_directory         = "地址列表";
$lvm_domain            = "区域";
$lvm_error_nodata      = "在表 {VISITORS_TABLE} 中没有所选择月份的数据!";
$lvm_file              = "文件";
$lvm_go_back           = "返回";
$lvm_header_title      = "访问统计 - ";
$lvm_host              = "访问者";
$lvm_invalid_password  = "过时的不正确的语句";
$lvm_last_months       = "最后 {NB_LAST_MONTHS} 个月";
$lvm_last_visitors     = "最后 {NB_LAST_VISITORS} 位访问者";
$lvm_month             = "月份";
$lvm_no                = "无";
$lvm_no_archive        = "未找到此时期的文件";
$lvm_no_cache          = "未找到存储模块!";
$lvm_no_delete         = "已取消删除";
$lvm_number            = "总数";
$lvm_os                = "系统";
$lvm_others_os         = "其他";
$lvm_others_agent      = "其他";
$lvm_page_title        = "访问统计";
$lvm_password          = "密码 (数据库)";
$lvm_per_hour          = "访问统计 / 小时";
$lvm_per_day           = "访问统计 / 天";
$lvm_referer           = "页面";
$lvm_size              = "大小";
$lvm_time              = "时间";
$lvm_total             = "总数";
$lvm_today             = "今天";

$lvm_title_admin         = "管理";
$lvm_title_last_months   = "最后 {NB_LAST_MONTHS} 个月";
$lvm_title_current_month = "月统计";
$lvm_title_day           = "日统计";
$lvm_title_month         = "每月统计";
$lvm_title_others        = "其他统计";
$lvm_title_user          = "个别统计";
$lvm_title_year          = "年统计";

$lvm_top_agent         = "浏览器";
$lvm_top_agent_menu    = "浏览器排行";
$lvm_top_agent_os      = "浏览器/系统 Top {NB_TOP_AGENT_OS}";
$lvm_top_agent_os_menu = "浏览器/系统排行";
$lvm_top_domain        = "区域 Top {NB_TOP_DOMAIN}";
$lvm_top_domain_menu   = "区域排行";
$lvm_top_os            = "系统";
$lvm_top_os_menu       = "系统排行";
$lvm_top_referer       = "页面 Top {NB_TOP_REFERER}";
$lvm_top_referer_menu  = "页面排行";
$lvm_top_visitors      = "访问者 Top {NB_TOP_VISITORS}";
$lvm_top_visitors_menu = "访问者排行";

$lvm_uncheck_all       = "任何未检验的";
$lvm_visitors_day      = "访问统计 / 天";
$lvm_visitors_per_day  = "访问统计 / 天 - 每 {NB_LAST_MONTHS} 个月";
$lvm_year              = "年";
$lvm_year_per_day      = "访问统计 / 天 - 每12个月";
$lvm_yearly_graph      = "年统计表";
$lvm_yes               = "是";
$lvm_12_months         = "访问统计 / 月 - 每12个月";

$lvm_arr_months        = Array(1 => "一　月", "二　月", "三　月", "四　月", "五　月", "六　月", "七　月", 
                                    "八　月", "九　月", "十　月", "十一月", "十二月");

// without accents
$lvm_arr_months_graph  = Array(1 => "一　月", "二　月", "三　月", "四　月", "五　月", "六　月", "七　月", 
                                    "八　月", "九　月", "十　月", "十一月", "十二月");

$lvm_arr_months_abbr   = Array(1 => "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");

function show_datetime($datetime)
{   
    // for caches delays
    // ------------------------
    // from yyyy-mm-dd hh:mn:ss
    // to      mm-yyyy hh:mn:ss

    //$date  =  substr($datetime, 5, 2). '/'; // month
    //$date .=  substr($datetime, 8, 2). ' '; // day
    //$date .= substr($datetime, 11, 5);      // time

//XOOPS customization
	$time = mktime(substr($datetime,11,2),substr($datetime,14,2),0,substr($datetime,5,2),substr($datetime,8,2),substr($datetime,0,4));
	$time = formatTimestamp($time);
//end of XOOPS customization

    	return $time;
}
?>