Commit graph

176 commits

Author SHA1 Message Date
Sébastien Thuret
5f2d0435f2
change tmp dir 2021-10-25 11:06:39 +02:00
Sébastien Thuret
8d5a418bee
format 2021-10-25 10:56:17 +02:00
Sébastien Thuret
bcbaf52777
format 2021-10-25 10:52:55 +02:00
Sébastien Thuret
6a304df2e8
add download link & auto download translated file 2021-10-25 10:50:55 +02:00
Sébastien Thuret
b97134ac07
fix 2021-10-25 10:33:49 +02:00
Sébastien Thuret
73ebb96171
fix 2021-10-24 19:14:09 +02:00
Sébastien Thuret
4f0d19dbc4
download work 2021-10-24 18:44:35 +02:00
Sébastien Thuret
f0d6c92db7
create download_file route 2021-10-24 18:38:35 +02:00
Sébastien Thuret
0b14600199
Add file translation 2021-10-24 18:27:37 +02:00
Sébastien Thuret
82c2f4396d
Add files restriction for input 2021-10-24 17:41:29 +02:00
Sébastien Thuret
aaa3c83d4f
add file and translate button display 2021-10-24 17:38:53 +02:00
Sébastien Thuret
50ce3720eb
remove console.log 2021-10-24 17:11:39 +02:00
Sébastien Thuret
ae5d67d966
Show supported file format and add it to settings 2021-10-24 16:57:45 +02:00
Sébastien Thuret
e0ecf41526
Upgrade to VueJS v2.6.14 2021-10-24 16:57:17 +02:00
Sébastien Thuret
6f63bab8a1
add file input 2021-10-24 13:22:44 +02:00
Sébastien Thuret
f906a39f66
make switch type work 2021-10-24 13:15:36 +02:00
Sébastien Thuret
4e1bfd398c
fix background color 2021-10-24 13:13:52 +02:00
Sébastien Thuret
e58b8ff97d
Add switch type (text or files ) button 2021-10-24 12:53:52 +02:00
Sébastien Thuret
7b3d9f286e
Added version number for assets that may change 2021-10-09 18:25:28 +02:00
Sébastien Thuret
7df304d955
Move the javascript in his own file 2021-10-09 18:16:50 +02:00
Piero Toffanin
9960baa9c8 Swagger docs definition 2021-10-09 10:04:16 -04:00
Sébastien Thuret
0ff3ca65fb
Disable suggestions by default 2021-10-09 15:45:58 +02:00
Sébastien Thuret
0561deb1b4
Save suggestions in a database 2021-10-09 11:44:07 +02:00
Sébastien Thuret
c02658984e
send good parameter 2021-10-09 11:43:22 +02:00
Sébastien Thuret
b8f41c8d94
Adding a notification after sending 2021-10-09 11:25:56 +02:00
Sébastien Thuret
130aaecb76
Merge remote-tracking branch 'origin/main' into main 2021-10-09 11:04:58 +02:00
Sébastien Thuret
deaa95e3c6
Dont show edit button when loading translations 2021-10-09 11:04:10 +02:00
Dingedi
b08cd2cc4c
Merge branch 'LibreTranslate:main' into main 2021-10-09 10:53:22 +02:00
Piero Toffanin
071b1f399b
Update index.html 2021-10-09 00:32:36 -04:00
Sébastien Thuret
5dcb55cad9
fix button state 2021-10-08 19:12:56 +02:00
Sébastien Thuret
f5bc2bc3f5
fix 2021-10-08 19:02:30 +02:00
Sébastien Thuret
0214d7bfd6
add buttons 2021-10-08 18:36:24 +02:00
Piero Toffanin
b73e146baf Fix HTML translation formatting, automatically detect HTML in translation UI 2021-09-24 11:30:19 -04:00
Piero Toffanin
a41f5671b0 Add HTML note in README, tweak swagger def 2021-09-11 16:02:10 -04:00
Sébastien Thuret
0a7c8ebae9 Add html translation 2021-09-11 15:08:57 +02:00
Piero Toffanin
6e05a04ff9 Revert "ReqKey check"
This reverts commit 5c3cf0a392.
2021-09-08 16:24:50 -04:00
Piero Toffanin
5c3cf0a392 ReqKey check 2021-09-08 16:14:39 -04:00
Piero Toffanin
94f4f74892 Better X-Forwarded-For logic 2021-09-08 21:41:12 +02:00
alefvanoon
fe0e4aa66d
Add dir="auto" to translatedText area 2021-09-04 13:29:29 +02:00
alefvanoon
01683534f4
Add dir="auto" to fix rtl lang problem 2021-09-04 13:24:05 +02:00
PalmerAL
c29cecbb63 improve auto-detect for batch requests with multiple languages 2021-08-02 00:06:56 -05:00
euberdeveloper
1b87edfaca
fix(default_values.py): remove debug print 2021-07-25 23:31:05 +02:00
euberdeveloper
b56245ca14
fix: fix typo 2021-07-12 23:41:03 +02:00
euberdeveloper
1574f62985
feat(cli): add env vars layer, between cli default values and passed args
Signed-off-by: euberdeveloper <euberdeveloper@gmail.com>
2021-07-12 22:43:06 +02:00
Dominik
9c1add4ff9
Add min-height to main app
Adds min-height: 80vh; The footer will stay always at the bottom on big screens and looks normal on mobile devices.
2021-07-08 12:26:08 +02:00
Piero Toffanin
64d270dc4d wsgi support 2021-07-06 20:26:06 -04:00
Piero Toffanin
29457397a1 Fix CSS 2021-07-05 09:19:46 -04:00
Piero Toffanin
cdff45efe6 Fix limits 2021-07-04 12:36:13 -04:00
idotj
42c95b9ace Add downArrow to select language + fix select language problem with small screens 2021-06-13 19:11:58 +02:00
Piero Toffanin
6e086b411b update favicon 2021-06-12 15:30:30 -04:00
Piero Toffanin
9dfd4dda09
Invalidate cache 2021-06-12 14:58:12 -04:00
Piero Toffanin
4830d6d030 obtain --> get 2021-06-12 12:22:43 -04:00
Piero Toffanin
795656c517 API key link update 2021-06-12 12:22:14 -04:00
Piero Toffanin
abdf6c4ec5 Update logo 2021-06-12 12:20:04 -04:00
Piero Toffanin
893176bf7f Add logo, move uav4geo --> LibreTranslate 2021-06-12 12:18:21 -04:00
Piero Toffanin
dcaf125d8a Set selected attributes 2021-06-12 11:28:35 -04:00
idotj
2a48133e63 fix vueJS misstype external var + change contrast color for textarea background and buttons 2021-06-11 21:03:38 +02:00
idotj
31452f01cc Add right label tag for textarea + unify styles css 2021-06-11 20:30:09 +02:00
idotj
a5d3981c7c bug: remove Response text when delete text is clicked 2021-06-11 20:13:27 +02:00
idotj
53bf91ead7 Add rel noopener/noreferrer to external links 2021-06-11 20:05:59 +02:00
idotj
81c02c9549 Translated textarea read only 2021-06-11 19:55:39 +02:00
Piero Toffanin
625aee0a84
Merge pull request #95 from idotj/main
Add html5 structure + improve UX/UI
2021-06-04 16:04:21 -04:00
Piero Toffanin
ca1049f0d3 Merge main 2021-06-03 10:39:41 -04:00
Piero Toffanin
df78ec93ef Fix daily limits for API key holders 2021-06-03 10:36:25 -04:00
idotj
5befc2094e
Add html5 structure + improve UX/UI 2021-06-02 22:57:10 +02:00
idotj
8ab8b90dfc
Add html5 structure + improve UX/UI 2021-06-02 22:54:06 +02:00
YOGESHWARAN R
32061eed7b
Fixed all pep8 errors
Removed unused imports, variables
2021-05-18 09:21:33 +05:30
YOGESHWARAN R
202db95f52
Linted with black 2021-05-18 09:11:02 +05:30
Piero Toffanin
24c77ede19 Programmatic api keys access 2021-05-17 11:41:15 -04:00
Piero Toffanin
29c1f2cd2e
Remove print 2021-05-16 11:59:39 -04:00
Piero Toffanin
5c76febaa4 Fix memory leak 2021-05-16 11:52:39 -04:00
Piero Toffanin
1ac27aeb82 Flood protection 2021-05-16 11:50:22 -04:00
Piero Toffanin
4c5d828300 Daily request limit 2021-05-16 10:57:19 -04:00
Piero Toffanin
800774f557 Remove --offline flag 2021-05-16 10:42:58 -04:00
jdu9
ae76d7efb4 Add LibreJS support 2021-03-31 17:57:02 +02:00
Stephen Sorriaux
1cf23bdc05 Fix languages reload
As this object can be updated from outside its own module, the module should be imported and
used instead.

Relates to https://github.com/uav4geo/LibreTranslate/issues/54
2021-03-28 17:26:31 -04:00
Philippe-Cholet
abeee7e385 Add option --load-only language codes
The user will not have to install language packages from "argos-translate" that he/she has no use for.
2021-03-28 16:19:19 +02:00
Piero Toffanin
79224edfe4 Catch unknown language 2021-03-12 10:53:09 -05:00
mammo0
44da802a7f some more output when installing transliteration models 2021-03-11 15:04:22 +01:00
mammo0
7967c1b2c4 reload installed language models after updating them 2021-03-11 14:42:29 +01:00
mammo0
dd128162ef use appdirs to define path to polyglot data 2021-03-11 14:42:29 +01:00
mammo0
e0693d697e download the transliteration packages of polyglot during boot 2021-03-11 14:42:29 +01:00
mammo0
25fb3b3c21 added transliteration before actual translation
-> e.g. if the source language is Russian, argostranslate expects a
cyrillic text
2021-03-11 14:42:29 +01:00
mammo0
36fee9bf1b allow batch processing for language detection 2021-03-11 14:42:29 +01:00
mammo0
d4cb859c8d removed langdetect dependency 2021-03-11 14:42:29 +01:00
mammo0
51980f6ff5 use polyglot for detecting the language 2021-03-11 14:42:29 +01:00
Piero Toffanin
b8818ff14e updated argos, validate input JSON dict 2021-03-07 17:23:25 -05:00
Piero Toffanin
3e952fbdb4 Fix Limiter: #49 2021-02-26 09:58:29 -05:00
Piero Toffanin
90de8e22a0 API keys support, bug fixes, improvements 2021-02-15 13:30:28 -05:00
Piero Toffanin
3987200f05 Expose /languages as both GET and POST 2021-02-10 13:06:11 -05:00
Tobias
50cf24a09c Merge branch 'main' of github.com:Trekky12/LibreTranslate into main 2021-02-10 17:57:57 +01:00
Tobias
42267eb8db Add offline parameter
Offline usage is possible after initializing and downloading of models
2021-02-10 17:52:03 +01:00
Piero Toffanin
2be93e45a2 Update main.py 2021-02-10 11:04:02 -05:00
Piero Toffanin
46fca61cc2 Add /detect API 2021-02-10 10:51:17 -05:00
Vincent Emonet
5eea0e75e8 Fix __init__.py files 2021-02-09 15:30:14 +01:00
Vincent Emonet
a0760eb23f updated argos to 1.1.2, fix argos translate init and templates.html render 2021-02-09 14:12:32 +01:00
Vincent Emonet
90d743796b Start adding pip setup package requirements (setup.py, __init__.py, use pkg_resource) 2021-02-09 01:24:34 +01:00
Piero Toffanin
9191524c04 Updated argos translate to 1.1.0 2021-02-08 10:56:45 -05:00
worldworm
6d5f6bdc6c Add frontend translation timeout parameter #29 2021-01-28 16:16:55 +00:00
Claas Augner
8761af718d feat(batch): add --batch-limit 2021-01-19 18:54:30 +01:00