aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/google-translate
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2021-11-01 15:14:04 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2021-11-01 15:14:04 +0530
commit27ffda874e6808a7815ea7844355802afaad9599 (patch)
tree194011a66b86e3c603e964426c487813e62e943a /recipes/google-translate
parentUse PascalCasing for generated backend API class name (#759) (diff)
downloadferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.tar.gz
ferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.tar.zst
ferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.zip
chore: remove empty 'service.css' from recipes. Remove 'README.md' from the creation script
Diffstat (limited to 'recipes/google-translate')
-rw-r--r--recipes/google-translate/package.json2
-rw-r--r--recipes/google-translate/service.css1
-rw-r--r--recipes/google-translate/webview.js8
3 files changed, 2 insertions, 9 deletions
diff --git a/recipes/google-translate/package.json b/recipes/google-translate/package.json
index 7e7f272..bffce00 100644
--- a/recipes/google-translate/package.json
+++ b/recipes/google-translate/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "google-translate", 2 "id": "google-translate",
3 "name": "Google Translate", 3 "name": "Google Translate",
4 "version": "1.0.0", 4 "version": "1.0.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://translate.google.com" 7 "serviceURL": "https://translate.google.com"
diff --git a/recipes/google-translate/service.css b/recipes/google-translate/service.css
deleted file mode 100644
index 38dcab0..0000000
--- a/recipes/google-translate/service.css
+++ /dev/null
@@ -1 +0,0 @@
1/* Insert custom styles you want to insert here */ \ No newline at end of file
diff --git a/recipes/google-translate/webview.js b/recipes/google-translate/webview.js
index 41aa5e0..ca1cf99 100644
--- a/recipes/google-translate/webview.js
+++ b/recipes/google-translate/webview.js
@@ -1,14 +1,8 @@
1var _path = _interopRequireDefault(require('path')); 1module.exports = () => {
2
3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4
5module.exports = Ferdi => {
6 // TODO: If your google-translate service has unread messages, uncomment these lines to implement the logic for updating the badges 2 // TODO: If your google-translate service has unread messages, uncomment these lines to implement the logic for updating the badges
7 // const getMessages = () => { 3 // const getMessages = () => {
8 // // TODO: Insert your notification-finding code here 4 // // TODO: Insert your notification-finding code here
9 // Ferdi.setBadge(0, 0); 5 // Ferdi.setBadge(0, 0);
10 // }; 6 // };
11 // Ferdi.loop(getMessages); 7 // Ferdi.loop(getMessages);
12
13 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css'));
14}; 8};