-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathgoogle-translate.el
86 lines (63 loc) · 2.76 KB
/
google-translate.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
;;; google-translate.el --- Emacs interface to Google Translate
;; Copyright (C) 2012 Oleksandr Manzyuk <[email protected]>
;; Author: Oleksandr Manzyuk <[email protected]>
;; Maintainer: Andrey Tykhonov <[email protected]>
;; URL: https://github.com/atykhonov/google-translate
;; Package-Requires: ((emacs "24.3") (popup "0.5.8"))
;; Version: 0.12.0
;; Keywords: convenience
;; Contributors:
;; Tassilo Horn <[email protected]>
;; Bernard Hurley <[email protected]>
;; Chris Bilson <[email protected]>
;; Takumi Kinjo <[email protected]>
;; momomo5717 <[email protected]>
;; stardiviner <[email protected]>
;; This file is NOT part of GNU Emacs.
;; This is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;; General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; Installation:
;; From MELPA or Marmalade.
;; Just run `M-x package-install RET google-translate RET`
;; Manual installation.
;; Assuming that the file `google-translate.el' and other files which
;; relates to this package is somewhere on the load path, add the
;; following lines to your `.emacs' file:
;; (require 'google-translate)
;; (require 'google-translate-default-ui)
;; (global-set-key "\C-ct" 'google-translate-at-point)
;; (global-set-key "\C-cT" 'google-translate-query-translate)
;; or
;; (require 'google-translate)
;; (require 'google-translate-smooth-ui)
;; (global-set-key "\C-ct" 'google-translate-smooth-translate)
;;
;; Change the key bindings to your liking.
;; The difference between these configurations is in UI which will be
;; used: Default UI or Smooth UI.
;;
;; Please read the source of `google-translate-default-ui.el' and
;; `google-translate-smooth-ui.el' for more details.
;; Customization:
;; Variables which are available for customization are depends on UI
;; package which is selected for the google-translate
;; package. google-translate-default-ui - is UI which is selected by
;; default. It loads by default and is available right after
;; google-translate installation and its initialization. Please read
;; documentation for the `google-translate-core-ui.el' and
;; `google-translate-default-ui.el' packages for more info about
;; customization.
;;
;;; Code:
(require 'google-translate-default-ui)
(provide 'google-translate)
;;; google-translate.el ends here