pot-app / pot-desktop

🌈一个跨平台的划词翻译和OCR软件 | A cross-platform software for text translation and recognition.
https://pot-app.com
GNU General Public License v3.0
10.22k stars 469 forks source link

[Feature]: paste translated text #288

Open burrinhoMAC opened 1 year ago

burrinhoMAC commented 1 year ago

Please confirm the following before submitting a new issue.

Description

Congratulations on the excellent application. Can you add this feature to paste translated text like Qtranslate?

Application Scenario

Paste translated text.

References

Qtranslate.

Pylogmon commented 1 year ago

Please provide a detailed description of what "Paste translated text" operation refers to. Currently, Pot supports automatically copying the translated text and also provides a one-click copy button. Is this the functionality you are referring to?

burrinhoMAC commented 1 year ago

No. Tha app Qtranslate have a button that replace the original text with tranlated text.

In a word (text) editing software you can even replace the selected text with translated text

Click the b->a button in the popup to replace the original text with the translated text

burrinhoMAC commented 1 year ago

images (14).jpg

Pylogmon commented 1 year ago

Well, I understand what you mean, but I'm not sure how to implement such a feature. It can be quite challenging to achieve this functionality for cross-platform software.

burrinhoMAC commented 1 year ago

I believe that button is only "CTRL+C" and "CTRL+V"

images (14).jpg

Pylogmon commented 1 year ago

Once the translation is done, the focus of the interface has changed, I'm not sure if direct emulation of Ctrl+V will work on all platforms and in all scenarios.