1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-18 08:27:03 +02:00
Commit Graph

779 Commits

Author SHA1 Message Date
Piero Toffanin
c3548bffe1 Memoize 2022-03-04 10:24:29 -05:00
Piero Toffanin
45649c3340
Merge pull request #219 from ZenulAbidin/detect_fix
Fix language detection error
2022-03-04 10:09:46 -05:00
Ali Sherief
e23b96f1da Fix language detection error
The root cause was load_installed_languages() of argostranslate
being called at the top of the file instead of inside a function,
this caused the list of installed languages to incorrectly be
returned as an empty list.
2022-03-04 08:23:11 +00:00
Piero Toffanin
bcf051b7ff
Update README.md 2022-02-25 11:43:17 -05:00
Piero Toffanin
3480fbde01
Update README.md 2022-02-25 11:42:21 -05:00
Piero Toffanin
ea332b11e6
Merge pull request #216 from fushinari/suggest-errors
suggestions: Abort when missing parameters
2022-02-20 12:26:55 -05:00
Mufeed Ali
9edcbe8bea
suggestions: Abort when missing parameters 2022-02-20 22:52:12 +05:30
Piero Toffanin
124e736685 Downgrade flask 2022-02-20 11:41:33 -05:00
Piero Toffanin
0d33e251c1 Pin itsdangerous 2022-02-20 11:40:34 -05:00
Piero Toffanin
b87305b375 Update flask 2022-02-20 11:35:43 -05:00
Piero Toffanin
a85b645550
Merge pull request #215 from fushinari/api-key-access
app: Fail when giving invalid API keys
2022-02-20 11:29:40 -05:00
Mufeed Ali
2ddb415bba
cleanup: Whitespaces and imports
- Remove unnecessary import
- Reorder imports
- Fix whitespace issues
2022-02-20 13:39:02 +05:30
Mufeed Ali
933c96914b
app: Fail when giving invalid API keys
When an API key is passed, fail in the case of an invalid API key even
if an API key is not required. This allows the user to know that the API
key is invalid. Otherwise, they work under the assumption that the API
key is correct, even though it is not.
2022-02-20 13:36:29 +05:30
Piero Toffanin
8962de8755
Add auto-detect example 2022-02-10 12:46:02 -05:00
Dingedi
a13a714b89
Merge pull request #211 from EsmailELBoBDev2/patch-1
added my instance :)
2022-02-10 16:01:55 +01:00
Esmail EL BoB
6932fed0b6
added my instance :) 2022-02-10 06:25:25 +00:00
Piero Toffanin
1df501db7f
Merge pull request #209 from dingedi/feature/keep-selected-langs-in-url
keep selected languages and text in url
2022-02-07 12:39:02 -05:00
Sébastien Thuret
54f5c5ed94
keep selected languages and text in url 2022-02-07 17:58:30 +01:00
Piero Toffanin
61a148d692
Use len 2022-02-07 11:22:08 -05:00
Piero Toffanin
0d122c5d53
Merge pull request #206 from dingedi/feature/set-default-language
set default language instead of raise error
2022-02-07 11:21:20 -05:00
Piero Toffanin
15dcfa12c6
Merge pull request #207 from dingedi/feature/disable-web-ui
Add --disable-web-ui
2022-02-07 11:18:59 -05:00
Piero Toffanin
badff01b34
Merge pull request #208 from dingedi/feature/add-python-3.9
add python 3.9
2022-02-07 11:18:19 -05:00
Sébastien Thuret
8eb3644f02
add python 3.9 2022-02-07 11:15:52 +01:00
Sébastien Thuret
6b18b23b46
Add --disable-web-ui 2022-02-07 11:02:32 +01:00
Sébastien Thuret
b8df98fdce
set default language instead of raise error 2022-02-07 10:45:31 +01:00
Piero Toffanin
f75a294aa0
Merge pull request #204 from dingedi/unescape-html-entity-codes
unescape html entity codes (ex: &apos)
2022-02-06 12:07:39 -05:00
Piero Toffanin
c11c8a499a
Merge pull request #205 from dingedi/upgrade-pyicu
Upgrade to pyicu>=2.8
2022-02-06 12:06:45 -05:00
Dingedi
cfabcab016
Upgrade to pyicu>=2.8 2022-02-06 15:04:47 +01:00
Dingedi
79e5b0fb50
unescape html entity codes (ex: &apos) 2022-02-06 14:54:52 +01:00
Piero Toffanin
9e77f82470 Fix extra t 2022-01-31 10:39:55 -05:00
Piero Toffanin
7efe0b0c6f Bump version 2022-01-31 10:21:25 -05:00
Piero Toffanin
74e2823658 Fix frontendTimeout 2022-01-31 10:19:14 -05:00
Piero Toffanin
5eccc20daf
Update README.md 2022-01-26 12:25:51 -05:00
Piero Toffanin
a35722ea60
Update README.md 2022-01-26 12:23:54 -05:00
Piero Toffanin
85de14fe95
Reference to training video 2022-01-25 18:32:22 -05:00
Dingedi
252adc25f0
Upgrade translatehtml
To have HTML tags exclusions with attribute translate="no"
2022-01-25 14:22:43 +01:00
Piero Toffanin
ae9a12f14c
Merge pull request #198 from idotj/main
Closes #197
2022-01-17 15:20:40 -05:00
idotj
8ecf708bdd
Apply a white background main <body> 2022-01-17 21:19:46 +01:00
idotj
7afce9ae2a Improve color contrast for WCAG standards + add underline to links 2022-01-17 20:09:20 +01:00
Piero Toffanin
27d076a1b4
Update README.md 2022-01-13 20:58:01 -05:00
Dingedi
6dd7d6f336
Merge pull request #196 from fushinari/patch-1
README: remove non-working instances
2022-01-06 17:33:41 +01:00
Mufeed Ali
f0f4351e71
README: remove non-working instances
Remove instances that don't work anymore
2022-01-06 21:56:03 +05:30
Piero Toffanin
2c2dd99d28
Merge pull request #195 from SethFalco/download-btn
bug: optimize download btn for mobile
2022-01-04 23:07:13 -05:00
Seth Falco
558f58e4b2
bug: optimize download btn for mobile 2022-01-04 21:13:43 +01:00
Piero Toffanin
5176c18625
Merge pull request #194 from SethFalco/translate-type-buttons
bug: fix translate text/file buttons
2022-01-04 14:36:04 -05:00
Seth Falco
da36cd77cd
fix translate text/file buttons 2022-01-04 20:20:02 +01:00
Piero Toffanin
27c4c12c1f
Merge pull request #191 from SethFalco/chore
chore: update url to avoid redirect
2021-12-31 10:57:43 -05:00
Piero Toffanin
3c8ef04049
Merge pull request #192 from SethFalco/editorconfig
chore: add editorconfig
2021-12-31 10:57:04 -05:00
Seth Falco
70c86a6903
chore: add editorconfig 2021-12-31 11:52:48 +01:00
Seth Falco
9734852fb5
chore: update url to avoid redirect 2021-12-31 11:35:03 +01:00