1部分翻译失败:Invalid line format: ```yaml
如果再次失败,请检查文件内容。
The 1 part of the translation failed: Invalid line format: ```yaml
If it fails again, please check the file content.
Traceback (most recent call last):
File "e:\ChatGPT-Minecraft-Plugin-Translater-2.0\ChatGPT-Minecraft-Plugin-Translater-2.0\main.py", line 166, in process_file
translated_content = parser.to_yaml(translated_part)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Teaftc\AppData\Local\Programs\Python\Python312\Lib\site-packages\pkvpm\parser.py", line 214, in to_yaml
path, value, value_type = self.process_translation_line(line)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Teaftc\AppData\Local\Programs\Python\Python312\Lib\site-packages\pkvpm\parser.py", line 96, in process_translation_line
raise ValueError(f"Invalid line format: {line}")
ValueError: Invalid line format: ```yaml
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "e:\ChatGPT-Minecraft-Plugin-Translater-2.0\ChatGPT-Minecraft-Plugin-Translater-2.0\main.py", line 276, in <module>
main(_output_language=output_language,
File "e:\ChatGPT-Minecraft-Plugin-Translater-2.0\ChatGPT-Minecraft-Plugin-Translater-2.0\main.py", line 236, in main
translated_count = process_directory(_input_path, _model, _output_language, _max_tokens, _output_path, log_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "e:\ChatGPT-Minecraft-Plugin-Translater-2.0\ChatGPT-Minecraft-Plugin-Translater-2.0\main.py", line 218, in process_directory
process_file(file_path, _model, _output_language, _max_tokens, output_folder, log_path)
File "e:\ChatGPT-Minecraft-Plugin-Translater-2.0\ChatGPT-Minecraft-Plugin-Translater-2.0\main.py", line 176, in process_file
translated_content = parser.to_yaml(translated_part)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Teaftc\AppData\Local\Programs\Python\Python312\Lib\site-packages\pkvpm\parser.py", line 214, in to_yaml
path, value, value_type = self.process_translation_line(line)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Teaftc\AppData\Local\Programs\Python\Python312\Lib\site-packages\pkvpm\parser.py", line 96, in process_translation_line
raise ValueError(f"Invalid line format: {line}")
ValueError: Invalid line format: ``
[diversity.txt](https://github.com/user-attachments/files/17879623/diversity.txt)
`yaml