Skip to content

Commit

Permalink
i18n: update
Browse files Browse the repository at this point in the history
  • Loading branch information
yzqzss committed Dec 12, 2024
1 parent de0edea commit c1eef42
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 65 deletions.
58 changes: 29 additions & 29 deletions biliarchiver/locales/biliarchiver.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-03 10:14+0800\n"
"POT-Creation-Date: 2024-12-13 00:33+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -118,8 +118,8 @@ msgstr ""

#: biliarchiver/cli_tools/biliarchiver.py:77
msgid ""
"登录后将哔哩哔哩的 cookies 复制到 `config.json` 指定的文件(默认为 `~/."
"cookies.txt`)中。"
"登录后将哔哩哔哩的 cookies 复制到 `config.json` 指定的文件(默认为 "
"`~/.cookies.txt`)中。"
msgstr ""

#: biliarchiver/cli_tools/biliarchiver.py:80
Expand Down Expand Up @@ -378,93 +378,93 @@ msgstr ""
msgid "先在当前工作目录运行 `biliarchiver init` 以初始化配置"
msgstr ""

#: biliarchiver/archive_bvid.py:46
#: biliarchiver/archive_bvid.py:51
msgid "未找到字幕信息"
msgstr ""

#: biliarchiver/archive_bvid.py:87
#: biliarchiver/archive_bvid.py:97
msgid "hierarchy 必须为 True"
msgstr ""

#: biliarchiver/archive_bvid.py:89
#: biliarchiver/archive_bvid.py:99
msgid "sess_data 不能为空"
msgstr ""

#: biliarchiver/archive_bvid.py:91
#: biliarchiver/archive_bvid.py:101
msgid "请先检查 SESSDATA 是否过期,再将 logined 设置为 True"
msgstr ""

#: biliarchiver/archive_bvid.py:99
#: biliarchiver/archive_bvid.py:109
msgid "{} 所有分p都已下载过了"
msgstr ""

#: biliarchiver/archive_bvid.py:107
#: biliarchiver/archive_bvid.py:117
msgid "{} 获取 video_info 失败,原因:{}"
msgstr ""

#: biliarchiver/archive_bvid.py:117
#: biliarchiver/archive_bvid.py:127
msgid ""
"{} 的 P{} 不存在 (可能视频被 UP 主 / B 站删了),请报告此问题,我们需要这个样"
"本!"
msgstr ""

#: biliarchiver/archive_bvid.py:128
#: biliarchiver/archive_bvid.py:138
msgid "{}: 已经下载过了"
msgstr ""

#: biliarchiver/archive_bvid.py:137
#: biliarchiver/archive_bvid.py:147
msgid "{}: {},删除缓存: {}"
msgstr ""

#: biliarchiver/archive_bvid.py:140
#: biliarchiver/archive_bvid.py:150
msgid "为防出错,清空上次未完成的下载缓存"
msgstr ""

#: biliarchiver/archive_bvid.py:175
#: biliarchiver/archive_bvid.py:185
msgid "没有 dvh、avc 或 hevc 编码的视频"
msgstr ""

#: biliarchiver/archive_bvid.py:178
#: biliarchiver/archive_bvid.py:188
msgid "未解析到 dash 资源,交给 bilix 处理 ..."
msgstr ""

#: biliarchiver/archive_bvid.py:182
#: biliarchiver/archive_bvid.py:192
msgid "未解析到视频资源"
msgstr ""

#: biliarchiver/archive_bvid.py:215
#: biliarchiver/archive_bvid.py:225
msgid "出错,其他任务完成后将抛出异常..."
msgstr ""

#: biliarchiver/archive_bvid.py:226
#: biliarchiver/archive_bvid.py:236
msgid "下载出错"
msgstr ""

#: biliarchiver/archive_bvid.py:231
#: biliarchiver/archive_bvid.py:241
msgid "{}: 视频文件没有被下载?也许是 hevc 对应的 dash 资源不存在,尝试 avc ……"
msgstr ""

#: biliarchiver/archive_bvid.py:278
#: biliarchiver/archive_bvid.py:288
msgid "{} 的视频详情已存在"
msgstr ""

#: biliarchiver/archive_bvid.py:286
#: biliarchiver/archive_bvid.py:296
msgid "{} 的视频详情获取失败"
msgstr ""

#: biliarchiver/archive_bvid.py:291
#: biliarchiver/archive_bvid.py:301
msgid "{} 的视频详情已保存"
msgstr ""

#: biliarchiver/archive_bvid.py:302 biliarchiver/archive_bvid.py:321
#: biliarchiver/archive_bvid.py:312 biliarchiver/archive_bvid.py:331
msgid "{} 的视频回复获取失败"
msgstr ""

#: biliarchiver/archive_bvid.py:307
#: biliarchiver/archive_bvid.py:317
msgid "{} 的视频回复已存在"
msgstr ""

#: biliarchiver/archive_bvid.py:326
#: biliarchiver/archive_bvid.py:336
msgid "{} 的视频评论已保存"
msgstr ""

Expand Down Expand Up @@ -514,18 +514,18 @@ msgstr ""
msgid "不是你上传的,跳过"
msgstr ""

#: biliarchiver/_biliarchiver_upload_bvid.py:115
#: biliarchiver/_biliarchiver_upload_bvid.py:116
msgid "已经上传过了,跳过"
msgstr ""

#: biliarchiver/_biliarchiver_upload_bvid.py:309
#: biliarchiver/_biliarchiver_upload_bvid.py:305
msgid "{} 不是你上传的,跳过 (item.metadata.creator)"
msgstr ""

#: biliarchiver/_biliarchiver_upload_bvid.py:350
#: biliarchiver/_biliarchiver_upload_bvid.py:341
msgid "上传完成"
msgstr ""

#: biliarchiver/_biliarchiver_upload_bvid.py:358
#: biliarchiver/_biliarchiver_upload_bvid.py:349
msgid "已删除视频文件夹 {}"
msgstr ""
72 changes: 36 additions & 36 deletions biliarchiver/locales/en/LC_MESSAGES/biliarchiver.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-03 10:09+0800\n"
"POT-Creation-Date: 2024-12-13 00:33+0800\n"
"PO-Revision-Date: 2024-10-08 07:23+0000\n"
"Last-Translator: yzqzss <[email protected]>\n"
"Language-Team: English <https://toolate.othing.xyz/projects/biliarchiver/"
Expand Down Expand Up @@ -123,11 +123,11 @@ msgstr "Configure account information"

#: biliarchiver/cli_tools/biliarchiver.py:77
msgid ""
"登录后将哔哩哔哩的 cookies 复制到 `config.json` 指定的文件(默认为 `~/."
"cookies.txt`)中。"
"登录后将哔哩哔哩的 cookies 复制到 `config.json` 指定的文件(默认为 "
"`~/.cookies.txt`)中。"
msgstr ""
"After logging in, copy the Bilibili cookies to the file specified by `config."
"json` (default is `~/.cookies.txt`)."
"After logging in, copy the Bilibili cookies to the file specified by "
"`config.json` (default is `~/.cookies.txt`)."

#: biliarchiver/cli_tools/biliarchiver.py:80
msgid "前往 https://archive.org/account/s3.php 获取 Access Key 和 Secret Key。"
Expand All @@ -140,8 +140,8 @@ msgid ""
"将它们放在 `config.json` 指定的文件(默认为 `~/.bili_ia_keys.txt`)中,两者由"
"换行符分隔。"
msgstr ""
"Place them in the file specified by `config.json` (default is `~/."
"bili_ia_keys.txt`), separated by a newline."
"Place them in the file specified by `config.json` (default is "
"`~/.bili_ia_keys.txt`), separated by a newline."

#: biliarchiver/cli_tools/biliarchiver.py:83
msgid "这只是一个提示信息,需要你手动操作。"
Expand Down Expand Up @@ -311,9 +311,9 @@ msgid ""
"请通过 flag 指定至少一种批量获取 BV 号的方式。多个不同组的 flag 同时使用时,"
"将会先后通过不同方式获取。"
msgstr ""
"Please specify at least one way to batch fetch BV numbers through the flag."
"When flags of multiple groups are used together, they will be fetched in "
"sequence."
"Please specify at least one way to batch fetch BV numbers through the "
"flag.When flags of multiple groups are used together, they will be fetched "
"in sequence."

#: biliarchiver/cli_tools/get_command.py:374
#, fuzzy
Expand Down Expand Up @@ -409,97 +409,97 @@ msgstr ""
"Run `biliarchiver init` first to initialize the configuration for the "
"current working directory"

#: biliarchiver/archive_bvid.py:46
#: biliarchiver/archive_bvid.py:51
msgid "未找到字幕信息"
msgstr "Subtitle information not found"

#: biliarchiver/archive_bvid.py:87
#: biliarchiver/archive_bvid.py:97
msgid "hierarchy 必须为 True"
msgstr "hierarchy must be True"

#: biliarchiver/archive_bvid.py:89
#: biliarchiver/archive_bvid.py:99
msgid "sess_data 不能为空"
msgstr "sess_data cannot be empty"

#: biliarchiver/archive_bvid.py:91
#: biliarchiver/archive_bvid.py:101
msgid "请先检查 SESSDATA 是否过期,再将 logined 设置为 True"
msgstr "Please check if SESSDATA has expired first, then set logined to True"

#: biliarchiver/archive_bvid.py:99
#: biliarchiver/archive_bvid.py:109
msgid "{} 所有分p都已下载过了"
msgstr "All parts of {} have already been downloaded"

#: biliarchiver/archive_bvid.py:107
#: biliarchiver/archive_bvid.py:117
msgid "{} 获取 video_info 失败,原因:{}"
msgstr "Failed to get video_info for {}, reason: {}"

#: biliarchiver/archive_bvid.py:117
#: biliarchiver/archive_bvid.py:127
msgid ""
"{} 的 P{} 不存在 (可能视频被 UP 主 / B 站删了),请报告此问题,我们需要这个样"
"本!"
msgstr ""
"P{} of {} does not exist (video might have been deleted by video uploader or "
"Bilibili), please report this issue, we need this sample!"

#: biliarchiver/archive_bvid.py:128
#: biliarchiver/archive_bvid.py:138
msgid "{}: 已经下载过了"
msgstr "{}: Already downloaded"

#: biliarchiver/archive_bvid.py:137
#: biliarchiver/archive_bvid.py:147
msgid "{}: {},删除缓存: {}"
msgstr "{}: {}, deleting cache: {}"

#: biliarchiver/archive_bvid.py:140
#: biliarchiver/archive_bvid.py:150
msgid "为防出错,清空上次未完成的下载缓存"
msgstr "To prevent errors, clear the last unfinished download cache"

#: biliarchiver/archive_bvid.py:175
#: biliarchiver/archive_bvid.py:185
msgid "没有 dvh、avc 或 hevc 编码的视频"
msgstr "No video with dvh, avc, or hevc encoding"

#: biliarchiver/archive_bvid.py:178
#: biliarchiver/archive_bvid.py:188
msgid "未解析到 dash 资源,交给 bilix 处理 ..."
msgstr "Failed to parse dash resource, handing it over to bilix ..."

#: biliarchiver/archive_bvid.py:182
#: biliarchiver/archive_bvid.py:192
msgid "未解析到视频资源"
msgstr "Failed to parse video resource"

#: biliarchiver/archive_bvid.py:215
#: biliarchiver/archive_bvid.py:225
msgid "出错,其他任务完成后将抛出异常..."
msgstr "Error, exception will be thrown after other tasks are completed..."

#: biliarchiver/archive_bvid.py:226
#: biliarchiver/archive_bvid.py:236
msgid "下载出错"
msgstr "Download error"

#: biliarchiver/archive_bvid.py:231
#: biliarchiver/archive_bvid.py:241
msgid "{}: 视频文件没有被下载?也许是 hevc 对应的 dash 资源不存在,尝试 avc ……"
msgstr ""
"{}: Video file not downloaded? Maybe the hevc dash resource does not exist, "
"trying avc …"

#: biliarchiver/archive_bvid.py:278
#: biliarchiver/archive_bvid.py:288
msgid "{} 的视频详情已存在"
msgstr "Video details of {} already exist"

#: biliarchiver/archive_bvid.py:286
#: biliarchiver/archive_bvid.py:296
msgid "{} 的视频详情获取失败"
msgstr "Failed to fetch video details of {}"

#: biliarchiver/archive_bvid.py:291
#: biliarchiver/archive_bvid.py:301
msgid "{} 的视频详情已保存"
msgstr "Video details of {} have been saved"

#: biliarchiver/archive_bvid.py:302 biliarchiver/archive_bvid.py:321
#: biliarchiver/archive_bvid.py:312 biliarchiver/archive_bvid.py:331
msgid "{} 的视频回复获取失败"
msgstr "Failed to fetch the video replies os {}"

#: biliarchiver/archive_bvid.py:307
#: biliarchiver/archive_bvid.py:317
msgid "{} 的视频回复已存在"
msgstr "The video replies for {} already exists"

#: biliarchiver/archive_bvid.py:326
#: biliarchiver/archive_bvid.py:336
msgid "{} 的视频评论已保存"
msgstr "The video replies of {} have been saved"

Expand Down Expand Up @@ -551,19 +551,19 @@ msgstr ""
msgid "不是你上传的,跳过"
msgstr ""

#: biliarchiver/_biliarchiver_upload_bvid.py:115
#: biliarchiver/_biliarchiver_upload_bvid.py:116
msgid "已经上传过了,跳过"
msgstr ""

#: biliarchiver/_biliarchiver_upload_bvid.py:309
#: biliarchiver/_biliarchiver_upload_bvid.py:305
msgid "{} 不是你上传的,跳过 (item.metadata.creator)"
msgstr ""

#: biliarchiver/_biliarchiver_upload_bvid.py:350
#: biliarchiver/_biliarchiver_upload_bvid.py:341
msgid "上传完成"
msgstr ""

#: biliarchiver/_biliarchiver_upload_bvid.py:358
#: biliarchiver/_biliarchiver_upload_bvid.py:349
msgid "已删除视频文件夹 {}"
msgstr "Deleted video folder {}"

Expand Down

0 comments on commit c1eef42

Please sign in to comment.