发信人: wienne(小荔同志)
整理人: hackerbay(2002-09-06 16:48:52), 站内信件
|
pure-ftpd 1.1.0 中文化
附加的修改
去掉原来花花的提示信息
编译第 src/ftpd.c 3708 行,将
addreply(0,
"=(<*>)=-.:. (( " MSG_WELCOME_TO " PureFTPd " VERSION
" )) .:.-=(<*>)=-");
改为
addreply(0, MSG_WELCOME_TO MSG_ORGANISE VERSION );
将以下内容放到src/message_en.h文件里,原来的代码全部删除
比原文件增加的一项
#define MSG_ORGANISE
用于设置你的组织名,注意哟在描述里最后加一个空格,以和版本号间隔
可能有些翻译不准确,实在是尽力了,它说得太简短了
有好的建议发给我,一定改。
message_en.h
-------------------------------------------
#define MSG_TIMEOUT "Timeout,超时"
#define MSG_CAPABILITIES "Unable to switch capabilities\n不能更改性能"
#define MSG_CLIENT_CLOSED_CNX "Client closed the connection\n客户端关闭了连接"
#define MSG_CLIENT_READ_ERR "Read error from the client\n客户端读取时发生了错误"
#define MSG_CANT_OPEN_CNX "Can't open connection\n不能建立连接"
#define MSG_CANT_CREATE_DATA_SOCKET "Can't create the data socket\n不能建立数据传输端口"
#define MSG_DEBUG_CLIENT_IS "The client address is\n客户端的IP地址是"
#define MSG_SYNTAX_ERROR_IP "Syntax error in IP address\nIP地址错误"
#define MSG_PORT_SUCCESSFUL "PORT command successful\n命令完成"
#define MSG_ONLY_IPV4V6 "Only IPv4 and IPv6 are supported (1,2)\n支持IPV4和IPV6"
#define MSG_ONLY_IPV4 "Only IPv4 is supported (1)\n仅支持IPV4"
#define MSG_TIMEOUT_PARSER "Timeout - try typing a little faster next time\n超时,尝试在更短的时间内输入命令"
#define MSG_LINE_TOO_LONG "Line too long\n行太长"
#define MSG_LOG_OVERFLOW "The client tried to overflow the command line buffer\n客户端试图输入超出命令缓存的命令集"
#define MSG_GOODBYE "Goodbye. You uploaded * and downloaded * kbytes\n"\
"再见,你上传了 %llu ,下载了 %llu 千字节。"
#define MSG_DEBUG_COMMAND "Command\n命令"
#define MSG_IS_YOUR_CURRENT_LOCATION "is your current location\n是你当前的位置"
#define MSG_NOT_LOGGED_IN "You aren't logged in\n你没有登录"
#define MSG_AUTH_UNIMPLEMENTED "Security extensions not implemented\n安全扩展功能未启用"
#define MSG_NO_FILE_NAME "No file name\n没有文件名"
#define MSG_NO_DIRECTORY_NAME "No directory name\n没有目录名"
#define MSG_NO_RESTART_POINT "No restart point\n没有重新开始的位置"
#define MSG_ABOR_SUCCESS "Since you see this ABOR must've succeeded\n看到我后,表示ABOR命令执行成功了"
#define MSG_MISSING_ARG "Missing argument\n缺少参数"
#define MSG_GARBAGE_FOUND "Garbage found after value\n有无用的值"
#define MSG_VALUE_TOO_LARGE "Value too large\n数值太大"
#define MSG_IDLE_TIME "Idle time set to * seconds\n设置等待的时间为 %lu 秒"
#define MSG_SITE_HELP "The following SITE commands are recognized\n下面这些命令是可用的"
#define MSG_BAD_CHMOD "Invalid permissions\n无效的权限"
#define MSG_UNKNOWN_EXTENSION "is an unknown extension\n未知的扩展"
#define MSG_XDBG_OK "XDBG command succeeded, debug level is now *,XDBG命令执行完成,调试级别为 %d"
#define MSG_UNKNOWN_COMMAND "Unknown command\n无效的命令"
#define MSG_TIMEOUT_NOOP "Timeout (no operation for * seconds)\n超时,等待的时间为 %lu 秒"
#define MSG_TIMEOUT_DATA "Timeout (no new data for * seconds)\n超时,等待的时间为 %lu 秒"
#define MSG_SLEEPING "Zzz...,快给我个枕头,要锈花的"
#define MSG_ALREADY_LOGGED "You're already logged in\n你已登录了"
#define MSG_ANY_PASSWORD "Any password will work\n任何密码都行"
#define MSG_ANONYMOUS_LOGGED "Anonymous user logged in\n以匿名身份登录成功"
#define MSG_ANONYMOUS_LOGGED_VIRTUAL "Anonymous user logged in the virtual FTP\n匿名用户登录虚拟FTP服务器成功"
#define MSG_USER_OK "User * OK. Password required\n用户 %s 有效,但需要密码"
#define MSG_CANT_DO_TWICE "We can't do that in the current session\n我们不能执行当前的任务"
#define MSG_UNABLE_SECURE_ANON "Unable to set up secure anonymous FTP\n无法设置一个安全的匿名FTP服务器"
#define MSG_BANDWIDTH_RESTRICTED "Your bandwidth usage is restricted\n你所能使用的网络带宽将受到限制"
#define MSG_NO_PASSWORD_NEEDED "Any password will work\n任何密码都行"
#define MSG_NOTRUST "Sorry, but I can't trust you\n对不起,我不能信任你"
#define MSG_WHOAREYOU "Please tell me who you are\n请告诉我,你是?"
#define MSG_AUTH_FAILED "Authentication failed, sorry\n对不起,认证失败"
#define MSG_AUTH_TOOMANY "Too many authentication failures\n太多的认证失败"
#define MSG_NO_HOMEDIR "Home directory not available - aborting\nHOME目录无效,放弃"
#define MSG_NO_HOMEDIR2 "* does not exist or is unreachable\n%s 目录不存在或无法到达"
#define MSG_START_SLASH "Starting in / \n起始目录是 /"
#define MSG_USER_GROUP_ACCESS "User * has group access to\n用户%s所属的组有"
#define MSG_FXP_SUPPORT "This server supports FXP transfers\n服务器技FXP传输"
#define MSG_RATIO "You must respect a *:* (UL/DL) ratio\n请注意你的上传速率是 %u,下载速率是 %u"
#define MSG_CHROOT_FAILED "Unable to set up a secure chroot() jail\n不能使用chroot()"
#define MSG_CURRENT_DIR_IS "OK. Current directory is *\n当前目录是 %s"
#define MSG_CURRENT_RESTRICTED_DIR_IS "OK. Current restricted directory is *\n当前受限的目录是 %s"
#define MSG_IS_NOW_LOGGED_IN "* is now logged in\n%s 登录成功"
#define MSG_CANT_CHANGE_DIR "Can't change directory to *\n不能转到 %s 目录"
#define MSG_PATH_TOO_LONG "Path too long\n路径太长"
#define MSG_CANT_PASV "You cannot use PASV on IPv6 connections. Use EPSV instead\n在IPV6里,你不能使用命令PASV来设置被动模式,请使用EPSV"
#define MSG_CANT_PASSIVE "Unable to open a passive connection\n无法建立被动模式的连接"
#define MSG_PORTS_BUSY "All reserved TCP ports are busy\n所有保留的TCP端口都在使用中"
#define MSG_GETSOCKNAME_DATA "Unable to identify the local data socket\n不能验证本地的数据传输端口"
#define MSG_GETPEERNAME "Unable to identify the local socket\n不能验证本地的传输端口"
#define MSG_INVALID_IP "Sorry, invalid address given\n对不起,无效的地址"
#define MSG_NO_EPSV "Please use an IPv6-conformant client with EPSV support\n在IPV6协议下,请使用EPSV"
#define MSG_BAD_PORT "Sorry, but I won't connect to ports < 1024\n对不起,我不能连接小于1024的端口"
#define MSG_NO_FXP "I won't open a connection to * (only to *)\n对不起,我不能连接到%s,仅仅是到%s"
#define MSG_FXP "FXP transfer: from * to *\nFXP 传输:从 %s 到 %s"
#define MSG_NO_DATA_CONN "No data connection\n没有数据连接"
#define MSG_ACCEPT_FAILED "The connection couldn't be accepted\n不允许连接"
#define MSG_ACCEPT_SUCCESS "Accepted data connection\n连接建立完成"
#define MSG_CNX_PORT_FAILED "Could not open data connection to port *\n不能打开数据传输端口 %d"
#define MSG_CNX_PORT "Connecting to port *\n本地发起连接的端口是 %d"
#define MSG_ANON_CANT_MKD "Sorry, anonymous users are not allowed to create directories\n对不起匿名用户不允许建立目录"
#define MSG_ANON_CANT_RMD "Sorry, anonymous users are not allowed to remove directories\n对不起匿名用户不允许删除目录"
#define MSG_ANON_CANT_RENAME "Anonymous users are not allowed to move/rename files\n对不起匿名用户不允许移动或改名目录"
#define MSG_ANON_CANT_CHANGE_PERMS "Anonymous users can not change perms\n匿名用户不能使用此值"
#define MSG_GLOB_NO_MEMORY "Out of memory during globbing of *\n在操作%s时内存不足"
#define MSG_PROBABLY_DENIED "(This probably means \"Permission denied\")\n可能是权限的问题,"
#define MSG_GLOB_READ_ERROR "Read error during globbing of %s"
#define MSG_GLOB_NO_MATCH "No match for * in *\n在 %s 里没有发现 %s"
#define MSG_CHMOD_FAILED "Could not change perms on *\n在 %s 里不能改变"
#define MSG_CHMOD_SUCCESS "Permissions changed on *\n更改 %s 的仅限完成"
#define MSG_CHMOD_TOTAL_FAILURE "Sorry, but I couldn't change any permission\n对不起,操作不被允许"
#define MSG_ANON_CANT_DELETE "Anonymous users can not delete files\n匿名用户不能删除文件"
#define MSG_ANON_CANT_OVERWRITE "Anonymous users may not overwrite existing files\n匿名用户不能覆盖已存在的文件"
#define MSG_DELE_FAILED "Could not delete *\n不能删除文件 %s"
#define MSG_DELE_SUCCESS "Deleted *\n删除 %s 成功"
#define MSG_DELE_TOTAL_FAILURE "No file deleted\n没有文件被删除"
#define MSG_LOAD_TOO_HIGH \
"The load was * when you connected. We do not allow downloads\n" \
"by anonymous users when the load is that high. Uploads are always\n" \
"allowed.\n" \
"当你连接时负载是%3.2f,此时不允许匿名用户下载,但可以上传"
#define MSG_OPEN_FAILURE "Can't open *\n不能打开 %s"
#define MSG_OPEN_FAILURE2 "Can't open that file\n不能打开这个文件"
#define MSG_STAT_FAILURE "Can't find file size\n无法确定文件长度"
#define MSG_STAT_FAILURE2 "Can't check for file existence\n无法确定文件是否存在"
#define MSG_REST_TOO_LARGE_FOR_FILE "Restart offset %lld is too large for file size %lld."
#define MSG_REST_RESET "Restart offset reset to 0\n设定差值为0"
#define MSG_NOT_REGULAR_FILE "I can only retrieve regular files\n我只能找到正常的文件"
#define MSG_NOT_MODERATED \
"This file has been uploaded by an anonymous user. It has not\n" \
"yet been approved for downloading by the site administrators.\n" \
"这个文件是匿名用户上传的,没有被管理员设为可下载"
#define MSG_RATIO_DENIAL \
"Sorry, but the upload/download ratio is *:* .\n" \
"You currently uploaded * Kb and downloaded * Kb.\n" \
"Please upload some goodies and try leeching later.\n" \
"对不起,上传下载比率是 %u:%u \n" \
"你当前的上传速率是 %llu 千字节,下载速率是 %llu 千字节 \n" \
"请歇会儿"
#define MSG_NO_MORE_TO_DOWNLOAD "Nothing left to download\n没有可下载的"
#define MSG_WINNER "The computer is your friend. Trust the computer\n他是你的朋友,我信任他"
#define MSG_KBYTES_LEFT "* kbytes to download\n有 %.1f 千字节要下载"
#define MSG_ABORTED "Transfer aborted\n放弃传输"
#define MSG_DATA_WRITE_FAILED "Error during write to data connection\n在写数据时发生错误"
#define MSG_DATA_READ_FAILED "Error during read from data connection\n在读数据时发生错误"
#define MSG_MMAP_FAILED "Unable to map the file into memory\n不在内存里建立文件的影射"
#define MSG_WRITE_FAILED "Error during write to file\n在写文件时发生错误"
#define MSG_TRANSFER_RATE_M "* seconds (measured here), * Mbytes per second\n耗时 %.3f 秒,速率是 %.2f 兆字节/秒"
#define MSG_TRANSFER_RATE_K "* seconds (measured here), * Kbytes per second\n耗时 %.3f 秒,速率 %.2f 千字节/秒"
#define MSG_TRANSFER_RATE_B "* seconds (measured here), * bytes per second\n耗时 %.3f 秒,速率 %.2f 字节/秒"
#define MSG_SPACE_FREE_M "* Mbytes free disk space,还有 %.1f 兆字节的剩余磁盘空间"
#define MSG_SPACE_FREE_K "* Kbytes free disk space,还有 %f 千字节的剩余磁盘空间"
#define MSG_DOWNLOADED "downloaded\n下载"
#define MSG_REST_NOT_NUMERIC "REST needs a numeric parameter\nREST需要一个数值作为参数"
#define MSG_REST_ASCII_STRICT "Reply marker must be 0 in ASCII mode\n在ASCII模式下必须以0作为回应标记"
#define MSG_REST_ASCII_WORKAROUND "Restarting at *. But we're in ASCII mode\n在%lld时重新开始了,但还是在ASCII模式"
#define MSG_REST_SUCCESS "Restarting at *\n在 %lld 时重新开始了"
#define MSG_SANITY_DIRECTORY_FAILURE "Prohibited directory name\n不可用的目录名"
#define MSG_SANITY_FILE_FAILURE "Prohibited file name: *\n不可用的文件名 %s"
#define MSG_MKD_FAILURE "Can't create directory\n不能建立目录"
#define MSG_MKD_SUCCESS "The directory was successfully created\n目录建立完成"
#define MSG_RMD_FAILURE "Can't remove directory\n不能删除目录"
#define MSG_RMD_SUCCESS "The directory was successfully removed\n目录删除完成"
#define MSG_TIMESTAMP_FAILURE "Can't get a time stamp\n不能得到时间戳"
#define MSG_MODE_ERROR "Only ASCII and binary modes are supported\n仅支持文本模式和二进制模式"
#define MSG_CREATE_FAILURE "Unable to create file\n不能建立文件"
#define MSG_ABRT_ONLY "ABRT is the only legal command while uploading\nABRT是上传时唯一的合法命令"
#define MSG_UPLOAD_PARTIAL "partially uploaded\n部份上载完成"
#define MSG_REMOVED "removed\n删除完成"
#define MSG_UPLOADED "uploaded\n上载完成"
#define MSG_GMTIME_FAILURE "Couldn't get the local time\n不得获得本地时间"
#define MSG_TYPE_8BIT_FAILURE "Only 8-bit bytes are supported, we're not 10 years ago\n仅支持8-bit"
#define MSG_TYPE_UNKNOWN "Unknown TYPE\n未知的类型"
#define MSG_TYPE_SUCCESS "TYPE is now\n现在的模式是"
#define MSG_STRU_FAILURE "Only F(ile) is supported\n仅支持文件"
#define MSG_MODE_FAILURE "Please us S(tream) mode\n请用流模式"
#define MSG_RENAME_ABORT "Aborting previous rename operation\n放弃更名操作"
#define MSG_RENAME_RNFR_SUCCESS "RNFR accepted - file exists, ready for destination\nRNFR执行完成,文件存在,等待操作指令"
#define MSG_FILE_DOESNT_EXIST "Sorry, but that file doesn't exist\n对不起,这个文件不存在"
#define MSG_RENAME_ALREADY_THERE "RENAME Failed - destination file already exists\n更名失败,这个名字已被使用"
#define MSG_RENAME_NORNFR "Need RNFR before RNTO\n在RNTO这前要使用RNFR"
#define MSG_RENAME_FAILURE "Rename/move failure\n更名或转移失败"
#define MSG_RENAME_SUCCESS "File successfully renamed or moved\n更名或转移成功"
#define MSG_NO_SUPERSERVER "Please run pure-ftpd within a super-server (like tcpserver)\n请以inetd方式运行pure-ftpd"
#define MSG_NO_FTP_ACCOUNT "Unable to find the 'ftp' account\n找不到ftp帐号"
#define MSG_CONF_ERR "Configuration error\n配置错误"
#define MSG_NO_VIRTUAL_FILE "Missing virtual users file name\n缺少虚拟用户帐号文件"
#define MSG_ILLEGAL_THROTTLING "Illegal value for throttling\n无效的参数值,不能执行你操作"
#define MSG_ILLEGAL_TRUSTED_GID "Illegal trusted gid for chroot\n无效的信任GID"
#define MSG_ILLEGAL_USER_LIMIT "Illegal user limit\n无效的用户限制"
#define MSG_ILLEGAL_FACILITY "Unknown facility name\n未知的简易名"
#define MSG_ILLEGAL_CONFIG_FILE_LDAP "Invalid LDAP configuration file\n无效的LDAP配置文件"
#define MSG_ILLEGAL_LOAD_LIMIT "Illegal load limit\n无效带宽限制"
#define MSG_ILLEGAL_PORTS_RANGE "Illegal ports range\n无效的端口范围"
#define MSG_ILLEGAL_LS_LIMITS "Illegal 'ls' limits\n无效的ls过滤"
#define MSG_ILLEGAL_FORCE_PASSIVE "Illegal forced IP for passive connections\n强制被动方使用无效"
#define MSG_ILLEGAL_RATIO "Illegal upload/download ratio\n无效上传下载比率"
#define MSG_ILLEGAL_UID_LIMIT "Illegal uid limit\n无效的UID限制"
#define MSG_ILLEGAL_OPTION "Unknown run-time option\n无效的运行参数选项"
#define MSG_LDAP_MISSING_BASE "Missing LDAPBaseDN in the LDAP configuration file\n在LDAP配置文件里缺少LDAPBaseDN"
#define MSG_LDAP_WRONG_PARMS "Wrong LDAP parameters\n缺少LDAP参数"
#define MSG_NEW_CONNECTION "New connection from *\n新的连接从 %s"
#define MSG_WELCOME_TO "欢迎您到 "
#define MSG_MAX_USERS "* users (the maximum) are already logged in, sorry\n" \
"已达到了最大用户数 %lu"
#define MSG_NB_USERS "You are user number * of * allowed\n" \
"你是第 %d 个用户,总共可以服务于 %d 个用户"
#define MSG_WELCOME_TIME "Local time is now *:* and the load is *. Server port: *\n" \
"服务器上的时间是 %02d:%02d,负载是 %3.2f ,端口是:%u"
#define MSG_ANONYMOUS_FTP_ONLY "Only anonymous FTP is allowed here\n仅允许匿名用户访问"
#define MSG_RATIOS_EVERYONE "RATIOS ARE ENABLED FOR EVERYONE:\n所有人将受到速率的限制"
#define MSG_RATIOS_ANONYMOUS "ANONYMOUS USERS ARE SUBJECT TO AN UL/DL RATIO:\n匿名用户的上传下载速率限制是"
#define MSG_RATIOS_RULE "to download * Mb, uploading * Mb of goodies is mandatory\n" \
"下载了 %u 兆,上传了 %u 兆"
#define MSG_INFO_IDLE_M "You will be disconnected after * minutes of inactivity\n" \
"如果你在 %lu 分钟内没有任何操作,连接将被断开"
#define MSG_INFO_IDLE_S "You will be disconnected after * seconds of inactivity\n" \
"如果你在 %lu 秒钟内没有任何操作,连接将被断开"
#define MSG_INFO_CPU_TIME "Logout - CPU time spent: * seconds\n" \
"退出,CPU耗时 %ld.%03ld 秒"
#define MSG_CANT_READ_FILE "Sorry, we were unable to read [*]\n对不起,我不能读[%s]"
#define MSG_LS_TRUNCATED "Output truncated to %u matches"
#define MSG_LS_SUCCESS "* matches total\n匹配的共有 %u 个文件或目录"
#define MSG_LOGOUT "Logout\n退出"
#define MSG_AUTH_FAILED_LOG "Authentication failed for user [*]\n用户 [%s] 认证失败"
#define MSG_ILLEGAL_UMASK "Invalid umask\n无效的文件创建模式"
#define MSG_STANDALONE_FAILED "Unable to start a standalone server\n不能以标准的方式启动服务器"
#define MSG_NO_ANONYMOUS_LOGIN "This is a private system - No anonymous login\n这是一个私有服务器不允许匿名用户登录"
#define MSG_ANONYMOUS_ANY_PASSWORD "Any password will work\n任何密码都可以"
#define MSG_MAX_USERS_IP "Too many connections (*) from this IP,这个IP上有太多的连接\n(%lu) 个"
#define MSG_ACTIVE_DISABLED "Active mode is disabled\n主动模式被关闭"
#define MSG_TRANSFER_SUCCESSFUL "File successfully transferred\n文件传输完成"
#define MSG_NO_DISK_SPACE "Disk full - please upload later\n磁盘满,请稍后再试"
#define MSG_OUT_OF_MEMORY "Out of memory\n内存溢出"
#define MSG_ILLEGAL_TRUSTED_IP "Illegal trusted IP address\n无效的任何地址"
#define MSG_NO_ASCII_RESUME "ASCII resume is unsafe, please delete the file first\n在ASCII模式下可能不稳定,请先删除那个文件再试"
#define MSG_UNKNOWN_ALTLOG "Unknown logging format\n无效的日志文件格式"
#define MSG_ACCOUNT_DISABLED "Can't login as [*]: account disabled\n不能以[%s]登录,他被禁用了"
#define MSG_SQL_WRONG_PARMS "Wrong SQL parameters\n无效的SQL参数"
#define MSG_ILLEGAL_CONFIG_FILE_SQL "Invalid SQL configuration file\n无效的SQL配置文件"
#define MSG_SQL_MISSING_SERVER "Missing server in the SQL configuration file\n缺少SQL的配置文件"
#define MSG_SQL_DOWN "The SQL server seems to be down\nSQL服务器是不是停机了"
#define MSG_ILLEGAL_QUOTA "Invalid quota\n无效的磁盘空间限制"
#define MSG_QUOTA_FILES "* files used (*) - authorized: %llu files \n" \
"现有 %llu 个文件 (%d%%),许可的有 %llu 个文件"
#define MSG_QUOTA_SIZE "* Kbytes used (*) - authorized: * Kb \n" \
"总共用了 %llu 千字节 (%d%%),许可的有 %llu 千字节"
#define MSG_QUOTA_EXCEEDED "Quota exceeded: * won't be saved\n超过了限制,有 %s 没有被保存"
#define MSG_AUTH_UNKNOWN "Unknown authentication method\n未知的认证方法"
#define MSG_PDB_BROKEN "Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb\n" \
"不能读取索引文件(或是使用了以前的格式),请用pure-pw建库"
#define MSG_ORGANISE "Wienne FTP Server "
--------------------------
end
---- 世界上怕就怕“认真”二字,我们就最讲“认真”。 |
|