xinebf / google-translate-for-goldendict

Add Google translate to GoldenDict
GNU General Public License v3.0
276 stars 57 forks source link

add --pdf arg to remove all \n when translate pdf #47

Open ErwinLiYH opened 1 year ago

ErwinLiYH commented 1 year ago

When copy string from a PDF file, there are lots of extra \n. This commit adds a --pdf arg to remove all \n from the query string.