about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/assets/javascripts/services.js2
-rw-r--r--src/config.json5
2 files changed, 7 insertions, 0 deletions
diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js
index 49acdba8..8deadf74 100644
--- a/src/assets/javascripts/services.js
+++ b/src/assets/javascripts/services.js
@@ -121,6 +121,7 @@ function rewrite(url, originUrl, frontend, randomInstance) {
       }
       return `${randomInstance}${url.pathname}${url.search}`
     }
+    case "translite":
     case "simplyTranslate":
       return `${randomInstance}/${url.search}`
     case "send":
@@ -773,6 +774,7 @@ const defaultInstances = {
   quetre: ["https://quetre.iket.me"],
   libremdb: ["https://libremdb.iket.me"],
   simplyTranslate: ["https://simplytranslate.org"],
+  translite: ["https://tl.bloat.cat"],
   mozhi: ["https://mozhi.aryak.me"],
   searxng: ["https://search.bus-hit.me"],
   "4get": ["https://4get.ca"],
diff --git a/src/config.json b/src/config.json
index d10adec8..fbed322c 100644
--- a/src/config.json
+++ b/src/config.json
@@ -1114,6 +1114,11 @@
           "name": "LibreTranslate",
           "instanceList": true,
           "url": "https://github.com/LibreTranslate/LibreTranslate"
+        },
+        "translite": {
+          "name": "Translite",
+          "instanceList": true,
+          "url": "https://codeberg.org/gospodin/translite"
         }
       },
       "targets": [