diff options
Diffstat (limited to 'recipes/deepl')
-rw-r--r-- | recipes/deepl/icon.svg | 1 | ||||
-rw-r--r-- | recipes/deepl/index.js | 1 | ||||
-rw-r--r-- | recipes/deepl/package.json | 9 | ||||
-rw-r--r-- | recipes/deepl/webview.js | 9 |
4 files changed, 20 insertions, 0 deletions
diff --git a/recipes/deepl/icon.svg b/recipes/deepl/icon.svg new file mode 100644 index 0000000..a1624ce --- /dev/null +++ b/recipes/deepl/icon.svg | |||
@@ -0,0 +1 @@ | |||
<svg height="1024" width="1024" xmlns="http://www.w3.org/2000/svg"><path fill="#042b48" d="m 669.77847,523.65067 c -38.05547,0 -68.88625,-30.72938 -68.88625,-68.65966 0,-4.00043 0.34058,-7.91967 1.02047,-11.73035 L 437.17352,348.71284 c -11.9867,10.08946 -27.48372,16.17837 -44.39574,16.17837 -38.05544,0 -68.89981,-30.74295 -68.89981,-68.65974 0,-37.91676 30.84437,-68.6597 68.89981,-68.6597 38.05549,0 68.89985,30.74294 68.89985,68.6597 0,4.36671 -0.44914,8.63844 -1.23801,12.78813 l 164.14043,94.19518 c 12.09558,-10.50983 27.90554,-16.88351 45.19854,-16.88351 38.02818,0 68.87262,30.74292 68.87262,68.65974 0,37.93028 -30.84444,68.65966 -68.87262,68.65966 m -208.94441,91.18468 c 0,37.91676 -30.83077,68.65972 -68.88623,68.65972 -38.02824,0 -68.87261,-30.74296 -68.87261,-68.65972 0,-37.93037 30.84437,-68.67328 68.87261,-68.67328 17.1025,0 32.72197,6.22456 44.76314,16.50381 l 120.09846,-68.79534 c 5.12935,14.76803 13.10238,28.22062 23.23869,39.7204 l -120.31613,68.93099 c 0.70755,4.00042 1.1022,8.10948 1.1022,12.31342 M 875.04933,195.81172 547.93845,9.5096893 c -22.27276,-12.6795858 -49.62042,-12.6795858 -71.8931,0 L 148.96168,195.81172 c -22.58563,12.8559 -36.51798,36.80473 -36.51798,62.7064 v 378.9778 c 0,25.7931 13.80989,49.6471 36.23227,62.54366 L 711.77956,1024 l 0.0979,-230.10421 163.40576,-93.85621 c 22.44956,-12.89656 36.27308,-36.75056 36.27308,-62.5708 V 258.51812 c 0,-25.90167 -13.93233,-49.8505 -36.50434,-62.7064"/></svg> | |||
diff --git a/recipes/deepl/index.js b/recipes/deepl/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/deepl/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = Ferdium => Ferdium; | |||
diff --git a/recipes/deepl/package.json b/recipes/deepl/package.json new file mode 100644 index 0000000..329e61a --- /dev/null +++ b/recipes/deepl/package.json | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "id": "deepl", | ||
3 | "name": "DeepL", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://www.deepl.com/translator" | ||
8 | } | ||
9 | } | ||
diff --git a/recipes/deepl/webview.js b/recipes/deepl/webview.js new file mode 100644 index 0000000..56a20b6 --- /dev/null +++ b/recipes/deepl/webview.js | |||
@@ -0,0 +1,9 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
9 | }; | ||