aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/crowdin
diff options
context:
space:
mode:
authorLibravatar André Oliveira <37463445+SpecialAro@users.noreply.github.com>2023-01-19 22:50:09 +0000
committerLibravatar GitHub <noreply@github.com>2023-01-19 22:50:09 +0000
commit6a12a29e1224939aa115a14715a4415e14b0b389 (patch)
treeac0d61fcde02e061d833a8ce9986417d2a092dab /recipes/crowdin
parentfix: add mastodon hosted option and remove teamId (diff)
downloadferdium-recipes-6a12a29e1224939aa115a14715a4415e14b0b389.tar.gz
ferdium-recipes-6a12a29e1224939aa115a14715a4415e14b0b389.tar.zst
ferdium-recipes-6a12a29e1224939aa115a14715a4415e14b0b389.zip
feat: add several recipes (#293)
Diffstat (limited to 'recipes/crowdin')
-rw-r--r--recipes/crowdin/icon.svg45
-rw-r--r--recipes/crowdin/index.js1
-rw-r--r--recipes/crowdin/package.json9
-rw-r--r--recipes/crowdin/webview.js9
4 files changed, 64 insertions, 0 deletions
diff --git a/recipes/crowdin/icon.svg b/recipes/crowdin/icon.svg
new file mode 100644
index 0000000..7df7902
--- /dev/null
+++ b/recipes/crowdin/icon.svg
@@ -0,0 +1,45 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Generator: Adobe Illustrator 24.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3<svg version="1.1" id="crowdin-symbol" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
4 y="0px" viewBox="0 0 80 80" style="enable-background:new 0 0 80 80;" xml:space="preserve">
5<style type="text/css">
6 .st0{clip-path:url(#SVGID_2_);}
7 .st1{fill:#FFFFFF;}
8 .st2{fill:#2E3340;}
9</style>
10<g>
11 <defs>
12 <rect id="SVGID_1_" x="7.5" y="7.5" width="65" height="65"/>
13 </defs>
14 <clipPath id="SVGID_2_">
15 <use xlink:href="#SVGID_1_" style="overflow:visible;"/>
16 </clipPath>
17 <g class="st0">
18 <path class="st1" d="M43.5,40.5c0-0.2,0-0.7,0-1c1.3-3.8,5.4-6.9,13.1-7c1.6,0,0.3,0.7-1.1,1c-4,1-7.5,3.7-7.5,10
19 c0,3.5,1.6,6.2,3.5,7.5l0,0c1,1,1.5,1.5,0,1.5c-3.9-0.1-8-2-8-7h2v-2.2c0-0.3,0-1.3,0-1.7L43.5,40.5z"/>
20 <path class="st1" d="M30.5,40.5c-0.6-0.1-1.9-0.8-3-1c1-13.8,22.5-15.5,27-14c1.3,0.4-1.8,0.9-3,1C45,27.3,36,31.1,36,43
21 c0,9.1,4.1,12.6,7.5,13.4c2,1.1,0,2.1-2,2.1c-6.2,0-13-1.7-14-13h3C30.5,43.8,30.4,42.2,30.5,40.5z"/>
22 <path class="st1" d="M9.5,30.5C13,18.6,31.5,16,42.5,16c7.9-0.1,14,0.7,21,2.5c2,0.5,1,1-1,1C53.4,19.1,39,20,30.5,26
23 C19.4,33.7,18.3,52.7,28,59.5c5,3.5,5.7,2.9,8.8,2.9c0.1,0,0.1,0,0.2,0.1c0.1,0,0.1,0.1,0.1,0.2c0,0.1,0,0.1,0,0.2
24 c0,0.1-0.1,0.1-0.1,0.1c-3.8,1.4-4.8,0.5-8.9,0.5c-10.1,0-19.6-3-19.6-21c1.2,0.3,2.8,0.7,4,1c0-2.6,0-5.4,0-8
25 c-0.9-0.1-3.9-1-3.9-1S9.4,31,9.5,30.5z"/>
26 <path class="st2" d="M64.1,32.2c-1.9-0.2-3.8-0.4-5.6-0.3c-5.9,0-16,1.9-16,9.6l1.9,0.4c0,0.3,0,0.7,0,1c0,0.6,0,1.2,0,1.8
27 l-1.9-0.1c0.5,7,4.7,8.9,8.6,9c1.9,0,3.6-0.2,5.4-1c0.1,0,0.1-0.1,0.1-0.1c0-0.1,0-0.1,0-0.2c0-0.1-0.1-0.1-0.1-0.2
28 c-0.1,0-0.1-0.1-0.2-0.1c-3.6,0.5-7.3-2.4-7.3-8.5c0-7.8,6.3-10.8,15.2-10.8C64.4,32.8,64.5,32.3,64.1,32.2z M44.5,46
29 c1,0,1.8,0,3,0c0.2,2.1,2,5,4,6C48,52.1,44.8,49.5,44.5,46z M47.8,39.5c0,0.3-0.2,0.7-0.3,1.2h-1.2c-0.6,0-1.3-0.1-1.9-0.2
30 c0-0.1,0-0.1,0-0.2c0.8-4.2,4.8-5.9,8.7-6.6c-1.3,0.5-2.4,1.3-3.3,2.3C48.9,36.9,48.2,38.1,47.8,39.5z"/>
31 <path class="st2" d="M68.2,26C60.3,23.8,27,21,27,40c1.1,0.2,1.9,0.4,2.5,0.5c-0.1,1.4,0,3,0,4.5l-3-0.5c0,11,7.8,14.5,14,14.5
32 c1,0,2-0.1,3.1-0.2c2.5-0.3,5-1.1,7.3-2.3c0,0,0.1-0.1,0.1-0.1c0-0.1,0-0.1,0-0.2c0-0.1-0.1-0.1-0.1-0.2c0,0-0.1-0.1-0.2-0.1
33 c-5.2,1.1-12.4-0.4-12.4-13.1c0-17,23.2-15.9,30-16.1c0.1,0,0.1-0.1,0.1-0.1c0-0.1,0-0.1,0-0.2c0-0.1,0-0.1-0.1-0.2
34 C68.3,26.1,68.3,26,68.2,26z M32.3,54.7c-2.3-2-3.7-4.9-4-8c2,0.3,4.5,0.5,6.6,0.6c0.1,2.1,0.8,4.2,1.9,6c1.1,1.8,2.7,3.3,4.5,4.2
35 C37.9,57.5,34.9,57,32.3,54.7z M35.7,37c-0.2,0.6-0.4,1.7-0.6,2.6L32,39.2l-3.2-0.4c0-9.9,15.7-13.3,22.7-12.8
36 C43.4,28,37,31.5,35.7,37L35.7,37z"/>
37 <path class="st2" d="M72.3,20.4c-9.6-3.4-20.6-5-30.8-4.9c-14.8,0-33.5,4.5-34,20l4,1c-0.5,2-0.5,6-0.5,6s-2.3-0.7-3.5-1
38 c0,18.3,10.5,23,20.6,23c4.1,0,8.1-0.7,11.9-2.1c0.1,0,0.1-0.1,0.1-0.1c0-0.1,0-0.1,0-0.2c0-0.1-0.1-0.1-0.1-0.2s-0.1-0.1-0.2-0.1
39 c-3.1,0-5.6,1-10.6-2.6c-9.7-6.9-8.5-25,2.6-32.9c11.4-8.3,36.1-5.7,40.3-5.5c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1-0.1
40 c0,0,0-0.1,0-0.1c0,0,0-0.1,0-0.1c0,0,0-0.1,0-0.1C72.4,20.5,72.4,20.5,72.3,20.4C72.4,20.4,72.3,20.4,72.3,20.4z M28.2,63
41 c-12,0-18.1-6.7-18.7-19.4c3.3,0.8,6.3,1.7,9.7,2.1c-0.2,5,1.5,9.9,4.9,13.7c1.7,1.7,3.8,2.9,6.1,3.6L28.2,63z M55.3,18.4
42 c-14.6,0-31.5,1.8-34.8,18.1c0,0-9-1.5-11-2c2.5-20.5,37-19,51-16.1H55.3z"/>
43 </g>
44</g>
45</svg>
diff --git a/recipes/crowdin/index.js b/recipes/crowdin/index.js
new file mode 100644
index 0000000..a2151ca
--- /dev/null
+++ b/recipes/crowdin/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => class Crowdin extends Ferdium {};
diff --git a/recipes/crowdin/package.json b/recipes/crowdin/package.json
new file mode 100644
index 0000000..c3437d6
--- /dev/null
+++ b/recipes/crowdin/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "crowdin",
3 "name": "Crowdin",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://crowdin.com/profile"
8 }
9}
diff --git a/recipes/crowdin/webview.js b/recipes/crowdin/webview.js
new file mode 100644
index 0000000..56a20b6
--- /dev/null
+++ b/recipes/crowdin/webview.js
@@ -0,0 +1,9 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = Ferdium => {
8 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
9};