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

Generated with cgit - Back to sebastiano.tronto.net