Commit graph

226 commits

Author SHA1 Message Date
Piero Toffanin
959f4638cc Named volume for db, --update-models arg 2022-12-20 11:13:56 -05:00
Piero Toffanin
b9293e911a Merge branch 'main' of https://github.com/LibreTranslate/LibreTranslate into m1 2022-12-11 00:55:14 -05:00
Piero Toffanin
4ab7e7d2f5 Fix auto-detect 2022-12-11 00:53:19 -05:00
Piero Toffanin
9deefbbc84 Builds/runs natively on Apple M1 2022-12-11 00:45:14 -05:00
Piero Toffanin
2b0074b94f Only show target languages, check swap, bump version 2022-12-10 00:21:38 -05:00
Piero Toffanin
0875fdc433 Server-side check for target lang 2022-12-10 00:03:21 -05:00
Piero Toffanin
6621c51b52 Fix array 2022-12-09 16:38:58 -05:00
Piero Toffanin
e79089b5c1 Extend /languages to include targets 2022-12-09 16:36:12 -05:00
Piero Toffanin
0478d4ee2c Handle empty translation 2022-12-09 14:35:39 -05:00
Piero Toffanin
b87b210bfc Fix indent 2022-12-09 14:29:44 -05:00
Piero Toffanin
30b3382af8 Fix CSS indent on firefox 2022-12-09 14:28:14 -05:00
P.J. Finlay
ee638b407d Remove Polyglot transliteration library
The model server for the Polyglot transliteration library is currently
down and the project looks unmaintained; this currently is breaking
LibreTranslate installs. This commit removes Polyglot for
transliteration but keeps using Polyglot for language detection.

- https://github.com/LibreTranslate/LibreTranslate/issues/344
- https://community.libretranslate.com/t/improving-transliteration-in-libretranslate/400
2022-11-16 08:59:11 -06:00
Seth Falco
dc7b1367f6
style: fix drop down arrow on dark mode
Signed-off-by: Seth Falco <seth@falco.fun>
2022-11-04 12:10:02 +00:00
Piero Toffanin
6cf1a931fa Fix swagger schema id for translate_file 2022-10-18 11:41:36 -04:00
Piero Toffanin
70c4571067 Add --req-limit-storage redis support 2022-10-14 13:27:34 -04:00
Piero Toffanin
bc8b331fe9 Do not decrease flood violations 2022-10-14 12:49:28 -04:00
dingedi
0e3b9a9ebd
auto focus in input textarea 2022-10-02 14:50:58 +02:00
dingedi
b833608f5c
fix swap lang 2022-10-02 14:40:25 +02:00
dingedi
54079b0276
run translation if text is in url 2022-10-02 14:31:57 +02:00
dingedi
eee2cf2f33
show iso if language name is not found (prevent error) 2022-10-02 14:20:20 +02:00
dingedi
3072219085
better display of detected language 2022-10-01 17:34:17 +02:00
Dingedi
5d8e513d45
fix 2022-10-01 17:12:05 +02:00
An | Anton Röhm
99b6a1a2f2
Show detectedLangText 2022-10-01 14:25:29 +02:00
An | Anton Röhm
b90d996965
introduce detectedLangText var to store auto-detected lang 2022-10-01 14:21:50 +02:00
dingedi
c66a519751
restore formatting only if transliteration dont fail 2022-09-23 14:20:22 +02:00
dingedi
077d6e9efa
move and improve_translation in language.py, use it for transliteration 2022-09-23 13:59:13 +02:00
dingedi
13d792b6b6
remove use of deprecated method 2022-09-17 08:45:59 +02:00
youngtrashbag
6415ea98f2
fix(css): btn-switch-language white in dark theme 2022-08-24 10:09:49 +02:00
Christian Eichert
cebeca43cb preloading the stuff 2022-08-06 20:16:01 +02:00
Christian Eichert
54bdc77bdc
brightened the Realm of Darkness
some CSS adjustments to make "Tanslate-Files" look like "Translate-Text
2022-08-06 17:08:11 +02:00
Christian Eichert
537430f55d
Update dark-theme.css
just a bit css, making <select> and <option> more readable in dark theme
2022-07-31 20:53:48 +02:00
Piero Toffanin
be88f289c7 More forgiving 2022-07-15 13:03:13 -04:00
Piero Toffanin
1dddcea794 Add --threads 2022-07-15 12:12:20 -04:00
Minosity-VR
752d2aae2c
Add api keys db path as env var (#1)
* Add API Keys DB path to command & env vars

* Create API Keys DB directory if not exists before sqlite connection & Add docker-compose example
2022-07-15 13:22:04 +02:00
Piero Toffanin
727b9192e8
Merge pull request #279 from SethFalco/chores-2
fix: fix race condition in settings and langs
2022-06-22 19:50:22 -04:00
Seth Falco
6e2df73a7f
fix: fix race condition in settings and langs 2022-06-22 23:21:19 +01:00
Piero Toffanin
c2b82e9303 Use get_api_key link in link 2022-06-21 17:00:27 -04:00
Piero Toffanin
79b9af9071 Say something on startup 2022-06-21 16:56:48 -04:00
Piero Toffanin
78d2bc7be4 Better error message when API key link is available 2022-06-21 16:39:08 -04:00
Piero Toffanin
47fc85fdec return None on failed remote key lookup 2022-06-21 16:37:06 -04:00
Piero Toffanin
ed68f1bcf9 Add --get-api-key-link 2022-06-21 15:17:42 -04:00
Piero Toffanin
8f8087f8ae Add --api-keys-remote 2022-06-21 14:57:32 -04:00
Piero Toffanin
647379aea5 Fix check_and_install_transliteration 2022-06-21 14:22:12 -04:00
dingedi
9831ba88a6
improve translation of punctuation 2022-05-30 09:14:45 +02:00
Anomalion
8eece0e984
Include dark-theme.css 2022-05-10 11:57:47 +02:00
Anomalion
d28b684ee8
Create dark-theme.css 2022-05-09 14:15:18 +02:00
dingedi
3873d51c3c
improve translation formating 2022-05-03 16:48:06 +02:00
Dingedi
5773adaabd
Revert "improve translation formating" 2022-05-03 16:43:05 +02:00
dingedi
a91303d27e
improve translation formating 2022-05-03 16:30:20 +02:00
P.J. Finlay
278a7057e4
Upgrade deprecated Argos Translate call
- load_installed_languages has been deprecated in favor of get_installed_languages
2022-04-30 06:15:54 -05:00