refactor code
This commit is contained in:
parent
25c3bee90b
commit
9ff7532168
|
@ -99,297 +99,299 @@
|
||||||
"notice": "一般 (Notice)",
|
"notice": "一般 (Notice)",
|
||||||
"warn": "警告 (Warn)",
|
"warn": "警告 (Warn)",
|
||||||
"error": "错误 (Error)",
|
"error": "错误 (Error)",
|
||||||
"options.dir.name": "下载路径",
|
"options": {
|
||||||
"options.dir.description": "",
|
"dir.name": "下载路径",
|
||||||
"options.log.name": "日志文件",
|
"dir.description": "",
|
||||||
"options.log.description": "日志文件的路径. 如果设置为 \"-\", 日志则写入到 stdout. 如果设置为空字符串(\"\"), 日志将不会记录到磁盘上.",
|
"log.name": "日志文件",
|
||||||
"options.max-concurrent-downloads.name": "最大同时下载数",
|
"log.description": "日志文件的路径. 如果设置为 \"-\", 日志则写入到 stdout. 如果设置为空字符串(\"\"), 日志将不会记录到磁盘上.",
|
||||||
"options.max-concurrent-downloads.description": "",
|
"max-concurrent-downloads.name": "最大同时下载数",
|
||||||
"options.check-integrity.name": "检查完整性",
|
"max-concurrent-downloads.description": "",
|
||||||
"options.check-integrity.description": "通过对文件的每个分块或整个文件进行哈希验证来检查文件的完整性. 此选项仅对于BT、磁力链接及设置了 --checksum 选项的 HTTP(S)/FTP 链接.",
|
"check-integrity.name": "检查完整性",
|
||||||
"options.continue.name": "断点续传",
|
"check-integrity.description": "通过对文件的每个分块或整个文件进行哈希验证来检查文件的完整性. 此选项仅对于BT、磁力链接及设置了 --checksum 选项的 HTTP(S)/FTP 链接.",
|
||||||
"options.continue.description": "继续下载部分完成的文件. 启用此选项可以继续下载从浏览器或其他程序按顺序下载的文件. 此选项目前只支持 HTTP(S)/FTP 下载的文件.",
|
"continue.name": "断点续传",
|
||||||
"options.all-proxy.name": "代理服务器",
|
"continue.description": "继续下载部分完成的文件. 启用此选项可以继续下载从浏览器或其他程序按顺序下载的文件. 此选项目前只支持 HTTP(S)/FTP 下载的文件.",
|
||||||
"options.all-proxy.description": "设置所有协议的代理服务器地址. 如果覆盖之前设置的代理服务器, 使用 \"\" 即可. 您还可以针对特定的协议覆盖此参数, 即使用 --http-proxy, --https-proxy 和 --ftp-proxy 参数. 此设置将会影响所有下载. 代理服务器地址的格式为 [http://][USER:PASSWORD@]HOST[:PORT].",
|
"all-proxy.name": "代理服务器",
|
||||||
"options.all-proxy-user.name": "代理服务器用户名",
|
"all-proxy.description": "设置所有协议的代理服务器地址. 如果覆盖之前设置的代理服务器, 使用 \"\" 即可. 您还可以针对特定的协议覆盖此参数, 即使用 --http-proxy, --https-proxy 和 --ftp-proxy 参数. 此设置将会影响所有下载. 代理服务器地址的格式为 [http://][USER:PASSWORD@]HOST[:PORT].",
|
||||||
"options.all-proxy-user.description": "",
|
"all-proxy-user.name": "代理服务器用户名",
|
||||||
"options.all-proxy-passwd.name": "代理服务器密码",
|
"all-proxy-user.description": "",
|
||||||
"options.all-proxy-passwd.description": "",
|
"all-proxy-passwd.name": "代理服务器密码",
|
||||||
"options.connect-timeout.name": "连接超时时间",
|
"all-proxy-passwd.description": "",
|
||||||
"options.connect-timeout.description": "设置建立 HTTP/FTP/代理服务器 连接的超时时间(秒). 当连接建立后, 此选项不再生效, 请使用 --timeout 参数.",
|
"connect-timeout.name": "连接超时时间",
|
||||||
"options.dry-run.name": "模拟运行",
|
"connect-timeout.description": "设置建立 HTTP/FTP/代理服务器 连接的超时时间(秒). 当连接建立后, 此选项不再生效, 请使用 --timeout 参数.",
|
||||||
"options.dry-run.description": "如果设置为是, aria2 将仅检查远程文件是否存在而不会下载文件内容. 此选项仅对 HTTP/FTP 下载生效. 如果设置为 true, BT 下载将会直接取消.",
|
"dry-run.name": "模拟运行",
|
||||||
"options.lowest-speed-limit.name": "最小速度限制",
|
"dry-run.description": "如果设置为是, aria2 将仅检查远程文件是否存在而不会下载文件内容. 此选项仅对 HTTP/FTP 下载生效. 如果设置为 true, BT 下载将会直接取消.",
|
||||||
"options.lowest-speed-limit.description": "当下载速度低于此选项设置的值(B/s) 时将会关闭连接. 0 表示不设置最小速度限制. 您还增加数值的单位 K 或 M (1K = 1024, 1M = 1024K). 此选项不会影响 BT 下载.",
|
"lowest-speed-limit.name": "最小速度限制",
|
||||||
"options.max-connection-per-server.name": "单服务器最大连接数",
|
"lowest-speed-limit.description": "当下载速度低于此选项设置的值(B/s) 时将会关闭连接. 0 表示不设置最小速度限制. 您还增加数值的单位 K 或 M (1K = 1024, 1M = 1024K). 此选项不会影响 BT 下载.",
|
||||||
"options.max-connection-per-server.description": "",
|
"max-connection-per-server.name": "单服务器最大连接数",
|
||||||
"options.max-file-not-found.name": "文件未找到重试次数",
|
"max-connection-per-server.description": "",
|
||||||
"options.max-file-not-found.description": "如果 aria2 从远程 HTTP/FTP 服务器收到 \"文件未找到\" 的状态超过此选项设置的次数后下载将会失败. 设置为 0 将会禁用此选项. 此选项仅影响 HTTP/FTP 服务器. 重试时同时会记录重试次数, 所以也需要设置 --max-tries 这个参数.",
|
"max-file-not-found.name": "文件未找到重试次数",
|
||||||
"options.max-tries.name": "最大尝试次数",
|
"max-file-not-found.description": "如果 aria2 从远程 HTTP/FTP 服务器收到 \"文件未找到\" 的状态超过此选项设置的次数后下载将会失败. 设置为 0 将会禁用此选项. 此选项仅影响 HTTP/FTP 服务器. 重试时同时会记录重试次数, 所以也需要设置 --max-tries 这个参数.",
|
||||||
"options.max-tries.description": "设置最大尝试次数. 0 表示不限制.",
|
"max-tries.name": "最大尝试次数",
|
||||||
"options.min-split-size.name": "文件最小分割大小",
|
"max-tries.description": "设置最大尝试次数. 0 表示不限制.",
|
||||||
"options.netrc-path.name": ".netrc 文件路径",
|
"min-split-size.name": "文件最小分割大小",
|
||||||
"options.netrc-path.description": "",
|
"netrc-path.name": ".netrc 文件路径",
|
||||||
"options.no-netrc.name": "禁用 netrc",
|
"netrc-path.description": "",
|
||||||
"options.no-netrc.description": "",
|
"no-netrc.name": "禁用 netrc",
|
||||||
"options.no-proxy.name": "不使用代理服务器列表",
|
"no-netrc.description": "",
|
||||||
"options.no-proxy.description": "设置不使用代理服务器的主机名, 域名, 包含或不包含子网掩码的网络地址, 多个使用逗号分隔.",
|
"no-proxy.name": "不使用代理服务器列表",
|
||||||
"options.proxy-method.name": "代理服务器请求方法",
|
"no-proxy.description": "设置不使用代理服务器的主机名, 域名, 包含或不包含子网掩码的网络地址, 多个使用逗号分隔.",
|
||||||
"options.remote-time.name": "获取服务器文件时间",
|
"proxy-method.name": "代理服务器请求方法",
|
||||||
"options.remote-time.description": "从 HTTP/FTP 服务获取远程文件的时间戳, 如果可用将设置到本地文件",
|
"remote-time.name": "获取服务器文件时间",
|
||||||
"options.reuse-uri.name": "URI 复用",
|
"remote-time.description": "从 HTTP/FTP 服务获取远程文件的时间戳, 如果可用将设置到本地文件",
|
||||||
"options.reuse-uri.description": "当所有给定的 URI 地址都已使用, 继续使用已经使用过的 URI 地址.",
|
"reuse-uri.name": "URI 复用",
|
||||||
"options.retry-wait.name": "重试等待时间",
|
"reuse-uri.description": "当所有给定的 URI 地址都已使用, 继续使用已经使用过的 URI 地址.",
|
||||||
"options.retry-wait.description": "设置重试间隔时间(秒). 当此选项的值大于 0 时, aria2 在 HTTP 服务器返回 503 响应时将会重试.",
|
"retry-wait.name": "重试等待时间",
|
||||||
"options.server-stat-of.name": "服务器状态保存文件",
|
"retry-wait.description": "设置重试间隔时间(秒). 当此选项的值大于 0 时, aria2 在 HTTP 服务器返回 503 响应时将会重试.",
|
||||||
"options.server-stat-timeout.name": "服务器状态超时",
|
"server-stat-of.name": "服务器状态保存文件",
|
||||||
"options.split.name": "文件分割数量",
|
"server-stat-timeout.name": "服务器状态超时",
|
||||||
"options.stream-piece-selector.name": "分片选择算法",
|
"split.name": "文件分割数量",
|
||||||
"options.timeout.name": "超时时间",
|
"stream-piece-selector.name": "分片选择算法",
|
||||||
"options.timeout.description": "",
|
"timeout.name": "超时时间",
|
||||||
"options.uri-selector.name": "URI 选择算法",
|
"timeout.description": "",
|
||||||
"options.check-certificate.name": "检查证书",
|
"uri-selector.name": "URI 选择算法",
|
||||||
"options.check-certificate.description": "",
|
"check-certificate.name": "检查证书",
|
||||||
"options.http-accept-gzip.name": "支持 GZip",
|
"check-certificate.description": "",
|
||||||
"options.http-auth-challenge.name": "HTTP 认证质询",
|
"http-accept-gzip.name": "支持 GZip",
|
||||||
"options.http-no-cache.name": "禁用缓存",
|
"http-auth-challenge.name": "HTTP 认证质询",
|
||||||
"options.http-user.name": "HTTP 默认用户名",
|
"http-no-cache.name": "禁用缓存",
|
||||||
"options.http-user.description": "",
|
"http-user.name": "HTTP 默认用户名",
|
||||||
"options.http-passwd.name": "HTTP 默认密码",
|
"http-user.description": "",
|
||||||
"options.http-passwd.description": "",
|
"http-passwd.name": "HTTP 默认密码",
|
||||||
"options.http-proxy.name": "HTTP 代理服务器",
|
"http-passwd.description": "",
|
||||||
"options.http-proxy.description": "",
|
"http-proxy.name": "HTTP 代理服务器",
|
||||||
"options.http-proxy-user.name": "HTTP 代理服务器用户名",
|
"http-proxy.description": "",
|
||||||
"options.http-proxy-user.description": "",
|
"http-proxy-user.name": "HTTP 代理服务器用户名",
|
||||||
"options.http-proxy-passwd.name": "HTTP 代理服务器密码",
|
"http-proxy-user.description": "",
|
||||||
"options.http-proxy-passwd.description": "",
|
"http-proxy-passwd.name": "HTTP 代理服务器密码",
|
||||||
"options.https-proxy.name": "HTTPS 代理服务器",
|
"http-proxy-passwd.description": "",
|
||||||
"options.https-proxy.description": "",
|
"https-proxy.name": "HTTPS 代理服务器",
|
||||||
"options.https-proxy-user.name": "HTTPS 代理服务器用户名",
|
"https-proxy.description": "",
|
||||||
"options.https-proxy-user.description": "",
|
"https-proxy-user.name": "HTTPS 代理服务器用户名",
|
||||||
"options.https-proxy-passwd.name": "HTTPS 代理服务器密码",
|
"https-proxy-user.description": "",
|
||||||
"options.https-proxy-passwd.description": "",
|
"https-proxy-passwd.name": "HTTPS 代理服务器密码",
|
||||||
"options.referer.name": "请求来源",
|
"https-proxy-passwd.description": "",
|
||||||
"options.enable-http-keep-alive.name": "启用持久连接",
|
"referer.name": "请求来源",
|
||||||
"options.enable-http-keep-alive.description": "启用 HTTP/1.1 持久连接.",
|
"enable-http-keep-alive.name": "启用持久连接",
|
||||||
"options.enable-http-pipelining.name": "启用 HTTP 管线化",
|
"enable-http-keep-alive.description": "启用 HTTP/1.1 持久连接.",
|
||||||
"options.enable-http-pipelining.description": "启用 HTTP/1.1 管线化.",
|
"enable-http-pipelining.name": "启用 HTTP 管线化",
|
||||||
"options.header.name": "自定义请求头",
|
"enable-http-pipelining.description": "启用 HTTP/1.1 管线化.",
|
||||||
"options.header.description": "增加 HTTP 请求头内容.",
|
"header.name": "自定义请求头",
|
||||||
"options.save-cookies.name": "Cookies 保存路径",
|
"header.description": "增加 HTTP 请求头内容.",
|
||||||
"options.use-head.name": "启用 HEAD 方法",
|
"save-cookies.name": "Cookies 保存路径",
|
||||||
"options.use-head.description": "第一次请求 HTTP 服务器时使用 HEAD 方法.",
|
"use-head.name": "启用 HEAD 方法",
|
||||||
"options.user-agent.name": "自定义 User Agent",
|
"use-head.description": "第一次请求 HTTP 服务器时使用 HEAD 方法.",
|
||||||
"options.user-agent.description": "",
|
"user-agent.name": "自定义 User Agent",
|
||||||
"options.ftp-user.name": "FTP 默认用户名",
|
"user-agent.description": "",
|
||||||
"options.ftp-user.description": "",
|
"ftp-user.name": "FTP 默认用户名",
|
||||||
"options.ftp-passwd.name": "FTP 默认密码",
|
"ftp-user.description": "",
|
||||||
"options.ftp-passwd.description": "如果 URI 中包含用户名单不包含密码, aria2 首先会从 .netrc 文件中获取密码. 如果在 .netrc 文件中找到密码, 则使用该密码. 否则, 使用此选项设置的密码.",
|
"ftp-passwd.name": "FTP 默认密码",
|
||||||
"options.ftp-pasv.name": "被动模式",
|
"ftp-passwd.description": "如果 URI 中包含用户名单不包含密码, aria2 首先会从 .netrc 文件中获取密码. 如果在 .netrc 文件中找到密码, 则使用该密码. 否则, 使用此选项设置的密码.",
|
||||||
"options.ftp-pasv.description": "在 FTP 中使用被动模式. 如果设置为否, 则使用主动模式. 此选项不适用于 SFTP 传输.",
|
"ftp-pasv.name": "被动模式",
|
||||||
"options.ftp-proxy.name": "FTP 代理服务器",
|
"ftp-pasv.description": "在 FTP 中使用被动模式. 如果设置为否, 则使用主动模式. 此选项不适用于 SFTP 传输.",
|
||||||
"options.ftp-proxy.description": "",
|
"ftp-proxy.name": "FTP 代理服务器",
|
||||||
"options.ftp-proxy-user.name": "FTP 代理服务器用户名",
|
"ftp-proxy.description": "",
|
||||||
"options.ftp-proxy-user.description": "",
|
"ftp-proxy-user.name": "FTP 代理服务器用户名",
|
||||||
"options.ftp-proxy-passwd.name": "FTP 代理服务器密码",
|
"ftp-proxy-user.description": "",
|
||||||
"options.ftp-proxy-passwd.description": "",
|
"ftp-proxy-passwd.name": "FTP 代理服务器密码",
|
||||||
"options.ftp-type.name": "传输类型",
|
"ftp-proxy-passwd.description": "",
|
||||||
"options.ftp-type.description": "",
|
"ftp-type.name": "传输类型",
|
||||||
"options.ftp-reuse-connection.name": "连接复用",
|
"ftp-type.description": "",
|
||||||
"options.ftp-reuse-connection.description": "",
|
"ftp-reuse-connection.name": "连接复用",
|
||||||
"options.ssh-host-key-md.name": "SSH 公钥校验和",
|
"ftp-reuse-connection.description": "",
|
||||||
"options.bt-detach-seed-only.name": "",
|
"ssh-host-key-md.name": "SSH 公钥校验和",
|
||||||
"options.bt-detach-seed-only.description": "",
|
"bt-detach-seed-only.name": "",
|
||||||
"options.bt-enable-hook-after-hash-check.name": "",
|
"bt-detach-seed-only.description": "",
|
||||||
"options.bt-enable-hook-after-hash-check.description": "",
|
"bt-enable-hook-after-hash-check.name": "",
|
||||||
"options.bt-enable-lpd.name": "",
|
"bt-enable-hook-after-hash-check.description": "",
|
||||||
"options.bt-enable-lpd.description": "",
|
"bt-enable-lpd.name": "",
|
||||||
"options.bt-exclude-tracker.name": "",
|
"bt-enable-lpd.description": "",
|
||||||
"options.bt-exclude-tracker.description": "",
|
"bt-exclude-tracker.name": "",
|
||||||
"options.bt-external-ip.name": "",
|
"bt-exclude-tracker.description": "",
|
||||||
"options.bt-external-ip.description": "",
|
"bt-external-ip.name": "",
|
||||||
"options.bt-force-encryption.name": "",
|
"bt-external-ip.description": "",
|
||||||
"options.bt-force-encryption.description": "",
|
"bt-force-encryption.name": "",
|
||||||
"options.bt-hash-check-seed.name": "",
|
"bt-force-encryption.description": "",
|
||||||
"options.bt-hash-check-seed.description": "",
|
"bt-hash-check-seed.name": "",
|
||||||
"options.bt-max-open-files.name": "",
|
"bt-hash-check-seed.description": "",
|
||||||
"options.bt-max-open-files.description": "",
|
"bt-max-open-files.name": "",
|
||||||
"options.bt-max-peers.name": "",
|
"bt-max-open-files.description": "",
|
||||||
"options.bt-max-peers.description": "",
|
"bt-max-peers.name": "",
|
||||||
"options.bt-metadata-only.name": "",
|
"bt-max-peers.description": "",
|
||||||
"options.bt-metadata-only.description": "",
|
"bt-metadata-only.name": "",
|
||||||
"options.bt-min-crypto-level.name": "",
|
"bt-metadata-only.description": "",
|
||||||
"options.bt-min-crypto-level.description": "",
|
"bt-min-crypto-level.name": "",
|
||||||
"options.bt-prioritize-piece.name": "",
|
"bt-min-crypto-level.description": "",
|
||||||
"options.bt-prioritize-piece.description": "",
|
"bt-prioritize-piece.name": "",
|
||||||
"options.bt-remove-unselected-file.name": "",
|
"bt-prioritize-piece.description": "",
|
||||||
"options.bt-remove-unselected-file.description": "",
|
"bt-remove-unselected-file.name": "",
|
||||||
"options.bt-require-crypto.name": "",
|
"bt-remove-unselected-file.description": "",
|
||||||
"options.bt-require-crypto.description": "",
|
"bt-require-crypto.name": "",
|
||||||
"options.bt-request-peer-speed-limit.name": "",
|
"bt-require-crypto.description": "",
|
||||||
"options.bt-request-peer-speed-limit.description": "",
|
"bt-request-peer-speed-limit.name": "",
|
||||||
"options.bt-save-metadata.name": "",
|
"bt-request-peer-speed-limit.description": "",
|
||||||
"options.bt-save-metadata.description": "",
|
"bt-save-metadata.name": "",
|
||||||
"options.bt-seed-unverified.name": "",
|
"bt-save-metadata.description": "",
|
||||||
"options.bt-seed-unverified.description": "",
|
"bt-seed-unverified.name": "",
|
||||||
"options.bt-stop-timeout.name": "",
|
"bt-seed-unverified.description": "",
|
||||||
"options.bt-stop-timeout.description": "",
|
"bt-stop-timeout.name": "",
|
||||||
"options.bt-tracker.name": "",
|
"bt-stop-timeout.description": "",
|
||||||
"options.bt-tracker.description": "",
|
"bt-tracker.name": "",
|
||||||
"options.bt-tracker-connect-timeout.name": "",
|
"bt-tracker.description": "",
|
||||||
"options.bt-tracker-connect-timeout.description": "",
|
"bt-tracker-connect-timeout.name": "",
|
||||||
"options.bt-tracker-interval.name": "",
|
"bt-tracker-connect-timeout.description": "",
|
||||||
"options.bt-tracker-interval.description": "",
|
"bt-tracker-interval.name": "",
|
||||||
"options.bt-tracker-timeout.name": "",
|
"bt-tracker-interval.description": "",
|
||||||
"options.bt-tracker-timeout.description": "",
|
"bt-tracker-timeout.name": "",
|
||||||
"options.dht-file-path.name": "",
|
"bt-tracker-timeout.description": "",
|
||||||
"options.dht-file-path.description": "",
|
"dht-file-path.name": "",
|
||||||
"options.dht-file-path6.name": "",
|
"dht-file-path.description": "",
|
||||||
"options.dht-file-path6.description": "",
|
"dht-file-path6.name": "",
|
||||||
"options.dht-listen-port.name": "",
|
"dht-file-path6.description": "",
|
||||||
"options.dht-listen-port.description": "",
|
"dht-listen-port.name": "",
|
||||||
"options.dht-message-timeout.name": "",
|
"dht-listen-port.description": "",
|
||||||
"options.dht-message-timeout.description": "",
|
"dht-message-timeout.name": "",
|
||||||
"options.enable-dht.name": "",
|
"dht-message-timeout.description": "",
|
||||||
"options.enable-dht.description": "",
|
"enable-dht.name": "",
|
||||||
"options.enable-dht6.name": "",
|
"enable-dht.description": "",
|
||||||
"options.enable-dht6.description": "",
|
"enable-dht6.name": "",
|
||||||
"options.enable-peer-exchange.name": "",
|
"enable-dht6.description": "",
|
||||||
"options.enable-peer-exchange.description": "",
|
"enable-peer-exchange.name": "",
|
||||||
"options.follow-torrent.name": "",
|
"enable-peer-exchange.description": "",
|
||||||
"options.follow-torrent.description": "",
|
"follow-torrent.name": "",
|
||||||
"options.listen-port.name": "",
|
"follow-torrent.description": "",
|
||||||
"options.listen-port.description": "",
|
"listen-port.name": "",
|
||||||
"options.max-overall-upload-limit.name": "",
|
"listen-port.description": "",
|
||||||
"options.max-overall-upload-limit.description": "",
|
"max-overall-upload-limit.name": "",
|
||||||
"options.max-upload-limit.name": "",
|
"max-overall-upload-limit.description": "",
|
||||||
"options.max-upload-limit.description": "",
|
"max-upload-limit.name": "",
|
||||||
"options.peer-id-prefix.name": "",
|
"max-upload-limit.description": "",
|
||||||
"options.peer-id-prefix.description": "",
|
"peer-id-prefix.name": "",
|
||||||
"options.seed-ratio.name": "",
|
"peer-id-prefix.description": "",
|
||||||
"options.seed-ratio.description": "",
|
"seed-ratio.name": "",
|
||||||
"options.seed-time.name": "",
|
"seed-ratio.description": "",
|
||||||
"options.seed-time.description": "",
|
"seed-time.name": "",
|
||||||
"options.follow-metalink.name": "",
|
"seed-time.description": "",
|
||||||
"options.follow-metalink.description": "",
|
"follow-metalink.name": "",
|
||||||
"options.metalink-base-uri.name": "",
|
"follow-metalink.description": "",
|
||||||
"options.metalink-base-uri.description": "",
|
"metalink-base-uri.name": "",
|
||||||
"options.metalink-language.name": "",
|
"metalink-base-uri.description": "",
|
||||||
"options.metalink-language.description": "",
|
"metalink-language.name": "",
|
||||||
"options.metalink-location.name": "",
|
"metalink-language.description": "",
|
||||||
"options.metalink-location.description": "",
|
"metalink-location.name": "",
|
||||||
"options.metalink-os.name": "",
|
"metalink-location.description": "",
|
||||||
"options.metalink-os.description": "",
|
"metalink-os.name": "",
|
||||||
"options.metalink-version.name": "",
|
"metalink-os.description": "",
|
||||||
"options.metalink-version.description": "",
|
"metalink-version.name": "",
|
||||||
"options.metalink-preferred-protocol.name": "",
|
"metalink-version.description": "",
|
||||||
"options.metalink-preferred-protocol.description": "",
|
"metalink-preferred-protocol.name": "",
|
||||||
"options.metalink-enable-unique-protocol.name": "",
|
"metalink-preferred-protocol.description": "",
|
||||||
"options.metalink-enable-unique-protocol.description": "",
|
"metalink-enable-unique-protocol.name": "",
|
||||||
"options.enable-rpc.name": "启用 JSON-RPC/XML-RPC 服务器",
|
"metalink-enable-unique-protocol.description": "",
|
||||||
"options.enable-rpc.description": "",
|
"enable-rpc.name": "启用 JSON-RPC/XML-RPC 服务器",
|
||||||
"options.pause-metadata.name": "元数据下载完后暂停",
|
"enable-rpc.description": "",
|
||||||
"options.pause-metadata.description": "当元数据下载完成后暂停后续的下载. 在 aria2 中有三种类型的元数据下载: (1) 下载 .torrent 文件. (2) 通过磁链下载种子元数据. (3) 下载磁链文件. 这些元数据下载完后会根据元数据内容进行下载. 这个选项会暂停这些后续的下载. 此选项仅当 --enable-rpc 启用时生效.",
|
"pause-metadata.name": "元数据下载完后暂停",
|
||||||
"options.rpc-allow-origin-all.name": "接受所有远程请求",
|
"pause-metadata.description": "当元数据下载完成后暂停后续的下载. 在 aria2 中有三种类型的元数据下载: (1) 下载 .torrent 文件. (2) 通过磁链下载种子元数据. (3) 下载磁链文件. 这些元数据下载完后会根据元数据内容进行下载. 这个选项会暂停这些后续的下载. 此选项仅当 --enable-rpc 启用时生效.",
|
||||||
"options.rpc-allow-origin-all.description": "在 RPC 响应头增加 Access-Control-Allow-Origin 字段, 值为 * .",
|
"rpc-allow-origin-all.name": "接受所有远程请求",
|
||||||
"options.rpc-listen-all.name": "在所有网卡上监听",
|
"rpc-allow-origin-all.description": "在 RPC 响应头增加 Access-Control-Allow-Origin 字段, 值为 * .",
|
||||||
"options.rpc-listen-all.description": "在所有网络适配器上监听 JSON-RPC/XML-RPC 的请求, 如果设置为否, 仅监听本地网络的请求.",
|
"rpc-listen-all.name": "在所有网卡上监听",
|
||||||
"options.rpc-listen-port.name": "监听端口",
|
"rpc-listen-all.description": "在所有网络适配器上监听 JSON-RPC/XML-RPC 的请求, 如果设置为否, 仅监听本地网络的请求.",
|
||||||
"options.rpc-listen-port.description": "",
|
"rpc-listen-port.name": "监听端口",
|
||||||
"options.rpc-max-request-size.name": "最大请求大小",
|
"rpc-listen-port.description": "",
|
||||||
"options.rpc-max-request-size.description": "设置 JSON-RPC/XML-RPC 最大的请求大小. 如果 aria2 检测到请求超过设定的字节数, 会直接取消连接.",
|
"rpc-max-request-size.name": "最大请求大小",
|
||||||
"options.rpc-save-upload-metadata.name": "保存上传的元数据",
|
"rpc-max-request-size.description": "设置 JSON-RPC/XML-RPC 最大的请求大小. 如果 aria2 检测到请求超过设定的字节数, 会直接取消连接.",
|
||||||
"options.rpc-save-upload-metadata.description": "在 dir 参数设置的目录中保存上传的种子文件或磁链的元数据. 文件名包括 SHA-1 哈希后的元数据和扩展名两部分. 对于种子文件, 扩展名为 '.torrent'. 对于磁链为 '.meta4'. 如果此选项设置为否, 通过 aria2.addTorrent() 或 aria2.addMetalink() 方法添加的下载将无法通过 --save-session 选项保存.",
|
"rpc-save-upload-metadata.name": "保存上传的元数据",
|
||||||
"options.rpc-secure.name": "启用 SSL/TLS",
|
"rpc-save-upload-metadata.description": "在 dir 参数设置的目录中保存上传的种子文件或磁链的元数据. 文件名包括 SHA-1 哈希后的元数据和扩展名两部分. 对于种子文件, 扩展名为 '.torrent'. 对于磁链为 '.meta4'. 如果此选项设置为否, 通过 aria2.addTorrent() 或 aria2.addMetalink() 方法添加的下载将无法通过 --save-session 选项保存.",
|
||||||
"options.rpc-secure.description": "RPC 将通过 SSL/TLS 加密传输. RPC 客户端需要使用 https 协议连接服务器. 对于 WebSocket 客户端, 使用 wss 协议. 使用 --rpc-certificate 和 --rpc-private-key 选项设置服务器的证书和私钥.",
|
"rpc-secure.name": "启用 SSL/TLS",
|
||||||
"options.allow-overwrite.name": "",
|
"rpc-secure.description": "RPC 将通过 SSL/TLS 加密传输. RPC 客户端需要使用 https 协议连接服务器. 对于 WebSocket 客户端, 使用 wss 协议. 使用 --rpc-certificate 和 --rpc-private-key 选项设置服务器的证书和私钥.",
|
||||||
"options.allow-overwrite.description": "",
|
"allow-overwrite.name": "",
|
||||||
"options.allow-piece-length-change.name": "",
|
"allow-overwrite.description": "",
|
||||||
"options.allow-piece-length-change.description": "",
|
"allow-piece-length-change.name": "",
|
||||||
"options.always-resume.name": "",
|
"allow-piece-length-change.description": "",
|
||||||
"options.always-resume.description": "",
|
"always-resume.name": "",
|
||||||
"options.async-dns.name": "",
|
"always-resume.description": "",
|
||||||
"options.async-dns.description": "",
|
"async-dns.name": "",
|
||||||
"options.auto-file-renaming.name": "",
|
"async-dns.description": "",
|
||||||
"options.auto-file-renaming.description": "",
|
"auto-file-renaming.name": "",
|
||||||
"options.auto-save-interval.name": "",
|
"auto-file-renaming.description": "",
|
||||||
"options.auto-save-interval.description": "",
|
"auto-save-interval.name": "",
|
||||||
"options.conditional-get.name": "",
|
"auto-save-interval.description": "",
|
||||||
"options.conditional-get.description": "",
|
"conditional-get.name": "",
|
||||||
"options.conf-path.name": "",
|
"conditional-get.description": "",
|
||||||
"options.conf-path.description": "",
|
"conf-path.name": "",
|
||||||
"options.console-log-level.name": "",
|
"conf-path.description": "",
|
||||||
"options.console-log-level.description": "",
|
"console-log-level.name": "",
|
||||||
"options.daemon.name": "",
|
"console-log-level.description": "",
|
||||||
"options.daemon.description": "",
|
"daemon.name": "",
|
||||||
"options.deferred-input.name": "",
|
"daemon.description": "",
|
||||||
"options.deferred-input.description": "",
|
"deferred-input.name": "",
|
||||||
"options.disable-ipv6.name": "",
|
"deferred-input.description": "",
|
||||||
"options.disable-ipv6.description": "",
|
"disable-ipv6.name": "",
|
||||||
"options.disk-cache.name": "",
|
"disable-ipv6.description": "",
|
||||||
"options.disk-cache.description": "",
|
"disk-cache.name": "",
|
||||||
"options.download-result.name": "",
|
"disk-cache.description": "",
|
||||||
"options.download-result.description": "",
|
"download-result.name": "",
|
||||||
"options.dscp.name": "",
|
"download-result.description": "",
|
||||||
"options.dscp.description": "",
|
"dscp.name": "",
|
||||||
"options.rlimit-nofile.name": "",
|
"dscp.description": "",
|
||||||
"options.rlimit-nofile.description": "",
|
"rlimit-nofile.name": "",
|
||||||
"options.enable-color.name": "",
|
"rlimit-nofile.description": "",
|
||||||
"options.enable-color.description": "",
|
"enable-color.name": "",
|
||||||
"options.enable-mmap.name": "",
|
"enable-color.description": "",
|
||||||
"options.enable-mmap.description": "",
|
"enable-mmap.name": "",
|
||||||
"options.event-poll.name": "",
|
"enable-mmap.description": "",
|
||||||
"options.event-poll.description": "",
|
"event-poll.name": "",
|
||||||
"options.file-allocation.name": "",
|
"event-poll.description": "",
|
||||||
"options.file-allocation.description": "",
|
"file-allocation.name": "",
|
||||||
"options.force-save.name": "",
|
"file-allocation.description": "",
|
||||||
"options.force-save.description": "",
|
"force-save.name": "",
|
||||||
"options.hash-check-only.name": "",
|
"force-save.description": "",
|
||||||
"options.hash-check-only.description": "",
|
"hash-check-only.name": "",
|
||||||
"options.human-readable.name": "",
|
"hash-check-only.description": "",
|
||||||
"options.human-readable.description": "",
|
"human-readable.name": "",
|
||||||
"options.max-download-result.name": "",
|
"human-readable.description": "",
|
||||||
"options.max-download-result.description": "",
|
"max-download-result.name": "",
|
||||||
"options.max-mmap-limit.name": "",
|
"max-download-result.description": "",
|
||||||
"options.max-mmap-limit.description": "",
|
"max-mmap-limit.name": "",
|
||||||
"options.max-resume-failure-tries.name": "",
|
"max-mmap-limit.description": "",
|
||||||
"options.max-resume-failure-tries.description": "",
|
"max-resume-failure-tries.name": "",
|
||||||
"options.min-tls-version.name": "",
|
"max-resume-failure-tries.description": "",
|
||||||
"options.min-tls-version.description": "",
|
"min-tls-version.name": "",
|
||||||
"options.log-level.name": "",
|
"min-tls-version.description": "",
|
||||||
"options.log-level.description": "",
|
"log-level.name": "",
|
||||||
"options.piece-length.name": "",
|
"log-level.description": "",
|
||||||
"options.piece-length.description": "",
|
"piece-length.name": "",
|
||||||
"options.optimize-concurrent-downloads.name": "",
|
"piece-length.description": "",
|
||||||
"options.optimize-concurrent-downloads.description": "",
|
"optimize-concurrent-downloads.name": "",
|
||||||
"options.show-console-readout.name": "",
|
"optimize-concurrent-downloads.description": "",
|
||||||
"options.show-console-readout.description": "",
|
"show-console-readout.name": "",
|
||||||
"options.summary-interval.name": "",
|
"show-console-readout.description": "",
|
||||||
"options.summary-interval.description": "",
|
"summary-interval.name": "",
|
||||||
"options.max-overall-download-limit.name": "",
|
"summary-interval.description": "",
|
||||||
"options.max-overall-download-limit.description": "",
|
"max-overall-download-limit.name": "",
|
||||||
"options.max-download-limit.name": "",
|
"max-overall-download-limit.description": "",
|
||||||
"options.max-download-limit.description": "",
|
"max-download-limit.name": "",
|
||||||
"options.no-conf.name": "",
|
"max-download-limit.description": "",
|
||||||
"options.no-conf.description": "",
|
"no-conf.name": "",
|
||||||
"options.no-file-allocation-limit.name": "",
|
"no-conf.description": "",
|
||||||
"options.no-file-allocation-limit.description": "",
|
"no-file-allocation-limit.name": "",
|
||||||
"options.parameterized-uri.name": "",
|
"no-file-allocation-limit.description": "",
|
||||||
"options.parameterized-uri.description": "",
|
"parameterized-uri.name": "",
|
||||||
"options.quiet.name": "",
|
"parameterized-uri.description": "",
|
||||||
"options.quiet.description": "",
|
"quiet.name": "",
|
||||||
"options.realtime-chunk-checksum.name": "",
|
"quiet.description": "",
|
||||||
"options.realtime-chunk-checksum.description": "",
|
"realtime-chunk-checksum.name": "",
|
||||||
"options.remove-control-file.name": "",
|
"realtime-chunk-checksum.description": "",
|
||||||
"options.remove-control-file.description": "",
|
"remove-control-file.name": "",
|
||||||
"options.save-session.name": "",
|
"remove-control-file.description": "",
|
||||||
"options.save-session.description": "",
|
"save-session.name": "",
|
||||||
"options.save-session-interval.name": "",
|
"save-session.description": "",
|
||||||
"options.save-session-interval.description": "",
|
"save-session-interval.name": "",
|
||||||
"options.socket-recv-buffer-size.name": "",
|
"save-session-interval.description": "",
|
||||||
"options.socket-recv-buffer-size.description": "",
|
"socket-recv-buffer-size.name": "",
|
||||||
"options.stop.name": "",
|
"socket-recv-buffer-size.description": "",
|
||||||
"options.stop.description": "",
|
"stop.name": "",
|
||||||
"options.truncate-console-readout.name": "",
|
"stop.description": "",
|
||||||
"options.truncate-console-readout.description": ""
|
"truncate-console-readout.name": "",
|
||||||
|
"truncate-console-readout.description": ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
(function () {
|
(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('ariaNg').controller('DownloadListController', ['$rootScope', '$scope', '$window', '$location', '$interval', 'translateFilter', 'aria2RpcService', 'ariaNgSettingService', 'utils', function ($rootScope, $scope, $window, $location, $interval, translateFilter, aria2RpcService, ariaNgSettingService, utils) {
|
angular.module('ariaNg').controller('DownloadListController', ['$rootScope', '$scope', '$window', '$location', '$interval', 'aria2RpcService', 'ariaNgSettingService', 'utils', function ($rootScope, $scope, $window, $location, $interval, aria2RpcService, ariaNgSettingService, utils) {
|
||||||
var location = $location.path().substring(1);
|
var location = $location.path().substring(1);
|
||||||
var downloadTaskRefreshPromise = null;
|
var downloadTaskRefreshPromise = null;
|
||||||
var needRequestWholeInfo = true;
|
var needRequestWholeInfo = true;
|
||||||
|
|
|
@ -103,312 +103,314 @@
|
||||||
'notice': 'Notice',
|
'notice': 'Notice',
|
||||||
'warn': 'Warn',
|
'warn': 'Warn',
|
||||||
'error': 'Error',
|
'error': 'Error',
|
||||||
'options.dir.name': 'Download Path',
|
'options': {
|
||||||
'options.dir.description': '',
|
'dir.name': 'Download Path',
|
||||||
'options.log.name': 'Log File',
|
'dir.description': '',
|
||||||
'options.log.description': 'The file name of the log file. If - is specified, log is written to stdout. If empty string("") is specified, or this option is omitted, no log is written to disk at all.',
|
'log.name': 'Log File',
|
||||||
'options.max-concurrent-downloads.name': 'Max Concurrent Downloads',
|
'log.description': 'The file name of the log file. If - is specified, log is written to stdout. If empty string("") is specified, or this option is omitted, no log is written to disk at all.',
|
||||||
'options.max-concurrent-downloads.description': '',
|
'max-concurrent-downloads.name': 'Max Concurrent Downloads',
|
||||||
'options.check-integrity.name': 'Check Integrity',
|
'max-concurrent-downloads.description': '',
|
||||||
'options.check-integrity.description': 'Check file integrity by validating piece hashes or a hash of entire file. This option has effect only in BitTorrent, Metalink downloads with checksums or HTTP(S)/FTP downloads with --checksum option.',
|
'check-integrity.name': 'Check Integrity',
|
||||||
'options.continue.name': 'Resume Download',
|
'check-integrity.description': 'Check file integrity by validating piece hashes or a hash of entire file. This option has effect only in BitTorrent, Metalink downloads with checksums or HTTP(S)/FTP downloads with --checksum option.',
|
||||||
'options.continue.description': 'Continue downloading a partially downloaded file. Use this option to resume a download started by a web browser or another program which downloads files sequentially from the beginning. Currently this option is only applicable to HTTP(S)/FTP downloads.',
|
'continue.name': 'Resume Download',
|
||||||
'options.all-proxy.name': 'Proxy Server',
|
'continue.description': 'Continue downloading a partially downloaded file. Use this option to resume a download started by a web browser or another program which downloads files sequentially from the beginning. Currently this option is only applicable to HTTP(S)/FTP downloads.',
|
||||||
'options.all-proxy.description': 'Use a proxy server for all protocols. To override a previously defined proxy, use "". You also can override this setting and specify a proxy server for a particular protocol using --http-proxy, --https-proxy and --ftp-proxy options. This affects all downloads. The format of PROXY is [http://][USER:PASSWORD@]HOST[:PORT].',
|
'all-proxy.name': 'Proxy Server',
|
||||||
'options.all-proxy-user.name': 'Proxy User Name',
|
'all-proxy.description': 'Use a proxy server for all protocols. To override a previously defined proxy, use "". You also can override this setting and specify a proxy server for a particular protocol using --http-proxy, --https-proxy and --ftp-proxy This affects all downloads. The format of PROXY is [http://][USER:PASSWORD@]HOST[:PORT].',
|
||||||
'options.all-proxy-user.description': '',
|
'all-proxy-user.name': 'Proxy User Name',
|
||||||
'options.all-proxy-passwd.name': 'Proxy Password',
|
'all-proxy-user.description': '',
|
||||||
'options.all-proxy-passwd.description': '',
|
'all-proxy-passwd.name': 'Proxy Password',
|
||||||
'options.connect-timeout.name': 'Connect Timeout',
|
'all-proxy-passwd.description': '',
|
||||||
'options.connect-timeout.description': 'Set the connect timeout in seconds to establish connection to HTTP/FTP/proxy server. After the connection is established, this option makes no effect and --timeout option is used instead.',
|
'connect-timeout.name': 'Connect Timeout',
|
||||||
'options.dry-run.name': 'Dry Run',
|
'connect-timeout.description': 'Set the connect timeout in seconds to establish connection to HTTP/FTP/proxy server. After the connection is established, this option makes no effect and --timeout option is used instead.',
|
||||||
'options.dry-run.description': 'If true is given, aria2 just checks whether the remote file is available and doesn\'t download data. This option has effect on HTTP/FTP download. BitTorrent downloads are canceled if true is specified.',
|
'dry-run.name': 'Dry Run',
|
||||||
'options.lowest-speed-limit.name': 'Lowest Speed Limit',
|
'dry-run.description': 'If true is given, aria2 just checks whether the remote file is available and doesn\'t download data. This option has effect on HTTP/FTP download. BitTorrent downloads are canceled if true is specified.',
|
||||||
'options.lowest-speed-limit.description': 'Close connection if download speed is lower than or equal to this value(bytes per sec). 0 means aria2 does not have a lowest speed limit. You can append K or M (1K = 1024, 1M = 1024K). This option does not affect BitTorrent downloads.',
|
'lowest-speed-limit.name': 'Lowest Speed Limit',
|
||||||
'options.max-connection-per-server.name': 'Max Connection Per Server',
|
'lowest-speed-limit.description': 'Close connection if download speed is lower than or equal to this value(bytes per sec). 0 means aria2 does not have a lowest speed limit. You can append K or M (1K = 1024, 1M = 1024K). This option does not affect BitTorrent downloads.',
|
||||||
'options.max-connection-per-server.description': '',
|
'max-connection-per-server.name': 'Max Connection Per Server',
|
||||||
'options.max-file-not-found.name': 'Max File Not Found Try Times',
|
'max-connection-per-server.description': '',
|
||||||
'options.max-file-not-found.description': '',
|
'max-file-not-found.name': 'Max File Not Found Try Times',
|
||||||
'options.max-tries.name': 'Max Try Times',
|
'max-file-not-found.description': '',
|
||||||
'options.max-tries.description': 'Set number of tries. 0 means unlimited.',
|
'max-tries.name': 'Max Try Times',
|
||||||
'options.min-split-size.name': 'Min Split Size',
|
'max-tries.description': 'Set number of tries. 0 means unlimited.',
|
||||||
'options.min-split-size.description': 'aria2 does not split less than 2*SIZE byte range. For example, let\'s consider downloading 20MiB file. If SIZE is 10M, aria2 can split file into 2 range [0-10MiB) and [10MiB-20MiB) and download it using 2 sources(if --split >= 2, of course). If SIZE is 15M, since 2*15M > 20MiB, aria2 does not split file and download it using 1 source. You can append K or M (1K = 1024, 1M = 1024K). Possible Values: 1M-1024M.',
|
'min-split-size.name': 'Min Split Size',
|
||||||
'options.netrc-path.name': '.netrc Path',
|
'min-split-size.description': 'aria2 does not split less than 2*SIZE byte range. For example, let\'s consider downloading 20MiB file. If SIZE is 10M, aria2 can split file into 2 range [0-10MiB) and [10MiB-20MiB) and download it using 2 sources(if --split >= 2, of course). If SIZE is 15M, since 2*15M > 20MiB, aria2 does not split file and download it using 1 source. You can append K or M (1K = 1024, 1M = 1024K). Possible Values: 1M-1024M.',
|
||||||
'options.netrc-path.description': '',
|
'netrc-path.name': '.netrc Path',
|
||||||
'options.no-netrc.name': 'Disable netrc',
|
'netrc-path.description': '',
|
||||||
'options.no-netrc.description': '',
|
'no-netrc.name': 'Disable netrc',
|
||||||
'options.no-proxy.name': 'No Proxy List',
|
'no-netrc.description': '',
|
||||||
'options.no-proxy.description': 'Specify a comma separated list of host names, domains and network addresses with or without a subnet mask where no proxy should be used.',
|
'no-proxy.name': 'No Proxy List',
|
||||||
'options.proxy-method.name': 'Proxy Method',
|
'no-proxy.description': 'Specify a comma separated list of host names, domains and network addresses with or without a subnet mask where no proxy should be used.',
|
||||||
'options.proxy-method.description': 'Set the method to use in proxy request. METHOD is either get or tunnel. HTTPS downloads always use tunnel regardless of this option.',
|
'proxy-method.name': 'Proxy Method',
|
||||||
'options.remote-time.name': 'Remote File Timestamp',
|
'proxy-method.description': 'Set the method to use in proxy request. METHOD is either get or tunnel. HTTPS downloads always use tunnel regardless of this option.',
|
||||||
'options.remote-time.description': 'Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it is available, apply it to the local file.',
|
'remote-time.name': 'Remote File Timestamp',
|
||||||
'options.reuse-uri.name': 'Reuse Uri',
|
'remote-time.description': 'Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it is available, apply it to the local file.',
|
||||||
'options.reuse-uri.description': 'Reuse already used URIs if no unused URIs are left.',
|
'reuse-uri.name': 'Reuse Uri',
|
||||||
'options.retry-wait.name': 'Retry Wait',
|
'reuse-uri.description': 'Reuse already used URIs if no unused URIs are left.',
|
||||||
'options.retry-wait.description': 'Set the seconds to wait between retries. When SEC > 0, aria2 will retry downloads when the HTTP server returns a 503 response. ',
|
'retry-wait.name': 'Retry Wait',
|
||||||
'options.server-stat-of.name': 'Server Stat Output',
|
'retry-wait.description': 'Set the seconds to wait between retries. When SEC > 0, aria2 will retry downloads when the HTTP server returns a 503 response. ',
|
||||||
'options.server-stat-of.description': 'Specify the file name to which performance profile of the servers is saved. You can load saved data using --server-stat-if option.',
|
'server-stat-of.name': 'Server Stat Output',
|
||||||
'options.server-stat-timeout.name': 'Server Stat Timeout',
|
'server-stat-of.description': 'Specify the file name to which performance profile of the servers is saved. You can load saved data using --server-stat-if option.',
|
||||||
'options.server-stat-timeout.description': 'Specifies timeout in seconds to invalidate performance profile of the servers since the last contact to them.',
|
'server-stat-timeout.name': 'Server Stat Timeout',
|
||||||
'options.split.name': 'Split Count',
|
'server-stat-timeout.description': 'Specifies timeout in seconds to invalidate performance profile of the servers since the last contact to them.',
|
||||||
'options.split.description': 'Download a file using N connections. If more than N URIs are given, first N URIs are used and remaining URIs are used for backup. If less than N URIs are given, those URIs are used more than once so that N connections total are made simultaneously. The number of connections to the same host is restricted by the --max-connection-per-server option. See also the --min-split-size option.',
|
'split.name': 'Split Count',
|
||||||
'options.stream-piece-selector.name': 'Piece Selection Algorithm',
|
'split.description': 'Download a file using N connections. If more than N URIs are given, first N URIs are used and remaining URIs are used for backup. If less than N URIs are given, those URIs are used more than once so that N connections total are made simultaneously. The number of connections to the same host is restricted by the --max-connection-per-server option. See also the --min-split-size option.',
|
||||||
'options.stream-piece-selector.description': 'Specify piece selection algorithm used in HTTP/FTP download. Piece means fixed length segment which is downloaded in parallel in segmented download. If default is given, aria2 selects piece so that it reduces the number of establishing connection. This is reasonable default behavior because establishing connection is an expensive operation. If inorder is given, aria2 selects piece which has minimum index. Index=0 means first of the file. This will be useful to view movie while downloading it. --enable-http-pipelining option may be useful to reduce re-connection overhead. Please note that aria2 honors --min-split-size option, so it will be necessary to specify a reasonable value to --min-split-size option. If random is given, aria2 selects piece randomly. Like inorder, --min-split-size option is honored. If geom is given, at the beginning aria2 selects piece which has minimum index like inorder, but it exponentially increasingly keeps space from previously selected piece. This will reduce the number of establishing connection and at the same time it will download the beginning part of the file first. This will be useful to view movie while downloading it.',
|
'stream-piece-selector.name': 'Piece Selection Algorithm',
|
||||||
'options.timeout.name': 'Timeout',
|
'stream-piece-selector.description': 'Specify piece selection algorithm used in HTTP/FTP download. Piece means fixed length segment which is downloaded in parallel in segmented download. If default is given, aria2 selects piece so that it reduces the number of establishing connection. This is reasonable default behavior because establishing connection is an expensive operation. If inorder is given, aria2 selects piece which has minimum index. Index=0 means first of the file. This will be useful to view movie while downloading it. --enable-http-pipelining option may be useful to reduce re-connection overhead. Please note that aria2 honors --min-split-size option, so it will be necessary to specify a reasonable value to --min-split-size option. If random is given, aria2 selects piece randomly. Like inorder, --min-split-size option is honored. If geom is given, at the beginning aria2 selects piece which has minimum index like inorder, but it exponentially increasingly keeps space from previously selected piece. This will reduce the number of establishing connection and at the same time it will download the beginning part of the file first. This will be useful to view movie while downloading it.',
|
||||||
'options.timeout.description': '',
|
'timeout.name': 'Timeout',
|
||||||
'options.uri-selector.name': 'URI Selection Algorithm',
|
'timeout.description': '',
|
||||||
'options.uri-selector.description': 'Specify URI selection algorithm. The possible values are inorder, feedback and adaptive. If inorder is given, URI is tried in the order appeared in the URI list. If feedback is given, aria2 uses download speed observed in the previous downloads and choose fastest server in the URI list. This also effectively skips dead mirrors. The observed download speed is a part of performance profile of servers mentioned in --server-stat-of and --server-stat-if options. If adaptive is given, selects one of the best mirrors for the first and reserved connections. For supplementary ones, it returns mirrors which has not been tested yet, and if each of them has already been tested, returns mirrors which has to be tested again. Otherwise, it doesn\'t select anymore mirrors. Like feedback, it uses a performance profile of servers.',
|
'uri-selector.name': 'URI Selection Algorithm',
|
||||||
'options.check-certificate.name': 'Check Certificate',
|
'uri-selector.description': 'Specify URI selection algorithm. The possible values are inorder, feedback and adaptive. If inorder is given, URI is tried in the order appeared in the URI list. If feedback is given, aria2 uses download speed observed in the previous downloads and choose fastest server in the URI list. This also effectively skips dead mirrors. The observed download speed is a part of performance profile of servers mentioned in --server-stat-of and --server-stat-if If adaptive is given, selects one of the best mirrors for the first and reserved connections. For supplementary ones, it returns mirrors which has not been tested yet, and if each of them has already been tested, returns mirrors which has to be tested again. Otherwise, it doesn\'t select anymore mirrors. Like feedback, it uses a performance profile of servers.',
|
||||||
'options.check-certificate.description': '',
|
'check-certificate.name': 'Check Certificate',
|
||||||
'options.http-accept-gzip.name': 'Accept GZip',
|
'check-certificate.description': '',
|
||||||
'options.http-accept-gzip.description': 'Send Accept: deflate, gzip request header and inflate response if remote server responds with Content-Encoding: gzip or Content-Encoding: deflate.',
|
'http-accept-gzip.name': 'Accept GZip',
|
||||||
'options.http-auth-challenge.name': 'HTTP Auth Challenge',
|
'http-accept-gzip.description': 'Send Accept: deflate, gzip request header and inflate response if remote server responds with Content-Encoding: gzip or Content-Encoding: deflate.',
|
||||||
'options.http-auth-challenge.description': 'Send HTTP authorization header only when it is requested by the server. If false is set, then authorization header is always sent to the server. There is an exception: if user name and password are embedded in URI, authorization header is always sent to the server regardless of this option.',
|
'http-auth-challenge.name': 'HTTP Auth Challenge',
|
||||||
'options.http-no-cache.name': 'No Cache',
|
'http-auth-challenge.description': 'Send HTTP authorization header only when it is requested by the server. If false is set, then authorization header is always sent to the server. There is an exception: if user name and password are embedded in URI, authorization header is always sent to the server regardless of this option.',
|
||||||
'options.http-no-cache.description': 'Send Cache-Control: no-cache and Pragma: no-cache header to avoid cached content. If false is given, these headers are not sent and you can add Cache-Control header with a directive you like using --header option.',
|
'http-no-cache.name': 'No Cache',
|
||||||
'options.http-user.name': 'HTTP Default User Name',
|
'http-no-cache.description': 'Send Cache-Control: no-cache and Pragma: no-cache header to avoid cached content. If false is given, these headers are not sent and you can add Cache-Control header with a directive you like using --header option.',
|
||||||
'options.http-user.description': '',
|
'http-user.name': 'HTTP Default User Name',
|
||||||
'options.http-passwd.name': 'HTTP Default Password',
|
'http-user.description': '',
|
||||||
'options.http-passwd.description': '',
|
'http-passwd.name': 'HTTP Default Password',
|
||||||
'options.http-proxy.name': 'HTTP Proxy Server',
|
'http-passwd.description': '',
|
||||||
'options.http-proxy.description': '',
|
'http-proxy.name': 'HTTP Proxy Server',
|
||||||
'options.http-proxy-user.name': 'HTTP Proxy User Name',
|
'http-proxy.description': '',
|
||||||
'options.http-proxy-user.description': '',
|
'http-proxy-user.name': 'HTTP Proxy User Name',
|
||||||
'options.http-proxy-passwd.name': 'HTTP Proxy Password',
|
'http-proxy-user.description': '',
|
||||||
'options.http-proxy-passwd.description': '',
|
'http-proxy-passwd.name': 'HTTP Proxy Password',
|
||||||
'options.https-proxy.name': 'HTTPS Proxy Server',
|
'http-proxy-passwd.description': '',
|
||||||
'options.https-proxy.description': '',
|
'https-proxy.name': 'HTTPS Proxy Server',
|
||||||
'options.https-proxy-user.name': 'HTTPS Proxy User Name',
|
'https-proxy.description': '',
|
||||||
'options.https-proxy-user.description': '',
|
'https-proxy-user.name': 'HTTPS Proxy User Name',
|
||||||
'options.https-proxy-passwd.name': 'HTTPS Proxy Password',
|
'https-proxy-user.description': '',
|
||||||
'options.https-proxy-passwd.description': '',
|
'https-proxy-passwd.name': 'HTTPS Proxy Password',
|
||||||
'options.referer.name': 'Referer',
|
'https-proxy-passwd.description': '',
|
||||||
'options.referer.description': 'Set an http referrer (Referer). This affects all http/https downloads. If * is given, the download URI is also used as the referrer. This may be useful when used together with the --parameterized-uri option.',
|
'referer.name': 'Referer',
|
||||||
'options.enable-http-keep-alive.name': 'Enable Persistent Connection',
|
'referer.description': 'Set an http referrer (Referer). This affects all http/https downloads. If * is given, the download URI is also used as the referrer. This may be useful when used together with the --parameterized-uri option.',
|
||||||
'options.enable-http-keep-alive.description': 'Enable HTTP/1.1 persistent connection.',
|
'enable-http-keep-alive.name': 'Enable Persistent Connection',
|
||||||
'options.enable-http-pipelining.name': 'Enable HTTP Pipelining',
|
'enable-http-keep-alive.description': 'Enable HTTP/1.1 persistent connection.',
|
||||||
'options.enable-http-pipelining.description': 'Enable HTTP/1.1 pipelining.',
|
'enable-http-pipelining.name': 'Enable HTTP Pipelining',
|
||||||
'options.header.name': 'Custom Header',
|
'enable-http-pipelining.description': 'Enable HTTP/1.1 pipelining.',
|
||||||
'options.header.description': 'Append HEADER to HTTP request header.',
|
'header.name': 'Custom Header',
|
||||||
'options.save-cookies.name': 'Cookies Path',
|
'header.description': 'Append HEADER to HTTP request header.',
|
||||||
'options.save-cookies.description': 'Save Cookies to FILE in Mozilla/Firefox(1.x/2.x)/ Netscape format. If FILE already exists, it is overwritten. Session Cookies are also saved and their expiry values are treated as 0.',
|
'save-cookies.name': 'Cookies Path',
|
||||||
'options.use-head.name': 'Use HEAD Method',
|
'save-cookies.description': 'Save Cookies to FILE in Mozilla/Firefox(1.x/2.x)/ Netscape format. If FILE already exists, it is overwritten. Session Cookies are also saved and their expiry values are treated as 0.',
|
||||||
'options.use-head.description': 'Use HEAD method for the first request to the HTTP server.',
|
'use-head.name': 'Use HEAD Method',
|
||||||
'options.user-agent.name': 'Custom User Agent',
|
'use-head.description': 'Use HEAD method for the first request to the HTTP server.',
|
||||||
'options.user-agent.description': '',
|
'user-agent.name': 'Custom User Agent',
|
||||||
'options.ftp-user.name': 'FTP Default User Name',
|
'user-agent.description': '',
|
||||||
'options.ftp-user.description': '',
|
'ftp-user.name': 'FTP Default User Name',
|
||||||
'options.ftp-passwd.name': 'FTP Default Password',
|
'ftp-user.description': '',
|
||||||
'options.ftp-passwd.description': 'If user name is embedded but password is missing in URI, aria2 tries to resolve password using .netrc. If password is found in .netrc, then use it as password. If not, use the password specified in this option.',
|
'ftp-passwd.name': 'FTP Default Password',
|
||||||
'options.ftp-pasv.name': 'Passive Mode',
|
'ftp-passwd.description': 'If user name is embedded but password is missing in URI, aria2 tries to resolve password using .netrc. If password is found in .netrc, then use it as password. If not, use the password specified in this option.',
|
||||||
'options.ftp-pasv.description': 'Use the passive mode in FTP. If false is given, the active mode will be used. This option is ignored for SFTP transfer.',
|
'ftp-pasv.name': 'Passive Mode',
|
||||||
'options.ftp-proxy.name': 'FTP Proxy Server',
|
'ftp-pasv.description': 'Use the passive mode in FTP. If false is given, the active mode will be used. This option is ignored for SFTP transfer.',
|
||||||
'options.ftp-proxy.description': '',
|
'ftp-proxy.name': 'FTP Proxy Server',
|
||||||
'options.ftp-proxy-user.name': 'FTP Proxy User Name',
|
'ftp-proxy.description': '',
|
||||||
'options.ftp-proxy-user.description': '',
|
'ftp-proxy-user.name': 'FTP Proxy User Name',
|
||||||
'options.ftp-proxy-passwd.name': 'FTP Proxy Password',
|
'ftp-proxy-user.description': '',
|
||||||
'options.ftp-proxy-passwd.description': '',
|
'ftp-proxy-passwd.name': 'FTP Proxy Password',
|
||||||
'options.ftp-type.name': 'Transfer Type',
|
'ftp-proxy-passwd.description': '',
|
||||||
'options.ftp-type.description': '',
|
'ftp-type.name': 'Transfer Type',
|
||||||
'options.ftp-reuse-connection.name': 'Reuse Connection',
|
'ftp-type.description': '',
|
||||||
'options.ftp-reuse-connection.description': '',
|
'ftp-reuse-connection.name': 'Reuse Connection',
|
||||||
'options.ssh-host-key-md.name': 'SSH Public Key Checksum',
|
'ftp-reuse-connection.description': '',
|
||||||
'options.ssh-host-key-md.description': 'Set checksum for SSH host public key. TYPE is hash type. The supported hash type is sha-1 or md5. DIGEST is hex digest. For example: sha-1=b030503d4de4539dc7885e6f0f5e256704edf4c3. This option can be used to validate server\'s public key when SFTP is used. If this option is not set, which is default, no validation takes place.',
|
'ssh-host-key-md.name': 'SSH Public Key Checksum',
|
||||||
'options.bt-detach-seed-only.name': '',
|
'ssh-host-key-md.description': 'Set checksum for SSH host public key. TYPE is hash type. The supported hash type is sha-1 or md5. DIGEST is hex digest. For example: sha-1=b030503d4de4539dc7885e6f0f5e256704edf4c3. This option can be used to validate server\'s public key when SFTP is used. If this option is not set, which is default, no validation takes place.',
|
||||||
'options.bt-detach-seed-only.description': '',
|
'bt-detach-seed-only.name': '',
|
||||||
'options.bt-enable-hook-after-hash-check.name': '',
|
'bt-detach-seed-only.description': '',
|
||||||
'options.bt-enable-hook-after-hash-check.description': '',
|
'bt-enable-hook-after-hash-check.name': '',
|
||||||
'options.bt-enable-lpd.name': '',
|
'bt-enable-hook-after-hash-check.description': '',
|
||||||
'options.bt-enable-lpd.description': '',
|
'bt-enable-lpd.name': '',
|
||||||
'options.bt-exclude-tracker.name': '',
|
'bt-enable-lpd.description': '',
|
||||||
'options.bt-exclude-tracker.description': '',
|
'bt-exclude-tracker.name': '',
|
||||||
'options.bt-external-ip.name': '',
|
'bt-exclude-tracker.description': '',
|
||||||
'options.bt-external-ip.description': '',
|
'bt-external-ip.name': '',
|
||||||
'options.bt-force-encryption.name': '',
|
'bt-external-ip.description': '',
|
||||||
'options.bt-force-encryption.description': '',
|
'bt-force-encryption.name': '',
|
||||||
'options.bt-hash-check-seed.name': '',
|
'bt-force-encryption.description': '',
|
||||||
'options.bt-hash-check-seed.description': '',
|
'bt-hash-check-seed.name': '',
|
||||||
'options.bt-max-open-files.name': '',
|
'bt-hash-check-seed.description': '',
|
||||||
'options.bt-max-open-files.description': '',
|
'bt-max-open-files.name': '',
|
||||||
'options.bt-max-peers.name': '',
|
'bt-max-open-files.description': '',
|
||||||
'options.bt-max-peers.description': '',
|
'bt-max-peers.name': '',
|
||||||
'options.bt-metadata-only.name': '',
|
'bt-max-peers.description': '',
|
||||||
'options.bt-metadata-only.description': '',
|
'bt-metadata-only.name': '',
|
||||||
'options.bt-min-crypto-level.name': '',
|
'bt-metadata-only.description': '',
|
||||||
'options.bt-min-crypto-level.description': '',
|
'bt-min-crypto-level.name': '',
|
||||||
'options.bt-prioritize-piece.name': '',
|
'bt-min-crypto-level.description': '',
|
||||||
'options.bt-prioritize-piece.description': '',
|
'bt-prioritize-piece.name': '',
|
||||||
'options.bt-remove-unselected-file.name': '',
|
'bt-prioritize-piece.description': '',
|
||||||
'options.bt-remove-unselected-file.description': '',
|
'bt-remove-unselected-file.name': '',
|
||||||
'options.bt-require-crypto.name': '',
|
'bt-remove-unselected-file.description': '',
|
||||||
'options.bt-require-crypto.description': '',
|
'bt-require-crypto.name': '',
|
||||||
'options.bt-request-peer-speed-limit.name': '',
|
'bt-require-crypto.description': '',
|
||||||
'options.bt-request-peer-speed-limit.description': '',
|
'bt-request-peer-speed-limit.name': '',
|
||||||
'options.bt-save-metadata.name': '',
|
'bt-request-peer-speed-limit.description': '',
|
||||||
'options.bt-save-metadata.description': '',
|
'bt-save-metadata.name': '',
|
||||||
'options.bt-seed-unverified.name': '',
|
'bt-save-metadata.description': '',
|
||||||
'options.bt-seed-unverified.description': '',
|
'bt-seed-unverified.name': '',
|
||||||
'options.bt-stop-timeout.name': '',
|
'bt-seed-unverified.description': '',
|
||||||
'options.bt-stop-timeout.description': '',
|
'bt-stop-timeout.name': '',
|
||||||
'options.bt-tracker.name': '',
|
'bt-stop-timeout.description': '',
|
||||||
'options.bt-tracker.description': '',
|
'bt-tracker.name': '',
|
||||||
'options.bt-tracker-connect-timeout.name': '',
|
'bt-tracker.description': '',
|
||||||
'options.bt-tracker-connect-timeout.description': '',
|
'bt-tracker-connect-timeout.name': '',
|
||||||
'options.bt-tracker-interval.name': '',
|
'bt-tracker-connect-timeout.description': '',
|
||||||
'options.bt-tracker-interval.description': '',
|
'bt-tracker-interval.name': '',
|
||||||
'options.bt-tracker-timeout.name': '',
|
'bt-tracker-interval.description': '',
|
||||||
'options.bt-tracker-timeout.description': '',
|
'bt-tracker-timeout.name': '',
|
||||||
'options.dht-file-path.name': '',
|
'bt-tracker-timeout.description': '',
|
||||||
'options.dht-file-path.description': '',
|
'dht-file-path.name': '',
|
||||||
'options.dht-file-path6.name': '',
|
'dht-file-path.description': '',
|
||||||
'options.dht-file-path6.description': '',
|
'dht-file-path6.name': '',
|
||||||
'options.dht-listen-port.name': '',
|
'dht-file-path6.description': '',
|
||||||
'options.dht-listen-port.description': '',
|
'dht-listen-port.name': '',
|
||||||
'options.dht-message-timeout.name': '',
|
'dht-listen-port.description': '',
|
||||||
'options.dht-message-timeout.description': '',
|
'dht-message-timeout.name': '',
|
||||||
'options.enable-dht.name': '',
|
'dht-message-timeout.description': '',
|
||||||
'options.enable-dht.description': '',
|
'enable-dht.name': '',
|
||||||
'options.enable-dht6.name': '',
|
'enable-dht.description': '',
|
||||||
'options.enable-dht6.description': '',
|
'enable-dht6.name': '',
|
||||||
'options.enable-peer-exchange.name': '',
|
'enable-dht6.description': '',
|
||||||
'options.enable-peer-exchange.description': '',
|
'enable-peer-exchange.name': '',
|
||||||
'options.follow-torrent.name': '',
|
'enable-peer-exchange.description': '',
|
||||||
'options.follow-torrent.description': '',
|
'follow-torrent.name': '',
|
||||||
'options.listen-port.name': '',
|
'follow-torrent.description': '',
|
||||||
'options.listen-port.description': '',
|
'listen-port.name': '',
|
||||||
'options.max-overall-upload-limit.name': '',
|
'listen-port.description': '',
|
||||||
'options.max-overall-upload-limit.description': '',
|
'max-overall-upload-limit.name': '',
|
||||||
'options.max-upload-limit.name': '',
|
'max-overall-upload-limit.description': '',
|
||||||
'options.max-upload-limit.description': '',
|
'max-upload-limit.name': '',
|
||||||
'options.peer-id-prefix.name': '',
|
'max-upload-limit.description': '',
|
||||||
'options.peer-id-prefix.description': '',
|
'peer-id-prefix.name': '',
|
||||||
'options.seed-ratio.name': '',
|
'peer-id-prefix.description': '',
|
||||||
'options.seed-ratio.description': '',
|
'seed-ratio.name': '',
|
||||||
'options.seed-time.name': '',
|
'seed-ratio.description': '',
|
||||||
'options.seed-time.description': '',
|
'seed-time.name': '',
|
||||||
'options.follow-metalink.name': '',
|
'seed-time.description': '',
|
||||||
'options.follow-metalink.description': '',
|
'follow-metalink.name': '',
|
||||||
'options.metalink-base-uri.name': '',
|
'follow-metalink.description': '',
|
||||||
'options.metalink-base-uri.description': '',
|
'metalink-base-uri.name': '',
|
||||||
'options.metalink-language.name': '',
|
'metalink-base-uri.description': '',
|
||||||
'options.metalink-language.description': '',
|
'metalink-language.name': '',
|
||||||
'options.metalink-location.name': '',
|
'metalink-language.description': '',
|
||||||
'options.metalink-location.description': '',
|
'metalink-location.name': '',
|
||||||
'options.metalink-os.name': '',
|
'metalink-location.description': '',
|
||||||
'options.metalink-os.description': '',
|
'metalink-os.name': '',
|
||||||
'options.metalink-version.name': '',
|
'metalink-os.description': '',
|
||||||
'options.metalink-version.description': '',
|
'metalink-version.name': '',
|
||||||
'options.metalink-preferred-protocol.name': '',
|
'metalink-version.description': '',
|
||||||
'options.metalink-preferred-protocol.description': '',
|
'metalink-preferred-protocol.name': '',
|
||||||
'options.metalink-enable-unique-protocol.name': '',
|
'metalink-preferred-protocol.description': '',
|
||||||
'options.metalink-enable-unique-protocol.description': '',
|
'metalink-enable-unique-protocol.name': '',
|
||||||
'options.enable-rpc.name': 'Enable JSON-RPC/XML-RPC Server',
|
'metalink-enable-unique-protocol.description': '',
|
||||||
'options.enable-rpc.description': '',
|
'enable-rpc.name': 'Enable JSON-RPC/XML-RPC Server',
|
||||||
'options.pause-metadata.name': 'Pause After Metadata Downloaded',
|
'enable-rpc.description': '',
|
||||||
'options.pause-metadata.description': 'Pause downloads created as a result of metadata download. There are 3 types of metadata downloads in aria2: (1) downloading .torrent file. (2) downloading torrent metadata using magnet link. (3) downloading metalink file. These metadata downloads will generate downloads using their metadata. This option pauses these subsequent downloads. This option is effective only when --enable-rpc=true is given.',
|
'pause-metadata.name': 'Pause After Metadata Downloaded',
|
||||||
'options.rpc-allow-origin-all.name': 'Allow All Origin Request',
|
'pause-metadata.description': 'Pause downloads created as a result of metadata download. There are 3 types of metadata downloads in aria2: (1) downloading .torrent file. (2) downloading torrent metadata using magnet link. (3) downloading metalink file. These metadata downloads will generate downloads using their metadata. This option pauses these subsequent downloads. This option is effective only when --enable-rpc=true is given.',
|
||||||
'options.rpc-allow-origin-all.description': 'Add Access-Control-Allow-Origin header field with value * to the RPC response.',
|
'rpc-allow-origin-all.name': 'Allow All Origin Request',
|
||||||
'options.rpc-listen-all.name': 'Listen on All Network Interfaces',
|
'rpc-allow-origin-all.description': 'Add Access-Control-Allow-Origin header field with value * to the RPC response.',
|
||||||
'options.rpc-listen-all.description': 'Listen incoming JSON-RPC/XML-RPC requests on all network interfaces. If false is given, listen only on local loopback interface.',
|
'rpc-listen-all.name': 'Listen on All Network Interfaces',
|
||||||
'options.rpc-listen-port.name': 'Listen Port',
|
'rpc-listen-all.description': 'Listen incoming JSON-RPC/XML-RPC requests on all network interfaces. If false is given, listen only on local loopback interface.',
|
||||||
'options.rpc-listen-port.description': '',
|
'rpc-listen-port.name': 'Listen Port',
|
||||||
'options.rpc-max-request-size.name': 'Max Request Size',
|
'rpc-listen-port.description': '',
|
||||||
'options.rpc-max-request-size.description': 'Set max size of JSON-RPC/XML-RPC request. If aria2 detects the request is more than SIZE bytes, it drops connection.',
|
'rpc-max-request-size.name': 'Max Request Size',
|
||||||
'options.rpc-save-upload-metadata.name': 'Save Upload Metadata',
|
'rpc-max-request-size.description': 'Set max size of JSON-RPC/XML-RPC request. If aria2 detects the request is more than SIZE bytes, it drops connection.',
|
||||||
'options.rpc-save-upload-metadata.description': 'Save the uploaded torrent or metalink meta data in the directory specified by --dir option. The file name consists of SHA-1 hash hex string of meta data plus extension. For torrent, the extension is \'.torrent\'. For metalink, it is \'.meta4\'. If false is given to this option, the downloads added by aria2.addTorrent() or aria2.addMetalink() will not be saved by --save-session option.',
|
'rpc-save-upload-metadata.name': 'Save Upload Metadata',
|
||||||
'options.rpc-secure.name': 'Enable SSL/TLS',
|
'rpc-save-upload-metadata.description': 'Save the uploaded torrent or metalink meta data in the directory specified by --dir option. The file name consists of SHA-1 hash hex string of meta data plus extension. For torrent, the extension is \'.torrent\'. For metalink, it is \'.meta4\'. If false is given to this option, the downloads added by aria2.addTorrent() or aria2.addMetalink() will not be saved by --save-session option.',
|
||||||
'options.rpc-secure.description': 'RPC transport will be encrypted by SSL/TLS. The RPC clients must use https scheme to access the server. For WebSocket client, use wss scheme. Use --rpc-certificate and --rpc-private-key options to specify the server certificate and private key.',
|
'rpc-secure.name': 'Enable SSL/TLS',
|
||||||
'options.allow-overwrite.name': '',
|
'rpc-secure.description': 'RPC transport will be encrypted by SSL/TLS. The RPC clients must use https scheme to access the server. For WebSocket client, use wss scheme. Use --rpc-certificate and --rpc-private-key options to specify the server certificate and private key.',
|
||||||
'options.allow-overwrite.description': '',
|
'allow-overwrite.name': '',
|
||||||
'options.allow-piece-length-change.name': '',
|
'allow-overwrite.description': '',
|
||||||
'options.allow-piece-length-change.description': '',
|
'allow-piece-length-change.name': '',
|
||||||
'options.always-resume.name': '',
|
'allow-piece-length-change.description': '',
|
||||||
'options.always-resume.description': '',
|
'always-resume.name': '',
|
||||||
'options.async-dns.name': '',
|
'always-resume.description': '',
|
||||||
'options.async-dns.description': '',
|
'async-dns.name': '',
|
||||||
'options.auto-file-renaming.name': '',
|
'async-dns.description': '',
|
||||||
'options.auto-file-renaming.description': '',
|
'auto-file-renaming.name': '',
|
||||||
'options.auto-save-interval.name': '',
|
'auto-file-renaming.description': '',
|
||||||
'options.auto-save-interval.description': '',
|
'auto-save-interval.name': '',
|
||||||
'options.conditional-get.name': '',
|
'auto-save-interval.description': '',
|
||||||
'options.conditional-get.description': '',
|
'conditional-get.name': '',
|
||||||
'options.conf-path.name': '',
|
'conditional-get.description': '',
|
||||||
'options.conf-path.description': '',
|
'conf-path.name': '',
|
||||||
'options.console-log-level.name': '',
|
'conf-path.description': '',
|
||||||
'options.console-log-level.description': '',
|
'console-log-level.name': '',
|
||||||
'options.daemon.name': '',
|
'console-log-level.description': '',
|
||||||
'options.daemon.description': '',
|
'daemon.name': '',
|
||||||
'options.deferred-input.name': '',
|
'daemon.description': '',
|
||||||
'options.deferred-input.description': '',
|
'deferred-input.name': '',
|
||||||
'options.disable-ipv6.name': '',
|
'deferred-input.description': '',
|
||||||
'options.disable-ipv6.description': '',
|
'disable-ipv6.name': '',
|
||||||
'options.disk-cache.name': '',
|
'disable-ipv6.description': '',
|
||||||
'options.disk-cache.description': '',
|
'disk-cache.name': '',
|
||||||
'options.download-result.name': '',
|
'disk-cache.description': '',
|
||||||
'options.download-result.description': '',
|
'download-result.name': '',
|
||||||
'options.dscp.name': '',
|
'download-result.description': '',
|
||||||
'options.dscp.description': '',
|
'dscp.name': '',
|
||||||
'options.rlimit-nofile.name': '',
|
'dscp.description': '',
|
||||||
'options.rlimit-nofile.description': '',
|
'rlimit-nofile.name': '',
|
||||||
'options.enable-color.name': '',
|
'rlimit-nofile.description': '',
|
||||||
'options.enable-color.description': '',
|
'enable-color.name': '',
|
||||||
'options.enable-mmap.name': '',
|
'enable-color.description': '',
|
||||||
'options.enable-mmap.description': '',
|
'enable-mmap.name': '',
|
||||||
'options.event-poll.name': '',
|
'enable-mmap.description': '',
|
||||||
'options.event-poll.description': '',
|
'event-poll.name': '',
|
||||||
'options.file-allocation.name': '',
|
'event-poll.description': '',
|
||||||
'options.file-allocation.description': '',
|
'file-allocation.name': '',
|
||||||
'options.force-save.name': '',
|
'file-allocation.description': '',
|
||||||
'options.force-save.description': '',
|
'force-save.name': '',
|
||||||
'options.hash-check-only.name': '',
|
'force-save.description': '',
|
||||||
'options.hash-check-only.description': '',
|
'hash-check-only.name': '',
|
||||||
'options.human-readable.name': '',
|
'hash-check-only.description': '',
|
||||||
'options.human-readable.description': '',
|
'human-readable.name': '',
|
||||||
'options.max-download-result.name': '',
|
'human-readable.description': '',
|
||||||
'options.max-download-result.description': '',
|
'max-download-result.name': '',
|
||||||
'options.max-mmap-limit.name': '',
|
'max-download-result.description': '',
|
||||||
'options.max-mmap-limit.description': '',
|
'max-mmap-limit.name': '',
|
||||||
'options.max-resume-failure-tries.name': '',
|
'max-mmap-limit.description': '',
|
||||||
'options.max-resume-failure-tries.description': '',
|
'max-resume-failure-tries.name': '',
|
||||||
'options.min-tls-version.name': '',
|
'max-resume-failure-tries.description': '',
|
||||||
'options.min-tls-version.description': '',
|
'min-tls-version.name': '',
|
||||||
'options.log-level.name': '',
|
'min-tls-version.description': '',
|
||||||
'options.log-level.description': '',
|
'log-level.name': '',
|
||||||
'options.piece-length.name': '',
|
'log-level.description': '',
|
||||||
'options.piece-length.description': '',
|
'piece-length.name': '',
|
||||||
'options.optimize-concurrent-downloads.name': '',
|
'piece-length.description': '',
|
||||||
'options.optimize-concurrent-downloads.description': '',
|
'optimize-concurrent-downloads.name': '',
|
||||||
'options.show-console-readout.name': '',
|
'optimize-concurrent-downloads.description': '',
|
||||||
'options.show-console-readout.description': '',
|
'show-console-readout.name': '',
|
||||||
'options.summary-interval.name': '',
|
'show-console-readout.description': '',
|
||||||
'options.summary-interval.description': '',
|
'summary-interval.name': '',
|
||||||
'options.max-overall-download-limit.name': '',
|
'summary-interval.description': '',
|
||||||
'options.max-overall-download-limit.description': '',
|
'max-overall-download-limit.name': '',
|
||||||
'options.max-download-limit.name': '',
|
'max-overall-download-limit.description': '',
|
||||||
'options.max-download-limit.description': '',
|
'max-download-limit.name': '',
|
||||||
'options.no-conf.name': '',
|
'max-download-limit.description': '',
|
||||||
'options.no-conf.description': '',
|
'no-conf.name': '',
|
||||||
'options.no-file-allocation-limit.name': '',
|
'no-conf.description': '',
|
||||||
'options.no-file-allocation-limit.description': '',
|
'no-file-allocation-limit.name': '',
|
||||||
'options.parameterized-uri.name': '',
|
'no-file-allocation-limit.description': '',
|
||||||
'options.parameterized-uri.description': '',
|
'parameterized-uri.name': '',
|
||||||
'options.quiet.name': '',
|
'parameterized-uri.description': '',
|
||||||
'options.quiet.description': '',
|
'quiet.name': '',
|
||||||
'options.realtime-chunk-checksum.name': '',
|
'quiet.description': '',
|
||||||
'options.realtime-chunk-checksum.description': '',
|
'realtime-chunk-checksum.name': '',
|
||||||
'options.remove-control-file.name': '',
|
'realtime-chunk-checksum.description': '',
|
||||||
'options.remove-control-file.description': '',
|
'remove-control-file.name': '',
|
||||||
'options.save-session.name': '',
|
'remove-control-file.description': '',
|
||||||
'options.save-session.description': '',
|
'save-session.name': '',
|
||||||
'options.save-session-interval.name': '',
|
'save-session.description': '',
|
||||||
'options.save-session-interval.description': '',
|
'save-session-interval.name': '',
|
||||||
'options.socket-recv-buffer-size.name': '',
|
'save-session-interval.description': '',
|
||||||
'options.socket-recv-buffer-size.description': '',
|
'socket-recv-buffer-size.name': '',
|
||||||
'options.stop.name': '',
|
'socket-recv-buffer-size.description': '',
|
||||||
'options.stop.description': '',
|
'stop.name': '',
|
||||||
'options.truncate-console-readout.name': '',
|
'stop.description': '',
|
||||||
'options.truncate-console-readout.description': ''
|
'truncate-console-readout.name': '',
|
||||||
|
'truncate-console-readout.description': ''
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}])
|
}])
|
||||||
})();
|
})();
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
(function () {
|
(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('ariaNg').factory('utils', ['$location', '$timeout', '$base64', 'SweetAlert', 'translateFilter', 'ariaNgConstants', 'aria2AllOptions', function ($location, $timeout, $base64, SweetAlert, translateFilter, ariaNgConstants, aria2AllOptions) {
|
angular.module('ariaNg').factory('utils', ['$location', '$timeout', '$base64', 'SweetAlert', '$translate', 'ariaNgConstants', 'aria2AllOptions', function ($location, $timeout, $base64, SweetAlert, $translate, ariaNgConstants, aria2AllOptions) {
|
||||||
var calculateDownloadRemainTime = function (remainBytes, downloadSpeed) {
|
var calculateDownloadRemainTime = function (remainBytes, downloadSpeed) {
|
||||||
if (downloadSpeed == 0) {
|
if (downloadSpeed == 0) {
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -20,10 +20,10 @@
|
||||||
alert: function (text) {
|
alert: function (text) {
|
||||||
$timeout(function () {
|
$timeout(function () {
|
||||||
SweetAlert.swal({
|
SweetAlert.swal({
|
||||||
title: translateFilter('Error'),
|
title: $translate.instant('Error'),
|
||||||
text: translateFilter(text),
|
text: $translate.instant(text),
|
||||||
type: 'error',
|
type: 'error',
|
||||||
confirmButtonText: translateFilter('OK')
|
confirmButtonText: $translate.instant('OK')
|
||||||
});
|
});
|
||||||
}, 100);
|
}, 100);
|
||||||
},
|
},
|
||||||
|
@ -136,7 +136,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!taskName) {
|
if (!taskName) {
|
||||||
taskName = translateFilter('Unknown');
|
taskName = $translate.instant('Unknown');
|
||||||
}
|
}
|
||||||
|
|
||||||
return taskName;
|
return taskName;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
(function () {
|
(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module("ariaNg").filter('taskStatus', ['translateFilter', function (translateFilter) {
|
angular.module("ariaNg").filter('taskStatus', ['$translate', function ($translate) {
|
||||||
return function (task) {
|
return function (task) {
|
||||||
if (!task) {
|
if (!task) {
|
||||||
return '';
|
return '';
|
||||||
|
@ -9,20 +9,20 @@
|
||||||
|
|
||||||
if (task.status == 'active') {
|
if (task.status == 'active') {
|
||||||
if (task.seeder === true || task.seeder === 'true') {
|
if (task.seeder === true || task.seeder === 'true') {
|
||||||
return translateFilter('Seeding');
|
return $translate.instant('Seeding');
|
||||||
} else {
|
} else {
|
||||||
return translateFilter('Downloading');
|
return $translate.instant('Downloading');
|
||||||
}
|
}
|
||||||
} else if (task.status == 'waiting') {
|
} else if (task.status == 'waiting') {
|
||||||
return translateFilter('Waiting');
|
return $translate.instant('Waiting');
|
||||||
} else if (task.status == 'paused') {
|
} else if (task.status == 'paused') {
|
||||||
return translateFilter('Paused');
|
return $translate.instant('Paused');
|
||||||
} else if (task.status == 'complete') {
|
} else if (task.status == 'complete') {
|
||||||
return translateFilter('Completed');
|
return $translate.instant('Completed');
|
||||||
} else if (task.status == 'error') {
|
} else if (task.status == 'error') {
|
||||||
return translateFilter('Error Occurred') + (task.errorCode ? ' (' + task.errorCode + ')' : '');
|
return $translate.instant('Error Occurred') + (task.errorCode ? ' (' + task.errorCode + ')' : '');
|
||||||
} else if (task.status == 'removed') {
|
} else if (task.status == 'removed') {
|
||||||
return translateFilter('Removed');
|
return $translate.instant('Removed');
|
||||||
} else {
|
} else {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue