-
Notifications
You must be signed in to change notification settings - Fork 1
/
про-словари-и-перевод.el
34 lines (31 loc) · 1.13 KB
/
про-словари-и-перевод.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
;;; про-словари-и-перевод.el --- Словари и переводчики -*- lexical-binding: t -*-
;;; Commentary:
;; Словари и переводчики
;;; Code:
(use-package go-translate
:defer t
:ensure t
:functions (gt-translator
gt-prompt-picker
gt-bing-engine
gt-buffer-render
gt-google-engine
gt-taker)
:defines (gt-default-translator)
:custom ((gt-translate-list '(("en" "ru")
("ru" "en"))))
:config
(setq gt-default-translator
(gt-translator
:taker (gt-taker
:langs '(en ru))
:engines (list (gt-google-engine) (gt-bing-engine))
:render (gt-buffer-render)))
;; (setq gts-default-translator (gts-translator
;; :picker (gts-prompt-picker)
;; :engines (list (gts-bing-engine)
;; (gts-google-engine))
;; :render (gts-buffer-render)))
)
(provide 'про-словари-и-перевод)
;;; про-словари-и-перевод.el ends here