aboutsummaryrefslogtreecommitdiff
path: root/translate
diff options
context:
space:
mode:
Diffstat (limited to 'translate')
-rwxr-xr-xtranslate10
1 files changed, 10 insertions, 0 deletions
diff --git a/translate b/translate
new file mode 100755
index 0000000..9415158
--- /dev/null
+++ b/translate
@@ -0,0 +1,10 @@
1#!/bin/sh
2
3# Opens google translate
4
5translator="https://translate.google.com/"
6from=$1
7to=$2
8
9shift 2
10open-url "${translator}?sl=${from}&tl=${to}&text=$@&op=translate"

Generated with cgit - Back to sebastiano.tronto.net