dmMaze / BallonsTranslator

深度学习辅助漫画翻译工具, 支持一键机翻和简单的图像/文本编辑 | Yet another computer-aided comic/manga translation tool powered by deeplearning
GNU General Public License v3.0
2.25k stars 150 forks source link

Is it possible to provide a button for a full update? #498

Closed chou18194766xx closed 2 weeks ago

chou18194766xx commented 3 weeks ago

For example, if I make changes to the content of imgtrans_XXX.json and replace the font for all translations, the content of the result folder will not be updated. As a result, I need a one-click button to update the result folder. Can you provide such a feature?

dmMaze commented 3 weeks ago

After you make changes to the project file, reopen the app, top bar->Run, uncheck all and click run

chou18194766xx commented 3 weeks ago

After you make changes to the project file, reopen the app, top bar->Run, uncheck all and click run

I used your method to update the "result" folder today, but I found that my carefully crafted formatting was messed up. For example, some of the fonts in the comics had different outlines, so I clicked to run the update to ensure that all modifications were saved, only to find that there was an issue with the font outlines, and I had to reformat everything again.

dmMaze commented 3 weeks ago

@chou18194766xx Sorry, should have mentioned the text style will follow "Lettering" settings in the config panel. And there is no "leave as it is" option for now. I'll implement it later.

chou18194766xx commented 3 weeks ago

@chou18194766xx Sorry, should have mentioned the text style will follow "Lettering" settings in the config panel. And there is no "leave as it is" option for now. I'll implement it later.

Looking forward to your update. Thank you

dmMaze commented 3 weeks ago

It has been implemented in a6b4636 via titlebar->run without update text styles

chou18194766xx commented 3 weeks ago

It has been implemented in a6b4636 via titlebar->run without update text styles

After testing, I found that the new button works fine in most cases. But there is still a bug. For example, there are two different text formats in the same bubble. If you run "run without updating text styles", the text format will become one kind. Please see the attachment. now origin

dmMaze commented 2 weeks ago

It has been implemented in a6b4636 via titlebar->run without update text styles

After testing, I found that the new button works fine in most cases. But there is still a bug. For example, there are two different text formats in the same bubble. If you run "run without updating text styles", the text format will become one kind. Please see the attachment. now origin

It is fixed by 319c0d4