From 286a3e9b9884ade8fb16555122fe3f6582e14818 Mon Sep 17 00:00:00 2001 From: bambo <> Date: Wed, 31 Aug 2011 15:14:28 +0000 Subject: [PATCH] Add Simplified Chinese language file for pgpoolAdmin --- install/lang/zh_cn.lang.php | 58 +++++++ lang/zh_cn.lang.php | 296 ++++++++++++++++++++++++++++++++++++ 2 files changed, 354 insertions(+) create mode 100644 install/lang/zh_cn.lang.php create mode 100644 lang/zh_cn.lang.php diff --git a/install/lang/zh_cn.lang.php b/install/lang/zh_cn.lang.php new file mode 100644 index 0000000..4452c7d --- /dev/null +++ b/install/lang/zh_cn.lang.php @@ -0,0 +1,58 @@ + + * @copyright 2003-2008 PgPool Global Development Group + * @version CVS: $Id$ + */ + +$message = array( + 'lang' => 'zh_cn', + 'strLang' => '简体中文', + 'strNext' => '下一步', + 'strCheck' => '检测', + 'strDirectoryCheck' => '路径检测', + 'strParameterCheck' => '参数设置', + 'strFinish' => '完成', + 'strPgConfFile' => 'pgpool.conf 文件', + 'strPasswordFile' => 'pcp.conf 文件', + 'strPgmgtFile' => 'pgpoolAdmin 设置文件', + 'strTempDir' => '临时目录', + 'strPgpoolCommand' => 'pgpool 命令', + 'strPgpoolCommandOption' => 'pgpool 命令选项', + 'strCmdC' => '清空查询缓存', + 'strCmdD' => '调试模式', + 'strCmdM' => '停止模式', + 'strCmdLargeD' => '忽略 pgpool_status 文件', + 'strCmdN' => '不以守护进程模式运行', + 'strCmdPgpoolFile' => 'pgpool.conf', + 'strCmdPcpFile' => 'pcp.conf', + 'strCmdDesc' => '如果为空,本选项被忽略', + 'strPgpoolLogFile' => 'pgpool 日志文件', + 'strPcpDir' => 'PCP 目录', + 'strPcpTimeout' => 'PCP 超时', + 'strPcpHostName' => 'PCP 主机名', + 'strPcpRefreshTime' => '刷新时间', + 'msgCongratulations' => '恭喜,pgpool 管理工具安装完成。', + 'msgDeleteInstallDir' => ' : 请删除这个目录', + 'msgToTop' => '返回' +); + +?> diff --git a/lang/zh_cn.lang.php b/lang/zh_cn.lang.php new file mode 100644 index 0000000..74ef1d7 --- /dev/null +++ b/lang/zh_cn.lang.php @@ -0,0 +1,296 @@ + + * @copyright 2003-2009 PgPool Global Development Group + * @version CVS: $Id$ + */ + +$message = array( + 'lang' => 'zh_cn', + 'strLang' => '简体中文', + 'descBackend_hostname' => 'pgpool 可以连接到的 PostgreSQL 服务器名', + 'descBackend_port' => 'PostgreSQL 服务器运行的端口', + 'descBackend_socket_dir' => '可以连接到 PostgreSQL 的套接字目录', + 'descBackend_weight' => '当 pgpool 运行在在负载均衡模式中的负载均衡比重', + 'descBackend_data_directory' => 'PostgreSQL 数据库目录', + 'descBlack_function_list' => '用逗号分隔的有写操作的函数', + 'descChild_life_time' => '空闲的子进程的生命期,单位为秒', + 'descChild_max_connections' => '如果我们的连接数到达 child_max_connections,子进程将退出', + 'descClient_idle_limit' => '子进程等待客户端执行查询的空闲超时时长,单位为秒', + 'descAuthentication_timeout' => '执行客户端认证的超时时长,单位为秒', + 'descConnection_cache' => '如果为 true ,则缓存到 PostgreSQL 的连接', + 'descConnection_life_time' => '空闲连接的生命期,单位为秒', + 'descDelay_threshold' => '如果备用服务器的延迟超过了 delay_threshold ,任何查询都将只发送到主服务器', + 'descEnable_pool_hba' => '基于主机的认证', + 'descEnable_query_cache' => '执行查询缓存', + 'descFailover_command' => '断开一个节点时执行的命令', + 'descFailback_command' => '连接到一个节点时执行的命令', + 'descFailover_if_affected_tuples_mismatch' => '由于不认可 UPDATE/DELETE 生效的行数不同而进行故障切换', + 'descFail_over_on_backend_error' => '与服务器发生套接字错误时进行故障切换', + 'descClient_idle_limit_in_recovery' => '在在线恢复中等待客户端发送查询的超时时间,单位为秒', + 'descHealth_check_period' => '指定下一次健康检查的时间间隔。0 表示不进行健康检查', + 'descHealth_check_timeout' => 'Pgpool 周期性地进行“健康检查”以检测 PostgreSQL 服务器宕机,网络通信问题一类的情况,如果发往服务器的请求在本超时时间内未响应,则表示发生故障。', + 'descHealth_check_user' => '用于健康检查的 PostgreSQL 用户名', + 'descIgnore_leading_white_space' => '如果为 true ,当 pgpool 判断这个查询是否为一个 SELECT 查询以便进行负载均衡时忽略每个查询开始的空白', + 'descInsert_lock' => '如果你复制一个有 SERIAL 数据类型列的表,有时候序列值在不同的服务器上不同,本参数用于避免序列值不同的情况', + 'descListen_addresses' => '指定用于 TCP/IP 连接的监听地址', + 'descLoad_balance_mode' => '为 SELECT 进行负载均衡', + 'descLobj_lock_table' => '指定在复制模式中当重写 lo_create 时用于加锁的表名', + 'descLog_connections' => '如果为 true,进入的连接信息将被打印到日志中', + 'descLog_standby_delay' => '频繁记录备机的延迟', + 'descLog_hostname' => '如果为 true ,备机的主机名将能够用 ps 命令显示,且当 log_connections 为 true 的时候,将记录备机的主机名到日志中', + 'descLog_statement' => '如果为 true ,将打印所有的语句到日志中', + 'descLogdir' => '用于存放 pgpool 的日志文件的目录名', + 'descLog_per_node_statement' => '如果为 true ,以每个数据库节点的模式打印所有的语句到日志中', + 'descPid_file_name' => 'pid 文件名', + 'descMaster_slave_mode' => '运行在主/备模式中', + 'descMaster_slave_sub_mode' => '在主/备模式中进行复制的方式', + 'descMax_pool' => '每个 pgpool 服务进程保存的连接池数', + 'descNum_init_children' => '初始生成的 pgpool 进程数', + 'descParallel_mode' => '在并行模式中运行', + 'descPcp_port' => 'pcp 运行的端口号', + 'descPcp_socket_dir' => 'pcp 可以连接的域套接字目录', + 'descPcp_timeout' => '当客户端连接 pcp 服务端口后达到这么久没有响应,则断开连接并停止', + 'descPgpool2_hostname' => 'Pgpool2 运行的服务器名', + 'descPort' => 'pgpool 运行的端口号', + 'descPrint_timestamp' => '如果为 true ,则每行日志都会添加时间戳', + 'descRecovery_user' => '用于在线恢复的 PostgreSQL 用户名', + 'descRecovery_password' => '用于在线恢复的 PostgreSQL 用户密码', + 'descRecovery_1st_stage_command' => '第一阶段需要执行的恢复命令', + 'descRecovery_2nd_stage_command' => '第二阶段需要执行的恢复命令', + 'descRecovery_timeout' => '等待在线恢复完成的时长,单位为秒。 0 表示不等待', + 'descReplication_mode' => '如果你计划使用复制功能,设置本值为 true', + 'descReplication_stop_on_mismatch' => '当主备节点数据不一致的时候停止复制模式', + 'descReplicate_select' => '如果为 true ,复制 SELECT 查询,否则,只发送到主节点', + 'descReplication_timeout' => 'In non strict replication mode, there will be a risk of deadlock', + 'descReset_query_list' => 'Semicolon separated SQL commands to be issued at the end of session', + 'descSocket_dir' => '可以连接到 pgpool 的套接字目录', + 'descSsl' => 'pgpool-II 与后台以 SSL 方式连接', + 'descSsl_ca_cert' => 'openssl 使用 -CAFile 指定的证书文件', + 'descSsl_ca_cert_dir' => 'openssl 使用 -CAPath 指定的证书所在的目录', + 'descSsl_cert' => '到用于连接到前端和后端的 x509 证书的完整路径', + 'descSsl_key' => '到用于连接到前端和后端的四月文件的完整路径', + 'descSystem_db_dbname' => '系统数据库的数据库名', + 'descSystem_db_hostname' => '系统数据库所在的主机名', + 'descSystem_db_password' => '连接到系统数据库的用户的密码', + 'descSystem_db_port' => '可以连接到系统数据库的端口号', + 'descSystem_db_schema' => '系统数据库的模式名', + 'descSystem_db_user' => '用于连接到系统数据库的用户名', + 'descWhite_function_list' => '用逗号分隔的不会对数据库有写操作的函数', + 'errAlreadyExist' => '对象已经存在', + 'errFileNotExecutable' => '文件不可执行', + 'errFileNotFound' => '文件不存在', + 'errFileNotWritable' => '文件不可写', + 'errIllegalHostname' => '无效的主机名', + 'errIllegalPipe' => '非法的管道', + 'errInputEverything' => '请填写所有内容', + 'errNoDefined' => '没有定义参数', + 'errNotSameLength' => 'col_list 的数组的长度和对应的 type_list 不匹配。它们在个数上应该相同', + 'errPasswordMismatch' => '密码不匹配', + 'errRequired' => '本项必填', + 'errShouldBeInteger' => '这里应该为整数', + 'errShouldBeZeroOrMore' => '这里应该为 0 或者更大的数字', + 'errSingleQuotation' => '请用单引号括起元素数组', + 'msgDeleteConfirm' => '您是否确定要删除它?', + 'msgMasterDbConnectionError' => '主数据库连接失败', + 'msgPgpoolConfNotFound' => '找不到 pgpool.conf', + 'msgPleaseSetup' => '找不到配置文件。请执行初始化设置', + 'msgReloadPgpool' => '是否确定需要重新加载配置文件?', + 'msgRestart' => '请重启以使改动生效', + 'msgRestartPgpool' => '是否确定需要重启 pgpool ?', + 'msgSameAsPasswordFile' => '和 password 文件中对应项目的值相同', + 'msgSameAsPgpoolFile' => '和 pgpool.conf 文件中对应项目的值相同', + 'msgStopPgpool' => '是否确定需要停止 pgpool ?', + 'msgUpdateComplete' => '更新完成', + 'msgUpdateFailed' => '更新失败', + 'msgDetachConfirm' => '是否真想断开到这个节点的连接?', + 'msgReturnConfirm' => '是否真想连接到这个节点?', + 'msgRecoveryConfirm' => '是否真想恢复这个节点?', + 'strAdd' => '添加', + 'strAdminPassword' => '密码', + 'strBack' => '返回', + 'strBackendPid' => '后端 PID', + 'strCancel' => '取消', + 'strChangePassword' => '修改密码', + 'strClear' => '清空', + 'strClearQueryCache' => '清空查询缓存', + 'strCmdC' => '清空查询缓存', + 'strCmdD' => '调试模式', + 'strCmdDesc' => '如果这里为空,则本选项被忽略', + 'strCmdLargeD' => '忽略 pgpool_status 文件', + 'strCmdM' => '停止模式', + 'strCmdN' => '不运行在守护进程模式', + 'strCmdPcpFile' => 'pcp.conf', + 'strCmdPgpoolFile' => 'pgpool.conf', + 'strColList' => '列的列表', + 'strColName' => '用于分发的列名', + 'strCommon' => '公共', + 'strConnectionError' => '连接错误', + 'strConnTime' => '连接建立时间', + 'strConnUsed' => '连接的使用', + 'strConnUser' => '用户名', + 'strCreateTime' => '建立时间', + 'strDataError' => '数据错误', + 'strDateFormat' => 'M j G:i:s T Y', + 'strDb' => '数据库', + 'strDbName' => '数据库名', + 'strDebug' => '调试模式', + 'strDelete' => '删除', + 'strDeleted' => '被删除的行数', + 'strDetail' => '细节', + 'strDetailInfo' => '详细信息', + 'strDisconnect' => '断开连接', + 'strDistDefFunc'=> '分发函数名', + 'strDown' => '未启动', + 'strError' => '错误', + 'strErrorCode' => '错误码', + 'strErrorMessage' => '错误消息', + 'strExecute' => '执行', + 'strFeature' => '功能', + 'strFrontendConnected' => '到前端的连接', + 'strHealthCheck' => '健康检查', + 'strHelp' => '帮助', + 'strInvalidation' => '失效', + 'strIPaddress' => 'IP 地址', + 'strLanguage' => '语言', + 'strLoadBalanceMode' => '负载均衡模式', + 'strLog' => '日志', + 'strLogin' => '登录', + 'strLoginName' => '登录名', + 'strLogout' => '注销', + 'strMasterServer' => '首要服务器', + 'strMasterSlaveMode' => '主备模式', + 'strMeasures' => '功能', + 'strNodeInfo' => '节点信息', + 'strNodeStatus' => '节点状态', + 'strNodeStatus1' => '启动. 未连接.', + 'strNodeStatus2' => '启动. 已连接.', + 'strNodeStatus3' => '未启动', + 'strNoNode' => '没有节点', + 'strOff' => '关闭', + 'strOn' => '开启', + 'strParallelMode' => '并行模式', + 'strParameter' => '参数', + 'strPassword' => '密码', + 'strPasswordConfirmation' => '确认密码', + 'strPasswordFile' => '密码文件', + 'strPcpConfFile' => 'pcp.conf 文件', + 'strPcpDir' => 'PCP 目录', + 'strPcpHostName' => 'PCP 主机名', + 'strPcpRefreshTime' => '刷新时间', + 'strPcpTimeout' => 'PCP 超时', + 'strPgConfFile' => 'pgpool.conf 文件', + 'strPgConfSetting' => 'pgpool.conf 设置', + 'strPgpool' => 'pgpool', + 'strPgpool1' => 'pgpool-I', + 'strPgpool2' => 'pgpool-II', + 'strPgpoolCommand' => 'pgpool 命令', + 'strPgpoolCommandOption' => 'pgpool 命令选项', + 'strPgpoolLogFile' => 'pgpool 日志文件', + 'strPgpoolManagementSystem' => 'pgpool-II 管理系统', + 'strPgpoolServer' => 'pgpool-II 服务器', + 'strPgpoolStatus' => 'pgpool 状态', + 'strPgpoolSummary' => '简介', + 'strPleaseWait' => '请稍等...', + 'strPort' => '端口', + 'strPrimaryRunning' => '作为首要务器运行', + 'strProcId' => '进程 ID', + 'strProcInfo' => '进程信息', + 'strProcTime' => '进程启动时间', + 'strProtocolMajorVersion' => '协议主版本号', + 'strProtocolNinorVersion' => '协议小版本号', + 'strQueryCache' => '查询缓存', + 'strQueryStr' => '查询', + 'strReloadPgpool' => '重新加载', + 'strReplicationMode' => '复制模式', + 'strReset' => '重置', + 'strRestart' => '重启', + 'strRestartOption' => 'pgpool 重启选项', + 'strRestartPgpool' => '重启 pgpool', + 'strReturn' => '返回', + 'strRecovery' => '恢复', + 'strSchemaName' => '模式名', + 'strSearch' => '搜索', + 'strSecondaryServer' => '第二服务器', + 'strSetting' => 'pgpoolAdmin 设置', + 'strSetup' => '设置', + 'strSlonyMode' => 'Slony-I 模式', + 'strStandbyRunning' => '作为备用服务器运行', + 'strStartOption' => '启动选项', + 'strStartPgpool' => '启动 pgpool', + 'strStatus' => '状态', + 'strStopOption' => 'pgpool 停止选项', + 'strStopPgpool' => '停止 pgpool', + 'strStreamingRepMode' => '流复制模式', + 'strSummary' => '简介', + 'strSystemDb' => '分区规则', + 'strTable' => '表', + 'strTypeList' => '列的类型列表', + 'strUp' => '启动', + 'strUpdate' => '更新', + 'strValue' => '值', + 'strWeight' => '比重', + 'e1' => 'pgmgt.conf.php 未找到。', + 'e2' => '消息 catalog 未找到。', + 'e3' => 'PCP 命令发生错误。', + 'e4' => 'pgpool.conf 未找到。', + 'e5' => 'Smarty 模板文件未找到。', + 'e6' => '帮助文件未找到。', + 'e7' => 'pgpmgt.conf.php 中的配置项缺失。', + 'e8' => 'pgpool.conf 未找到 pcp_timeout 配置项。', + 'e9' => 'pgpool.conf 未找到 pcp_port 配置项。', + 'e1001' => 'PCP 命令错误。', + 'e1002' => 'pcp_node_count 命令错误。', + 'e1003' => 'pcp_node_info 命令错误。', + 'e1004' => 'pcp_proc_count 命令错误。', + 'e1005' => 'pcp_proc_info 命令错误。', + 'e1006' => 'pcp_stop_pgpool 命令错误。', + 'e1007' => 'pcp_detach_node 命令错误。', + 'e1008' => 'pgpool.conf 未找到。', + 'e1009' => 'pcp.conf 未找到。', + 'e1010' => 'pcp_attach_node 命令错误。', + 'e1011' => '日志文件未找到', + 'e1012' => 'pcp_recovery_node 命令错误。', + 'e2001' => '数据库连接发生错误。', + 'e2002' => '执行 SELECT 时发生错误。', + 'e2003' => 'pgpool.conf 不存在。', + 'e3001' => '数据库连接发生错误。', + 'e3002' => '执行 SELECT 时发生错误。', + 'e3003' => '执行 INSERT 时发生错误。', + 'e3004' => '执行 UPDATE 时发生错误。', + 'e3005' => '执行 DELETE 时发生错误。', + 'e3006' => 'pgpool.conf 未找到。', + 'e4001' => 'pgpool.conf 未找到。', + 'e4002' => '无法读取 pgpool.conf 。', + 'e4003' => '无法写入 pgpool.conf 。', + 'e5001' => 'pgmgt.conf.php 未找到。', + 'e5002' => '无法读取 pgmgt.conf.php 。', + 'e5003' => '无法写入 pgmgt.conf.php 。', + 'e6001' => 'pcp.conf 未找到。', + 'e6002' => '无法读取 pcp.conf 。', + 'e6003' => '无法写入 pcp.conf 。', + 'e7001' => 'pcp.conf 未找到。', + 'e8001' => '无法获得详细信息。', + 'cautionaryNote' => '注:要使更新生效,你需要重新加载配置文件。另外,对 [*] 标记项目的修改,需要重启 pgpool 才能生效。', + +); + +?> -- 2.39.5