translate-shell icon indicating copy to clipboard operation
translate-shell copied to clipboard

Engine selection params conflicts with file paths

Open soimort opened this issue 10 years ago • 1 comments

I did not take that into consideration so much when I introduced the shortcut parameters (/engine) for engine selection, and now this becomes an issue for me:

$ trans /home/soimort/Documents/foobar
[ERROR] Translator not found: home/soimort/Documents/foobar
        Run '-list-engines / -S' to see a list of available engines.

soimort avatar Feb 12 '16 04:02 soimort

You need to use a file URI scheme:

$  trans file:///home/soimort/Documents/foobar

soimort avatar Feb 12 '16 13:02 soimort