From 12b79dae5fcb25db15cfc41df9e5ef61adba12a3 Mon Sep 17 00:00:00 2001 From: yzqzss Date: Tue, 8 Oct 2024 14:59:22 +0800 Subject: [PATCH] i18n: prepare strings --- biliarchiver/locales/biliarchiver.pot | 391 +++++++++++++------------- 1 file changed, 203 insertions(+), 188 deletions(-) diff --git a/biliarchiver/locales/biliarchiver.pot b/biliarchiver/locales/biliarchiver.pot index bdf5147..a197411 100644 --- a/biliarchiver/locales/biliarchiver.pot +++ b/biliarchiver/locales/biliarchiver.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-17 03:33+0800\n" +"POT-Creation-Date: 2024-10-08 14:57+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,130 +18,36 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" -#: biliarchiver/archive_bvid.py:46 -msgid "未找到字幕信息" -msgstr "" - -#: biliarchiver/archive_bvid.py:87 -msgid "hierarchy 必须为 True" -msgstr "" - -#: biliarchiver/archive_bvid.py:89 -msgid "sess_data 不能为空" -msgstr "" - -#: biliarchiver/archive_bvid.py:91 -msgid "请先检查 SESSDATA 是否过期,再将 logined 设置为 True" -msgstr "" - -#: biliarchiver/archive_bvid.py:99 -msgid "{} 所有分p都已下载过了" -msgstr "" - -#: biliarchiver/archive_bvid.py:107 -msgid "{} 获取 video_info 失败,原因:{}" -msgstr "" - -#: biliarchiver/archive_bvid.py:117 -msgid "" -"{} 的 P{} 不存在 (可能视频被 UP 主 / B 站删了),请报告此问题,我们需要这个样" -"本!" -msgstr "" - -#: biliarchiver/archive_bvid.py:128 -msgid "{}: 已经下载过了" -msgstr "" - -#: biliarchiver/archive_bvid.py:137 -msgid "{}: {},删除缓存: {}" -msgstr "" - -#: biliarchiver/archive_bvid.py:140 -msgid "为防出错,清空上次未完成的下载缓存" -msgstr "" - -#: biliarchiver/archive_bvid.py:175 -msgid "没有 dvh、avc 或 hevc 编码的视频" -msgstr "" - -#: biliarchiver/archive_bvid.py:178 -msgid "未解析到 dash 资源,交给 bilix 处理 ..." -msgstr "" - -#: biliarchiver/archive_bvid.py:182 -msgid "未解析到视频资源" -msgstr "" - -#: biliarchiver/archive_bvid.py:215 -msgid "出错,其他任务完成后将抛出异常..." -msgstr "" - -#: biliarchiver/archive_bvid.py:226 -msgid "下载出错" -msgstr "" - -#: biliarchiver/archive_bvid.py:231 -msgid "{}: 视频文件没有被下载?也许是 hevc 对应的 dash 资源不存在,尝试 avc ……" -msgstr "" - -#: biliarchiver/archive_bvid.py:278 -msgid "{} 的视频详情已存在" -msgstr "" - -#: biliarchiver/archive_bvid.py:286 -msgid "{} 的视频详情获取失败" -msgstr "" - -#: biliarchiver/archive_bvid.py:291 -msgid "{} 的视频详情已保存" -msgstr "" - -#: biliarchiver/archive_bvid.py:302 biliarchiver/archive_bvid.py:321 -msgid "{} 的视频回复获取失败" -msgstr "" - -#: biliarchiver/archive_bvid.py:307 -msgid "{} 的视频回复已存在" -msgstr "" - -#: biliarchiver/archive_bvid.py:326 -msgid "{} 的视频评论已保存" -msgstr "" - -#: biliarchiver/cli_tools/biliarchiver.py:50 -msgid "初始化所需目录" +#: biliarchiver/cli_tools/conf_command.py:5 +msgid "将传入参数写入配置文件" msgstr "" -#: biliarchiver/cli_tools/biliarchiver.py:75 -msgid "配置账号信息" +#: biliarchiver/cli_tools/conf_command.py:6 +msgid "视频下载并发数" msgstr "" -#: biliarchiver/cli_tools/biliarchiver.py:78 -msgid "" -"登录后将哔哩哔哩的 cookies 复制到 `config.json` 指定的文件(默认为 `~/." -"cookies.txt`)中。" +#: biliarchiver/cli_tools/conf_command.py:7 +msgid "分P下载并发数" msgstr "" -#: biliarchiver/cli_tools/biliarchiver.py:81 -msgid "前往 https://archive.org/account/s3.php 获取 Access Key 和 Secret Key。" +#: biliarchiver/cli_tools/conf_command.py:8 +msgid "流下载重试次数" msgstr "" -#: biliarchiver/cli_tools/biliarchiver.py:82 -msgid "" -"将它们放在 `config.json` 指定的文件(默认为 `~/.bili_ia_keys.txt`)中,两者由" -"换行符分隔。" +#: biliarchiver/cli_tools/conf_command.py:9 +msgid "存储目录" msgstr "" -#: biliarchiver/cli_tools/biliarchiver.py:84 -msgid "这只是一个提示信息,需要你手动操作。" +#: biliarchiver/cli_tools/conf_command.py:10 +msgid "IA key文件" msgstr "" -#: biliarchiver/cli_tools/biliarchiver.py:87 -msgid "查看目录下视频信息" +#: biliarchiver/cli_tools/conf_command.py:11 +msgid "cookies文件" msgstr "" -#: biliarchiver/cli_tools/biliarchiver.py:104 -msgid "运行 API" +#: biliarchiver/cli_tools/conf_command.py:20 +msgid "配置文件写入成功" msgstr "" #: biliarchiver/cli_tools/bili_archive_bvids.py:73 @@ -170,7 +76,7 @@ msgid "从 {} 品尝了 {} 块 cookies" msgstr "" #: biliarchiver/cli_tools/bili_archive_bvids.py:193 -#: biliarchiver/cli_tools/get_command.py:103 +#: biliarchiver/cli_tools/get_command.py:139 msgid "cookies 文件不存在: {}" msgstr "" @@ -202,36 +108,40 @@ msgstr "" msgid "已废弃直接运行此命令,请改用 biliarchiver 命令" msgstr "" -#: biliarchiver/cli_tools/conf_command.py:5 -msgid "将传入参数写入配置文件" +#: biliarchiver/cli_tools/biliarchiver.py:50 +msgid "初始化所需目录" msgstr "" -#: biliarchiver/cli_tools/conf_command.py:6 -msgid "视频下载并发数" +#: biliarchiver/cli_tools/biliarchiver.py:74 +msgid "配置账号信息" msgstr "" -#: biliarchiver/cli_tools/conf_command.py:7 -msgid "分P下载并发数" +#: biliarchiver/cli_tools/biliarchiver.py:77 +msgid "" +"登录后将哔哩哔哩的 cookies 复制到 `config.json` 指定的文件(默认为 `~/." +"cookies.txt`)中。" msgstr "" -#: biliarchiver/cli_tools/conf_command.py:8 -msgid "流下载重试次数" +#: biliarchiver/cli_tools/biliarchiver.py:80 +msgid "前往 https://archive.org/account/s3.php 获取 Access Key 和 Secret Key。" msgstr "" -#: biliarchiver/cli_tools/conf_command.py:9 -msgid "存储目录" +#: biliarchiver/cli_tools/biliarchiver.py:81 +msgid "" +"将它们放在 `config.json` 指定的文件(默认为 `~/.bili_ia_keys.txt`)中,两者由" +"换行符分隔。" msgstr "" -#: biliarchiver/cli_tools/conf_command.py:10 -msgid "IA key文件" +#: biliarchiver/cli_tools/biliarchiver.py:83 +msgid "这只是一个提示信息,需要你手动操作。" msgstr "" -#: biliarchiver/cli_tools/conf_command.py:11 -msgid "cookies文件" +#: biliarchiver/cli_tools/biliarchiver.py:86 +msgid "查看目录下视频信息" msgstr "" -#: biliarchiver/cli_tools/conf_command.py:20 -msgid "配置文件写入成功" +#: biliarchiver/cli_tools/biliarchiver.py:103 +msgid "运行 API" msgstr "" #: biliarchiver/cli_tools/down_command.py:6 @@ -262,195 +172,300 @@ msgstr "" msgid "禁用 biliarchiver 的 pypi 版本检查" msgstr "" -#: biliarchiver/cli_tools/get_command.py:25 +#: biliarchiver/cli_tools/up_command.py:28 +msgid "上传至互联网档案馆" +msgstr "" + +#: biliarchiver/cli_tools/up_command.py:29 +msgid "bvids 列表的文件路径" +msgstr "" + +#: biliarchiver/cli_tools/up_command.py:35 +msgid "使用 `$storage_home_dir/videos` 目录下的所有视频" +msgstr "" + +#: biliarchiver/cli_tools/up_command.py:38 +msgid "更新已存在的 item" +msgstr "" + +#: biliarchiver/cli_tools/up_command.py:51 +msgid "欲上传至的 collection. (非默认值仅限 collection 管理员使用)" +msgstr "" + +#: biliarchiver/cli_tools/up_command.py:59 +msgid "上传后删除视频文件" +msgstr "" + +#: biliarchiver/cli_tools/get_command.py:29 #, python-brace-format msgid "正在获取 {sid} 的视频列表……" msgstr "" -#: biliarchiver/cli_tools/get_command.py:37 +#: biliarchiver/cli_tools/get_command.py:41 +#: biliarchiver/cli_tools/get_command.py:73 msgid "已获取 {}({})的一个视频" msgid_plural "已获取 {}({})的 {count} 个视频" msgstr[0] "" msgstr[1] "" -#: biliarchiver/cli_tools/get_command.py:42 +#: biliarchiver/cli_tools/get_command.py:46 +#: biliarchiver/cli_tools/get_command.py:78 msgid "存储到 {}" msgstr "" -#: biliarchiver/cli_tools/get_command.py:74 -#: biliarchiver/cli_tools/get_command.py:141 -#: biliarchiver/cli_tools/get_command.py:165 -#: biliarchiver/cli_tools/get_command.py:189 -#: biliarchiver/cli_tools/get_command.py:261 +#: biliarchiver/cli_tools/get_command.py:61 +#, python-brace-format +msgid "正在获取 {sid} 的视频合集……" +msgstr "" + +#: biliarchiver/cli_tools/get_command.py:110 +#: biliarchiver/cli_tools/get_command.py:187 +#: biliarchiver/cli_tools/get_command.py:211 +#: biliarchiver/cli_tools/get_command.py:235 +#: biliarchiver/cli_tools/get_command.py:312 msgid "已保存一个 bvid 到 {}" msgid_plural "已保存 {count} 个 bvid 到 {}" msgstr[0] "" msgstr[1] "" -#: biliarchiver/cli_tools/get_command.py:92 +#: biliarchiver/cli_tools/get_command.py:128 msgid "mid 应是数字字符串" msgstr "" -#: biliarchiver/cli_tools/get_command.py:111 +#: biliarchiver/cli_tools/get_command.py:147 msgid "获取第 {} 页..." msgid_plural "获取第 {} 页..." msgstr[0] "" msgstr[1] "" -#: biliarchiver/cli_tools/get_command.py:118 +#: biliarchiver/cli_tools/get_command.py:154 msgid "{} {} 共 {} 个视频." msgid_plural "{} {} 共 {} 个视频." msgstr[0] "" msgstr[1] "" -#: biliarchiver/cli_tools/get_command.py:122 +#: biliarchiver/cli_tools/get_command.py:158 msgid "" "(如果最新的视频为合作视频的非主作者,UP 名可能会识别错误,但不影响获取 bvid " "列表)" msgstr "" -#: biliarchiver/cli_tools/get_command.py:125 +#: biliarchiver/cli_tools/get_command.py:163 msgid "获取第 {} 页" msgid_plural "获取第 {} 页" msgstr[0] "" msgstr[1] "" -#: biliarchiver/cli_tools/get_command.py:132 +#: biliarchiver/cli_tools/get_command.py:176 msgid "有重复的 bv_id" msgstr "" -#: biliarchiver/cli_tools/get_command.py:237 +#: biliarchiver/cli_tools/get_command.py:178 +msgid "视频总数不匹配" +msgstr "" + +#: biliarchiver/cli_tools/get_command.py:283 msgid "还剩 ~{} 页" msgid_plural "还剩 ~{} 页" msgstr[0] "" msgstr[1] "" -#: biliarchiver/cli_tools/get_command.py:246 +#: biliarchiver/cli_tools/get_command.py:297 msgid "有重复的 bvid" msgstr "" -#: biliarchiver/cli_tools/get_command.py:249 +#: biliarchiver/cli_tools/get_command.py:300 msgid "{} 个有效视频,{} 个失效视频" msgid_plural "{} 个有效视频,{} 个失效视频" msgstr[0] "" msgstr[1] "" -#: biliarchiver/cli_tools/get_command.py:315 +#: biliarchiver/cli_tools/get_command.py:371 msgid "批量获取 BV 号" msgstr "" -#: biliarchiver/cli_tools/get_command.py:316 +#: biliarchiver/cli_tools/get_command.py:372 msgid "" "请通过 flag 指定至少一种批量获取 BV 号的方式。多个不同组的 flag 同时使用时," "将会先后通过不同方式获取。" msgstr "" -#: biliarchiver/cli_tools/get_command.py:318 -msgid "合集" +#: biliarchiver/cli_tools/get_command.py:374 +msgid "合集或视频列表" +msgstr "" + +#: biliarchiver/cli_tools/get_command.py:378 +msgid "视频列表内视频" msgstr "" -#: biliarchiver/cli_tools/get_command.py:322 -msgid "合集或视频列表内视频" +#: biliarchiver/cli_tools/get_command.py:384 +msgid "合集内视频" msgstr "" -#: biliarchiver/cli_tools/get_command.py:325 +#: biliarchiver/cli_tools/get_command.py:387 msgid "排行榜" msgstr "" -#: biliarchiver/cli_tools/get_command.py:329 +#: biliarchiver/cli_tools/get_command.py:391 msgid "排行榜(全站榜,非个性推荐榜)" msgstr "" -#: biliarchiver/cli_tools/get_command.py:337 +#: biliarchiver/cli_tools/get_command.py:399 msgid "目标排行 rid,0 为全站排行榜。rid 等于分区的 tid" msgstr "" -#: biliarchiver/cli_tools/get_command.py:340 +#: biliarchiver/cli_tools/get_command.py:402 msgid "UP 主" msgstr "" -#: biliarchiver/cli_tools/get_command.py:344 +#: biliarchiver/cli_tools/get_command.py:406 msgid "UP 主用户页投稿" msgstr "" -#: biliarchiver/cli_tools/get_command.py:347 +#: biliarchiver/cli_tools/get_command.py:409 msgid "入站必刷" msgstr "" -#: biliarchiver/cli_tools/get_command.py:350 +#: biliarchiver/cli_tools/get_command.py:412 msgid "入站必刷,更新频率低" msgstr "" -#: biliarchiver/cli_tools/get_command.py:353 +#: biliarchiver/cli_tools/get_command.py:415 msgid "每周必看" msgstr "" -#: biliarchiver/cli_tools/get_command.py:357 +#: biliarchiver/cli_tools/get_command.py:419 msgid "每周必看,每周五晚 18:00 更新" msgstr "" -#: biliarchiver/cli_tools/get_command.py:365 +#: biliarchiver/cli_tools/get_command.py:427 msgid "获取第几期(周)" msgstr "" -#: biliarchiver/cli_tools/get_command.py:369 +#: biliarchiver/cli_tools/get_command.py:431 msgid "自动获取全部的每周必看(增量)" msgstr "" -#: biliarchiver/cli_tools/get_command.py:372 +#: biliarchiver/cli_tools/get_command.py:434 msgid "收藏夹" msgstr "" -#: biliarchiver/cli_tools/get_command.py:376 +#: biliarchiver/cli_tools/get_command.py:438 msgid "用户收藏夹" msgstr "" -#: biliarchiver/cli_tools/get_command.py:388 +#: biliarchiver/cli_tools/get_command.py:451 msgid "ERROR: 请指定至少一种获取方式。" msgstr "" -#: biliarchiver/cli_tools/up_command.py:28 -msgid "上传至互联网档案馆" +#: biliarchiver/cli_tools/utils.py:23 +msgid "bvid {} 不合法" msgstr "" -#: biliarchiver/cli_tools/up_command.py:29 -msgid "bvids 列表的文件路径" +#: biliarchiver/cli_tools/utils.py:25 +msgid "bvids 为空" msgstr "" -#: biliarchiver/cli_tools/up_command.py:35 -msgid "使用 `$storage_home_dir/videos` 目录下的所有视频" +#: biliarchiver/config.py:33 +msgid "{} 不存在,创建中..." msgstr "" -#: biliarchiver/cli_tools/up_command.py:38 -msgid "更新已存在的 item" +#: biliarchiver/exception.py:25 +msgid "请更新 biliarchiver。当前版本已过期:" msgstr "" -#: biliarchiver/cli_tools/up_command.py:51 -msgid "欲上传至的 collection. (非默认值仅限 collection 管理员使用)" +#: biliarchiver/exception.py:33 +msgid "先在当前工作目录运行 `biliarchiver init` 以初始化配置" msgstr "" -#: biliarchiver/cli_tools/up_command.py:59 -msgid "上传后删除视频文件" +#: biliarchiver/archive_bvid.py:46 +msgid "未找到字幕信息" msgstr "" -#: biliarchiver/cli_tools/utils.py:19 -msgid "bvid {} 不合法" +#: biliarchiver/archive_bvid.py:87 +msgid "hierarchy 必须为 True" msgstr "" -#: biliarchiver/cli_tools/utils.py:21 -msgid "bvids 为空" +#: biliarchiver/archive_bvid.py:89 +msgid "sess_data 不能为空" msgstr "" -#: biliarchiver/config.py:33 -msgid "{} 不存在,创建中..." +#: biliarchiver/archive_bvid.py:91 +msgid "请先检查 SESSDATA 是否过期,再将 logined 设置为 True" msgstr "" -#: biliarchiver/exception.py:25 -msgid "请更新 biliarchiver。当前版本已过期:" +#: biliarchiver/archive_bvid.py:99 +msgid "{} 所有分p都已下载过了" msgstr "" -#: biliarchiver/exception.py:33 -msgid "先在当前工作目录运行 `biliarchiver init` 以初始化配置" +#: biliarchiver/archive_bvid.py:107 +msgid "{} 获取 video_info 失败,原因:{}" +msgstr "" + +#: biliarchiver/archive_bvid.py:117 +msgid "" +"{} 的 P{} 不存在 (可能视频被 UP 主 / B 站删了),请报告此问题,我们需要这个样" +"本!" +msgstr "" + +#: biliarchiver/archive_bvid.py:128 +msgid "{}: 已经下载过了" +msgstr "" + +#: biliarchiver/archive_bvid.py:137 +msgid "{}: {},删除缓存: {}" +msgstr "" + +#: biliarchiver/archive_bvid.py:140 +msgid "为防出错,清空上次未完成的下载缓存" +msgstr "" + +#: biliarchiver/archive_bvid.py:175 +msgid "没有 dvh、avc 或 hevc 编码的视频" +msgstr "" + +#: biliarchiver/archive_bvid.py:178 +msgid "未解析到 dash 资源,交给 bilix 处理 ..." +msgstr "" + +#: biliarchiver/archive_bvid.py:182 +msgid "未解析到视频资源" +msgstr "" + +#: biliarchiver/archive_bvid.py:215 +msgid "出错,其他任务完成后将抛出异常..." +msgstr "" + +#: biliarchiver/archive_bvid.py:226 +msgid "下载出错" +msgstr "" + +#: biliarchiver/archive_bvid.py:231 +msgid "{}: 视频文件没有被下载?也许是 hevc 对应的 dash 资源不存在,尝试 avc ……" +msgstr "" + +#: biliarchiver/archive_bvid.py:278 +msgid "{} 的视频详情已存在" +msgstr "" + +#: biliarchiver/archive_bvid.py:286 +msgid "{} 的视频详情获取失败" +msgstr "" + +#: biliarchiver/archive_bvid.py:291 +msgid "{} 的视频详情已保存" +msgstr "" + +#: biliarchiver/archive_bvid.py:302 biliarchiver/archive_bvid.py:321 +msgid "{} 的视频回复获取失败" +msgstr "" + +#: biliarchiver/archive_bvid.py:307 +msgid "{} 的视频回复已存在" +msgstr "" + +#: biliarchiver/archive_bvid.py:326 +msgid "{} 的视频评论已保存" msgstr "" #: biliarchiver/_biliarchiver_upload_bvid.py:45 @@ -487,6 +502,6 @@ msgstr "" msgid "没有下载完成" msgstr "" -#: biliarchiver/_biliarchiver_upload_bvid.py:297 +#: biliarchiver/_biliarchiver_upload_bvid.py:311 msgid "已删除视频文件夹 {}" msgstr ""