pyvideotrans
pyvideotrans copied to clipboard
请添加一个功能,当翻译过程中因网络连接中断、停电或其他不可预见的问题而被打断时,自动保存部分翻译的SRT文件。此外,确保如果一个文件被多次翻译,系统会创建一个新的文件,而不是覆盖之前保存的文件。例如,如果 'husky.srt' 被多次翻译,系统应保存新的版本,文件名依次递增,如 'husky(1).srt'、'husky(2).srt' 等,而不是替换原来的文件。这样可以防止丢失之前的工作,并保留每次翻译尝试的记录。
出错信息 "请添加一个功能,当翻译过程中因网络连接中断、停电或其他不可预见的问题而被打断时,自动保存部分翻译的SRT文件。此外,确保如果一个文件被多次翻译,系统会创建一个新的文件,而不是覆盖之前保存的文件。例如,如果 'husky.srt' 被多次翻译,系统应保存新的版本,文件名依次递增,如 'husky(1).srt'、'husky(2).srt' 等,而不是替换原来的文件。这样可以防止丢失之前的工作,并保留每次翻译尝试的记录。"
"Please add a feature that automatically saves partially translated SRT files when the translation process is interrupted due to issues like internet connection loss, power outages, or other unforeseen problems. Additionally, ensure that if a file is translated multiple times, it creates a new file instead of overwriting the previously saved one. For example, if 'husky.srt' is translated multiple times, the system should save new versions with incremented filenames such as 'husky(1).srt', 'husky(2).srt', and so on, instead of replacing the original file. This will prevent the loss of previous work and maintain a record of each translation attempt."
复现步骤
- 使用的哪个功能
- srt translation with the help of gemini
- windows 11
操作系统
- Windows
pyvideotrans2.65