Translate-Subtitle-File icon indicating copy to clipboard operation
Translate-Subtitle-File copied to clipboard

失败原因: TypeError: Cannot read property 'replace' of null

Open udterry opened this issue 3 years ago • 1 comments
trafficstars

翻译完出现这个报错

udterry avatar Sep 06 '22 03:09 udterry

字幕文件,服务商,语言配置,告知我一下。我试试。

1c7 avatar Sep 06 '22 10:09 1c7

...

33
00:01:43,290 --> 00:01:45,116
null
‫why you might want to ‫jump up to the paid...

...

双语翻译结果中出现null的情况,通常是出现在整个文件的中间部分.

ilovesusu avatar Sep 29 '22 04:09 ilovesusu

@ilovesusu 扔个例子 srt 文件给我(原文件和结果文件) 告诉我服务商和语言配置。我重现一下试试

1c7 avatar Sep 29 '22 11:09 1c7

@1c7 百度QPS10.zip 百度翻译 英文->简体中文 QPS 10 其他都是默认配置

ilovesusu avatar Sep 29 '22 15:09 ilovesusu

字幕文件,服务商,语言配置,告知我一下。我试试。

百度,英译中,输出译文,覆盖源文件。 全局替换词表 关闭 合并文字重复的行 开启 字幕翻译成中文后,把逗号和句号换成一个空格 开启

udterry avatar Oct 06 '22 02:10 udterry

收到,我有空了修一下

1c7 avatar Oct 07 '22 09:10 1c7

修复了吗... 出现一样的问题

xeuyuuyuex avatar Jan 30 '23 04:01 xeuyuuyuex

这个是 bug,我还在开发下一个新版本

1c7 avatar Jan 30 '23 08:01 1c7

https://tern.1c7.me/#/ 网页版好了,麻烦 @xeuyuuyuex 和 @udterry 和 @ilovesusu 试试。 在网页里可以直接翻译字幕文件了,可以用百度来翻译。

1c7 avatar Jan 30 '23 14:01 1c7