[axel-commits] r59 - in /branches/2.x: Makefile axel_zh_CN.1 zh_cn.po

phihag-guest at users.alioth.debian.org phihag-guest at users.alioth.debian.org
Tue Nov 11 10:49:10 UTC 2008


Author: phihag-guest
Date: Tue Nov 11 10:49:10 2008
New Revision: 59

URL: http://svn.debian.org/wsvn/axel/?sc=1&rev=59
Log:
Chinese translation

Added:
    branches/2.x/axel_zh_CN.1
    branches/2.x/zh_cn.po
Modified:
    branches/2.x/Makefile

Modified: branches/2.x/Makefile
URL: http://svn.debian.org/wsvn/axel/branches/2.x/Makefile?rev=59&op=diff
==============================================================================
--- branches/2.x/Makefile (original)
+++ branches/2.x/Makefile Tue Nov 11 10:49:10 2008
@@ -12,7 +12,7 @@
 .SUFFIXES: .po .mo
 
 # Add your translation here..
-MOFILES = nl.mo de.mo ru.mo
+MOFILES = nl.mo de.mo ru.mo zh_cn.mo
 
 
 all: $(OUTFILE)
@@ -34,9 +34,12 @@
 install-man:
 	mkdir -p $(DESTDIR)$(MANDIR)/man1/
 	cp axel.1 $(DESTDIR)$(MANDIR)/man1/axel.1
+	mkdir -p $(DESTDIR)$(MANDIR)/zh_CN/
+	cp axel_zh_CN.1 $(DESTDIR)$(MANDIR)/zh_CN/man1/axel.1
 
 uninstall-man:
 	rm -f $(MANDIR)/man1/axel.1
+	rm -f $(MANDIR)/zh_CN/man1/axel.1
 
 install-etc:
 	mkdir -p $(DESTDIR)$(ETCDIR)/

Added: branches/2.x/axel_zh_CN.1
URL: http://svn.debian.org/wsvn/axel/branches/2.x/axel_zh_CN.1?rev=59&op=file
==============================================================================
--- branches/2.x/axel_zh_CN.1 (added)
+++ branches/2.x/axel_zh_CN.1 Tue Nov 11 10:49:10 2008
@@ -1,0 +1,130 @@
+.\"
+.\"man-page for Axel
+.\"
+.\"起源于一本由Richard Stone和Neil Matthew写的、名为《Beginning Linux Programming》的书的man-page样本。
+.\"
+.\''翻译08-10-17
+.\''校对08-11-11
+.\''
+.TH AXEL 1
+
+
+.SH 名称
+\fBAxel\fP \- Linux 下轻量的下载加速器。
+
+.SH 总览
+.B axel
+[\fI选项\fP] \fIurl1\fP [\fIurl2\fP] [\fIurl...\fP]
+
+.SH 描述
+Axel是一个通过多个连接从一个HTTP或FTP服务器下载文件的程序,每个连接下载文件的一部分。
+
+è·Ÿå
¶å®ƒç¨‹åºä¸ä¸€æ ·ï¼ŒAxel会使用单一线程直接下载所有数据到目标文件。
+这样正好可以节省时间,因为程序没有å¿
要如锁链般连接到所有要下载的部分。
+
+.SH 选项
+.PP
+å¿
需要有一个参数--您想下载的文件的URL。
+当从FTP下载,文件名可能åŒ
含通é
ç¬¦ï¼Œç¨‹åºä¼šå°è¯•è§£æžå®Œæ•´çš„文件名。
+也可以指定多个URL,程序将会通过那些地址下载。
+请注意,程序不会检查文件是否相同。
+
+.PP
+å
¶å®ƒé€‰é¡¹ï¼š
+
+.TP
+\fB\-\-max\-speed=x\fP, \fB\-s\ x\fP
+您可以在这里指定一个速率(每秒字节),Axel将会尝试保持平均速率在这个速率附近。
+它很有用──如果您不想程序吃掉您所有的带宽。
+
+.TP
+\fB\-\-num\-connections=x\fP, \fB\-n\ x\fP
+您可以在这里指定一个最终连接数。
+
+.TP
+\fB\-\-output=x\fP, \fB\-o\ x\fP
+下载的数据将会被保存为一个跟URL地址文件名同名的本地文件,
+除非您使用这个选项指定使用一个不一样的名字。
+您也可以指定一个目录,程序将会追加文件名。
+
+.TP
+\fB\-\-search[=x]\fP, \fB-S[x]\fP
+Axel能使用filesearching.com搜索引擎,对镜像执行搜索。您使用这个选项它才会这么做。
+您也可以指定应该使用多少个不同的镜像来下载。
+
+对镜像搜索非常耗时,因为程序会测试每个服务器的速率,与及文件是否仍然有效。
+
+.TP
+\fB\-\-no\-proxy\fP, \fB\-N\fP
+不使用代理服务器下载文件。当然,当一个透明代理是有效时,这是不可能的。
+
+.TP
+\fB\-\-verbose\fP
+如果您想看到更多的状态信息,您可以使用这个选项。如果您想看到更多,就使用它多几次。
+
+.TP
+\fB\-\-quiet\fP, \fB-q\fP
+不输出到标准输出(stdout)。
+
+.TP
+\fB\-\-alternate\fP, \fB-a\fP
+这将会显示一个文本进度指示器。一个显示不同线程进度和状态,当前速率和评估剩余下载时间的棒形图。
+
+.TP
+\fB\-\-help\fP, \fB\-h\fP
+一个对所有选项的简洁摘要。
+
+.TP
+\fB\-\-version\fP, \fB\-V\fP
+获取版本信息。
+
+.SH 注意
+如果您的平台识别getopt_lang调用,长(两杠破折号)选项才会被支持。
+否则(像*BSD),只能使用短选项。
+
+.SH 返回值
+当下载成功,程序返回0,如果真的出错返回1,如果下载被中断返回2,如果返回å
¶å®ƒï¼Œå®ƒè‚¯å®šæ˜¯ä¸€ä¸ªè‡­è™«â€¦â€¦
+
+.SH 例子
+.nf
+axel ftp://ftp.{be,nl,uk,de}.kernel.org/pub/linux/kernel/v2.4/linux-2.4.17.tar.bz2
+.fi
+
+它将会使用Belgian,Dutch,English和German的kenel.org镜像下载Linux 2.4.17 kernel映象。
+
+.nf
+axel \-S4 ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.17.tar.bz2
+.fi
+
+它将会在filesearching.com搜索linux-2.4.17.tar.bz2文件,
+然后从四个(如果可能的话)最快的镜像中下载(可能åŒ
括ftp.kernel.org)。
+
+(当然,这个命令是一个独立行,但他们太长而不能在这个页面å†
显示为一行。)
+
+.SH 文件
+.PP
+\fI/etc/axelrc\fP 系统å
¨å±€é
ç½®æ–‡ä»¶
+.PP
+\fI~/.axelrc\fP 个人é
ç½®æ–‡ä»¶
+.PP
+这些文件正文不会在一个man-pageå†
显示,但我希望跟程序一起安è£
的样本文件åŒ
含足够的信息。
+é
ç½®æ–‡ä»¶åœ¨ä¸åŒç³»ç»Ÿçš„位置可能不一样。
+
+.SH 版权
+Axel is Copyright 2001-2002 Wilmer van der Gaast.
+
+.SH 臭虫
+.PP
+我坚信在某些地方仍然会有臭虫,请告诉我,我会尝试修复它们。
+
+已知臭虫是当使用上百个连接下载时,程序会发生异常。您应该避å
å®ƒã€‚
+
+.SH 作è€

+Wilmer van der Gaast. <wilmer at gaast.net>
+
+.SH 译è€

+李蠡 Shuge Lee <shuge.lee at gmail.com>
+
+.SH 校对
+李进 Li Jin <punkid.online at gmail.com>
+

Added: branches/2.x/zh_cn.po
URL: http://svn.debian.org/wsvn/axel/branches/2.x/zh_cn.po?rev=59&op=file
==============================================================================
--- branches/2.x/zh_cn.po (added)
+++ branches/2.x/zh_cn.po Tue Nov 11 10:49:10 2008
@@ -1,0 +1,314 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Axel\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008-10-14 01:00+0530\n"
+"PO-Revision-Date: 2008-11-08 22:40+0700\n"
+"Last-Translator: Shuge Lee <shuge.lee at gmail.com>\n"
+"Last-Revision: Li Jin <punkid.online at gmail.com>\n"
+"Language-Team: Simplified Chinese <i18n-zh at i18n.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: axel.c:55
+msgid "Buffer resized for this speed."
+msgstr "为这个速率调整缓冲区大小。"
+
+#: axel.c:91
+msgid "Could not parse URL.\n"
+msgstr "无法解析URL\n"
+
+#: axel.c:126
+#, c-format
+msgid "File size: %i bytes"
+msgstr "文件大小: %i 字节"
+
+#: axel.c:142
+#, c-format
+msgid "Opening output file %s"
+msgstr "打开输出文件 %s"
+
+#: axel.c:151
+msgid "Server unsupported, starting from scratch with one connection."
+msgstr "服务器不支持,开始一个连接。"
+
+#: axel.c:170
+#, c-format
+msgid "State file found: %i bytes downloaded, %i to go."
+msgstr "找到状态文件: %i 字节已下载,继续下载 %i 字节。"
+
+#: axel.c:177
+#: axel.c:189
+msgid "Error opening local file"
+msgstr "打开本地文件错误"
+
+#: axel.c:201
+msgid "Crappy filesystem/OS.. Working around. :-("
+msgstr "糟糕的文件系统或操作系统……Working around……(译注德国写的句子,实在不知道如何翻译……):-("
+
+#: axel.c:234
+msgid "Starting download"
+msgstr "开始下载"
+
+#: axel.c:240
+#: axel.c:393
+#, c-format
+msgid "Connection %i downloading from %s:%i using interface %s"
+msgstr "连接 %i 从 %s:%i 通过接口 %s 下载"
+
+#: axel.c:244
+#: axel.c:402
+msgid "pthread error!!!"
+msgstr "线程错误!!!"
+
+#: axel.c:312
+#, c-format
+msgid "Error on connection %i! Connection closed"
+msgstr "连接 %i 有错误! 连接中断"
+
+#: axel.c:326
+#, c-format
+msgid "Connection %i unexpectedly closed"
+msgstr "连接 %i 被异常中断"
+
+#: axel.c:330
+#: axel.c:347
+#, c-format
+msgid "Connection %i finished"
+msgstr "连接 %i 结束"
+
+#: axel.c:359
+msgid "Write error!"
+msgstr "写错误!"
+
+#: axel.c:371
+#, c-format
+msgid "Connection %i timed out"
+msgstr "连接è¶
æ—¶ %i"
+
+#: conf.c:107
+#, c-format
+msgid "Error in %s line %i.\n"
+msgstr "%s %i 行有错误。\n"
+
+#: conn.c:345
+#: ftp.c:124
+#, c-format
+msgid "Too many redirects.\n"
+msgstr "太多重定向。\n"
+
+#: conn.c:364
+#, c-format
+msgid "Unknown HTTP error.\n"
+msgstr "未知 HTTP 错误。\n"
+
+#: ftp.c:35
+#: http.c:60
+#, c-format
+msgid "Unable to connect to server %s:%i\n"
+msgstr "不能连接到服务器 %s:%i\n"
+
+#: ftp.c:91
+#, c-format
+msgid "Can't change directory to %s\n"
+msgstr "不能变更目录到 %s\n"
+
+#: ftp.c:117
+#: ftp.c:177
+#, c-format
+msgid "File not found.\n"
+msgstr "找不到文件。\n"
+
+#: ftp.c:179
+#, c-format
+msgid "Multiple matches for this URL.\n"
+msgstr "这个 URL 有多个匹é
ã€‚\n"
+
+#: ftp.c:250
+#: ftp.c:256
+#, c-format
+msgid "Error opening passive data connection.\n"
+msgstr "打开主动数据连接错误。\n"
+
+#: ftp.c:286
+#, c-format
+msgid "Error writing command %s\n"
+msgstr "写命令出错 %s\n"
+
+#: ftp.c:311
+#: http.c:151
+#, c-format
+msgid "Connection gone.\n"
+msgstr "连接继续。\n"
+
+#: http.c:45
+#, c-format
+msgid "Invalid proxy string: %s\n"
+msgstr "代理字符串无效: %s\n"
+
+#: text.c:146
+#, c-format
+msgid "Can't redirect stdout to /dev/null.\n"
+msgstr "stdout 不能重定向到 /dev/null 。\n"
+
+#: text.c:174
+#, c-format
+msgid "Can't handle URLs of length over %d\n"
+msgstr "不能处理长度è¶
过 %d 的URLs\n"
+
+#: text.c:179
+#, c-format
+msgid "Initializing download: %s\n"
+msgstr "初始化下载: %s\n"
+
+#: text.c:186
+#, c-format
+msgid "Doing search...\n"
+msgstr "进行搜索中...\n"
+
+#: text.c:190
+#, c-format
+msgid "File not found\n"
+msgstr "文件找不到\n"
+
+#: text.c:194
+#, c-format
+msgid "Testing speeds, this can take a while...\n"
+msgstr "c测试速度,这可能有点费时……\n"
+
+#: text.c:199
+#, c-format
+msgid "%i usable servers found, will use these URLs:\n"
+msgstr "%i 可用的服务器没有找到,将使用这些 URLs :\n"
+
+#: text.c:261
+#, c-format
+msgid "No state file, cannot resume!\n"
+msgstr "没有状态文件,无法恢复!\n"
+
+#: text.c:266
+#, c-format
+msgid "State file found, but no downloaded data. Starting from scratch.\n"
+msgstr "找到状态文件,但没有已下载数据。重新开始。\n"
+
+#: text.c:397
+#, c-format
+msgid ""
+"\n"
+"Downloaded %s in %s. (%.2f KB/s)\n"
+msgstr ""
+"\n"
+"%s 已下载,用时 %s。(%.2f 千字节/秒)\n"
+
+#: text.c:419
+#, c-format
+msgid "%i byte"
+msgstr "%i 字节"
+
+#: text.c:421
+#, c-format
+msgid "%i bytes"
+msgstr "%i 字节"
+
+#: text.c:423
+#, c-format
+msgid "%.1f kilobytes"
+msgstr "%.1f 千字节"
+
+#: text.c:425
+#, c-format
+msgid "%.1f megabytes"
+msgstr "%.1f å
†å­—节"
+
+#: text.c:434
+#, c-format
+msgid "%i second"
+msgstr "%i 秒"
+
+#: text.c:436
+#, c-format
+msgid "%i seconds"
+msgstr "%i 秒"
+
+#: text.c:438
+#, c-format
+msgid "%i:%02i seconds"
+msgstr "%i:%02i 秒"
+
+#: text.c:440
+#, c-format
+msgid "%i:%02i:%02i seconds"
+msgstr "%i:%02i:%02i 秒"
+
+#: text.c:515
+#, c-format
+msgid ""
+"Usage: axel [options] url1 [url2] [url...]\n"
+"\n"
+"-s x\tSpecify maximum speed (bytes per second)\n"
+"-n x\tSpecify maximum number of connections\n"
+"-o f\tSpecify local output file\n"
+"-S [x]\tSearch for mirrors and download from x servers\n"
+"-N\tJust don't use any proxy server\n"
+"-q\tLeave stdout alone\n"
+"-v\tMore status information\n"
+"-a\tAlternate progress indicator\n"
+"-h\tThis information\n"
+"-V\tVersion information\n"
+"\n"
+"Visit http://axel.alioth.debian.org/ to report bugs\n"
+msgstr ""
+"用法: axel [选项] 地址1 [地址2] [地址...]\n"
+"\n"
+"-s x\t指定最大速率(字节 / 秒)\n"
+"-n x\t指定最大连接数\n"
+"-o f\t指定本地输出文件\n"
+"-S [x]\t搜索镜像并从 X 服务器下载\n"
+"-N\t不使用任何代理服务器\n"
+"-q\t使用输出简单信息模式\n"
+"-v\t更多状态信息\n"
+"-a\t文本式进度指示器\n"
+"-h\t帮助信息\n"
+"-V\t版本信息\n"
+"\n"
+"请向 shuge.lee at gmail.com 提交翻译错误,请向 http://axel.alioth.debian.org/ 提交程序漏洞\n"
+
+#: text.c:530
+#, c-format
+msgid ""
+"Usage: axel [options] url1 [url2] [url...]\n"
+"\n"
+"--max-speed=x\t\t-s x\tSpecify maximum speed (bytes per second)\n"
+"--num-connections=x\t-n x\tSpecify maximum number of connections\n"
+"--output=f\t\t-o f\tSpecify local output file\n"
+"--search[=x]\t\t-S [x]\tSearch for mirrors and download from x servers\n"
+"--no-proxy\t\t-N\tJust don't use any proxy server\n"
+"--quiet\t\t\t-q\tLeave stdout alone\n"
+"--verbose\t\t-v\tMore status information\n"
+"--alternate\t\t-a\tAlternate progress indicator\n"
+"--help\t\t\t-h\tThis information\n"
+"--version\t\t-V\tVersion information\n"
+"\n"
+"Visit http://axel.alioth.debian.org/ to report bugs\n"
+msgstr ""
+"用法: axel [选项] 地址1 [地址2] [地址...]\n"
+"\n"
+"--max-speed=x\t\t-s x\t指定最大速率(字节 / 秒)\n"
+"--num-connections=x\t-n x\t指定最大连接数\n"
+"--output=f\t\t-o f\t指定本地输出文件\n"
+"--search[=x]\t\t-S [x]\t搜索镜像并从 X 服务器下载\n"
+"--no-proxy\t\t-N\t不使用任何代理服务器\n"
+"--quiet\t\t\t-q\t使用输出简单信息模式\n"
+"--verbose\t\t-v\t更多状态信息\n"
+"--alternate\t\t-a\t文本式进度指示器\n"
+"--help\t\t\t-h\t帮助信息\n"
+"--version\t\t-V\t版本信息\n"
+"\n"
+"请向 shuge.lee at gmail.com 提交翻译错误,请向 http://axel.alioth.debian.org/ 提交程序漏洞\n"
+
+#: text.c:549
+#, c-format
+msgid "Axel version %s (%s)\n"
+msgstr "Axel 版本 %s (%s)\n"
+




More information about the axel-commits mailing list