~esmail_almaleeh

Recent activity

[PATCH] simplytranslate_web: Adding Definitions to Google 6 months ago

From ManeraKai to ~metalune/simplytranslate-devel

---
 main.py                  |  34 +++++-
 requirements.txt         |   2 +-
 static/styles/google.css | 200 ++++++++++++++++++++++++++++++++++
 templates/google.html    | 228 +++++++++++++++++++++++++++++++++++++++
 templates/index.html     |   2 +-
 5 files changed, 463 insertions(+), 3 deletions(-)
 create mode 100644 static/styles/google.css
 create mode 100644 templates/google.html

diff --git a/main.py b/main.py
index cfa9bb8..892d457 100644
--- a/main.py
+++ b/main.py
[message trimmed]

[PATCH] simplytranslate_engines: Adding Definitions to Google 6 months ago

From ManeraKai to ~metalune/simplytranslate-devel

---
 simplytranslate_engines/deepl.py           |   5 +-
 simplytranslate_engines/googletranslate.py | 151 +++++++++++++++++++--
 simplytranslate_engines/icibatranslate.py  |   9 +-
 simplytranslate_engines/libretranslate.py  |  12 +-
 simplytranslate_engines/reverso.py         |   9 +-
 5 files changed, 160 insertions(+), 26 deletions(-)

diff --git a/simplytranslate_engines/deepl.py b/simplytranslate_engines/deepl.py
index 32eb823..3629b7a 100644
--- a/simplytranslate_engines/deepl.py
+++ b/simplytranslate_engines/deepl.py
@@ -53,11 +53,12 @@ class DeeplEngine:
        return None
[message trimmed]

simplytranslate_engines: [PATCH] Adding Advanced GoogleTranslate 6 months ago

From ManeraKai to ~metalune/simplytranslate-devel

From: ManeraKai <manerakai@protonmail.com>

---
 simplytranslate_engines/googletranslate.py | 131 ++++++++++++++++++++-
 1 file changed, 129 insertions(+), 2 deletions(-)

diff --git a/simplytranslate_engines/googletranslate.py b/simplytranslate_engines/googletranslate.py
index c4680c4..0838f44 100644
--- a/simplytranslate_engines/googletranslate.py
+++ b/simplytranslate_engines/googletranslate.py
@@ -1,7 +1,9 @@
 import lxml.html as lxml
-from urllib.parse import urlencode
+from urllib.parse import urlencode, quote

simplytranslate_web: [PATCH] Adding Advanced GoogleTranslate 6 months ago

From ManeraKai to ~metalune/simplytranslate-devel

From: ManeraKai <manerakai@protonmail.com>

---
 main.py                  |  59 ++++++++--
 static/styles/google.css | 200 ++++++++++++++++++++++++++++++++++
 templates/google.html    | 228 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 481 insertions(+), 6 deletions(-)
 create mode 100644 static/styles/google.css
 create mode 100644 templates/google.html

diff --git a/main.py b/main.py
index cfa9bb8..6a43550 100644
--- a/main.py
+++ b/main.py
[message trimmed]

[PATCH] simplytranslate_web: Changed outline color 8 months ago

From ManeraKai to ~metalune/public-inbox

From: ManeraKai <manerakai@protonmail.com>

---
 templates/index.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/templates/index.html b/templates/index.html
index 4879b4b..4dfdfea 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -77,7 +77,8 @@
        select:focus,
        textarea:focus,
        button:focus {
[message trimmed]

[PATCH] api/translate to POST 9 months ago

From ManeraKai to ~metalune/public-inbox

From: ManeraKai <manerakai@protonmail.com>

---
 main.py | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/main.py b/main.py
index 4ffd85c..f2513ed 100644
--- a/main.py
+++ b/main.py
@@ -68,12 +68,14 @@ async def translate(from_language, to_language, input_text):
    )


[message trimmed]

[PATCH] gtranslate: Switched to GET instead of POST for api 9 months ago

From ManeraKai to ~yerinalexey/public-inbox

From: ManeraKai <manerakai@protonmail.com>

---
 main.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.go b/main.go
index 8e94c27..128a747 100644
--- a/main.go
+++ b/main.go
@@ -63,7 +63,7 @@ func main() {
	r := mux.NewRouter()

	r.HandleFunc("/", CreateWebHandler(tmpl, &settings)).Methods("GET", "POST")
[message trimmed]

[PATCH] simplytranslate_web: Added documentation for api 9 months ago

From ManeraKai to ~metalune/public-inbox

From: ManeraKai <manerakai@protonmail.com>

---
 README.md   |  7 ++++--
 api.md      | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 config.conf |  3 +++
 3 files changed, 70 insertions(+), 2 deletions(-)
 create mode 100644 api.md

diff --git a/README.md b/README.md
index 4243bf9..66e703e 100644
--- a/README.md
+++ b/README.md
@@ -38,9 +38,12 @@ python3 main.py
[message trimmed]

[PATCH] simplytranslate_web: Fix get_languages typo in API 9 months ago

From ManeraKai to ~metalune/public-inbox

From: ManeraKai <manerakai@protonmail.com>

---
 main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.py b/main.py
index 2795dc0..b9eed57 100644
--- a/main.py
+++ b/main.py
@@ -80,7 +80,7 @@ async def api_get_languages():
    engine_name = request.args.get("engine")
    engine = get_engine(engine_name, engines, engines[0])

[message trimmed]