diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-11-06 17:01:53 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-11-06 17:01:53 +0100 |
| commit | 778574d025cf7a23b386d8cb110e265dd334dfc2 (patch) | |
| tree | c6ec796d8afbb0a0f3eb1baafed6c01a0a8126de /translate | |
| parent | 31a433b6a68cf924b70039abc6464453c323acf2 (diff) | |
| download | scripts-778574d025cf7a23b386d8cb110e265dd334dfc2.tar.gz scripts-778574d025cf7a23b386d8cb110e265dd334dfc2.zip | |
Moved unused stuff
Diffstat (limited to 'translate')
| -rwxr-xr-x | translate | 11 |
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 | |||
| 5 | translator="https://translate.google.com/" | ||
| 6 | from=$1 | ||
| 7 | to=$2 | ||
| 8 | |||
| 9 | shift 2 | ||
| 10 | text=$(echo "$@" | sed 's/ /\%20/g') | ||
| 11 | open-url "${translator}?sl=${from}&tl=${to}&text=${text}&op=translate" | ||
