Feature Request: After import the translation text, Please make a Entire save
Version Info
Python version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] Python executable: D:\Down\BallonsTranslator_dev_src_with_gitpython\ballontrans_pylibs_win\python.exe Version: 1.4.0 Branch: dev
Type of Request
New Feature
Description
It is inconvenient to save one by one after importing the translation text.
Pictures
No response
Additional Information
No response
Also, we need options to get all original ocr texts in 1 text file.
1.jpg {rectangle points location} original text=내가 한다. translated text=I'll do it.
Then we can just paste it in to AI translator with the right prompt and translate it in text file with 1 request. After that, load it to the project images.
Are you sure that this function is not in the program? I speak as one of the developers)
It is inconvenient to save one by one after importing the translation text.
There, in the import area, there is also a "save project" button. But yes, automation would be better
Then we can just paste it in to AI translator with the right prompt and translate it in text file with 1 request. After that, load it to the project images.
Oh, I downloaded the portable version. Updating it showed the function. Thank you very much!
@bropines There is one save button. Project Save (Ctrl + S) This button saves only 1 page I'm currently looking at. Is there any other entire page saveable button I don't know about? I'm not talking about only one save, I'm talking about the entire save.
@bropines There is one save button. Project Save (Ctrl + S) This button saves only 1 page I'm currently looking at. Is there any other entire page saveable button I don't know about? I'm not talking about only one save, I'm talking about the entire save.
Hmmm. It shouldn't be like that. Most likely, DmMaze who wrote this, did not finish the logic. I don't care, but I don't know when.
But as far as I remember, Save proj saves the entire project in JSON. That is, it does not render the page again. I suppose you don't need the save function after import, but the re-render function so that all the translated text is rendered to a folder?
@bropines Yes That's right. Currently, after import, the result folder is not updated. It is reflected when I save it one by one. What I need is a function that renders (saves) everything at once.
Uncheck all stages, and click RUN (topbar -> Run -> Run without update text style). It will re-render all pages according to your translation result.
Everytime I have to edit and save the project, I have to untick Text detection, OCR, translation and inpaint then press run without update text style... Can we have a button to do it simply with one click? Like a toggle all button or something because if you want to do the full run then you have to tick all of them again.
I edited mainwindowbars.py to add that in menu... it works. Also I think it's good to add a flood fill method to clear a white speech bubble instead of using pen tool. It's not a good method to clear open bubble but it will instantly clear closed bubble with one click so it's useful.
I edited mainwindowbars.py and mainwindow.py to add save_all_results method. Clicking it saves all. I don't know about python coding so I asked gemini to do it. Also added the toggle menu to toggle all 4 options that are mentioned above. I don't know if it's proper way to do it.