Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以添加批量翻译多个字幕文件的功能吗? #15

Open
feeas opened this issue May 18, 2024 · 4 comments
Open

可以添加批量翻译多个字幕文件的功能吗? #15

feeas opened this issue May 18, 2024 · 4 comments

Comments

@feeas
Copy link

feeas commented May 18, 2024

现在软件每次只能选择一个字幕文件,希望以后可以添加翻译多个字幕文件的功能.

@speauty
Copy link
Owner

speauty commented May 23, 2024

可以暂时先把本批需要翻译的多个字幕文件,放到一个目录下,选择目录即可。至于选择多个字幕文件的功能,我再考虑考虑

@niubility000
Copy link

可以暂时先把本批需要翻译的多个字幕文件,放到一个目录下,选择目录即可。至于选择多个字幕文件的功能,我再考虑考虑

还没试。效果咋样? 和那个沉浸式翻译浏览器插件的效果比咋样?那个用上代理,选谷歌翻译效果很不错。缺点是只能一个一个srt翻译,100多集的little fox能把人累死。

@niubility000
Copy link

试完了,非常牛叉!!!偶尔会错乱,两行输出都是中文。我再试试。
另外,文件名能和源文件同名吗?放在子文件夹里,不然我还得一个一个改,几百个还是很累的。

@niubility000
Copy link

哦,把这个存成bat,然后放入字幕所在文件夹,双击运行,就会批量删除文件名里的.anto.me.en2zh-cn了。

@echo off& setlocal enabledelayedexpansion

for /f "delims=" %%1 in ('dir /a /b') do (set wind=%%1

ren "%%~1" "!wind:.anto.me.en2zh-cn=!")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants