1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-15 04:00:11 +01:00
Commit Graph

294 Commits

Author SHA1 Message Date
Piero Toffanin
dc194db0dd Refactor translate_file endpoint 2023-11-08 21:55:55 -05:00
Piero Toffanin
cbe1c5db71 Fix auto batch translation 2023-11-08 21:49:56 -05:00
Rex_sa
881a0e8874
Translated using Weblate (Arabic)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/ar/
2023-11-02 04:00:21 +00:00
Piero Toffanin
02ea8ae011 Switch linguars for langdetect 2023-10-30 20:39:30 -04:00
Piero Toffanin
5033f58e0d Handle zt lingua case 2023-10-30 13:23:16 -04:00
Piero Toffanin
2972292fc5 Fix string index out of range fault 2023-10-30 13:09:39 -04:00
Piero Toffanin
6ff5bba000 Add lexilang for language detection on short texts 2023-10-30 12:52:33 -04:00
Piero Toffanin
c9592a236a Fix trailing whitespace 2023-10-30 00:35:40 -04:00
Piero Toffanin
3fd2abc1f9 Run ruff 2023-10-30 00:20:11 -04:00
Piero Toffanin
522b8b03d7 Fix some warnings 2023-10-30 00:09:52 -04:00
Piero Toffanin
6c5fa2a4ee Use lingua for language detection 2023-10-30 00:03:00 -04:00
Piero Toffanin
8e3eac60cd Merge branch 'main' of https://github.com/uav4geo/LibreTranslate 2023-10-27 10:03:14 -04:00
Piero Toffanin
001a870fbd Improve layout on mobile 2023-10-27 10:02:56 -04:00
Fqwe1
d6ebead75f
Translated using Weblate (Ukrainian)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/uk/
2023-10-23 10:00:39 +02:00
Fqwe1
d1fe43cc3b
Translated using Weblate (Ukrainian)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/uk/
2023-10-21 21:02:12 +02:00
Piero Toffanin
e5258d0cb6 Fix translate into sort order 2023-10-19 14:52:16 -04:00
Piero Toffanin
87322de964 Unicode title 2023-10-19 13:20:23 -04:00
Fqwe1
d4eecca927
Update meta.json 2023-10-18 04:39:46 +00:00
Piero Toffanin
09b42256a2 Fix download button color 2023-10-09 16:17:38 -04:00
Piero Toffanin
b825370a88 Fix pycld2 error 2023-10-09 15:46:50 -04:00
Piero Toffanin
aac2d9820a Update strings 2023-10-09 15:20:47 -04:00
Piero Toffanin
3f9da87639 Toggle light/dark mode 2023-10-09 15:15:39 -04:00
Piero Toffanin
e0a143987f Improve loading, add TM warning 2023-10-09 14:36:20 -04:00
P.J. Finlay
bc10febe9b Don't require API key for suggestions
Remove the access check when a user submits
a suggestion. This allows submitting translation
suggestions without an API key or secret.

https://github.com/LibreTranslate/LibreTranslate/issues/490
2023-10-01 08:07:55 -05:00
Skrripy
e0be164b2c
Translated using Weblate (Ukrainian)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/uk/
2023-09-30 09:00:49 +00:00
Michael Lewnton
f772705495
Translated using Weblate (Greek)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/el/
2023-09-30 09:00:48 +00:00
Piero Toffanin
bc4bf7cadb
Merge branch 'main' into add_update_option 2023-09-29 21:30:45 -04:00
Robert George
94f63cedda
Use package.version for model version comparison
Change `--install-models` to `--force-update-models`
2023-09-29 15:31:33 -07:00
Robert George
cb11dfc6b1
Allow json submission to /suggest 2023-09-29 13:49:52 -07:00
Robert George
78713d8017
Added option to update models rather than reinstall 2023-09-29 13:43:59 -07:00
Olivier Dragon
81ba2b81e9
Translated using Weblate (French)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/fr/
2023-09-27 02:59:46 +00:00
Olivier Dragon
457295a4cb
French translation is complete 2023-09-25 22:38:57 -04:00
ShareASmile
243affe139
Translated using Weblate (Hindi)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/hi/
2023-09-23 14:04:59 +00:00
ShareASmile
128b3dc34f
Added translation using Weblate (Punjabi) 2023-09-23 14:04:59 +00:00
P.J. Finlay
ef902e0257 Fix text color in dark mode
Currently when the browser has a dark theme enabled
the language selection dropdown has white text on a
white background that is un-readable.

This commit changes the dropdown select to have black
text on a white background.

https://github.com/LibreTranslate/LibreTranslate/issues/491
2023-09-16 17:00:10 -05:00
Michael Lewnton
b3d4d53d33
Translated using Weblate (Greek)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/el/
2023-09-13 09:54:35 +02:00
Reza Almanda
44a39763bf
Translated using Weblate (Indonesian)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/id/
2023-09-06 13:02:41 +02:00
Blueberry
1147e7e95a
Translated using Weblate (Russian)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/ru/
2023-09-05 13:54:35 +02:00
Olivier Dragon
1c56ad3dd5
Translated using Weblate (French)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/fr/
2023-09-05 13:54:35 +02:00
Blueberryy
7b6089c438
added 2 new languages to translation file 2023-09-04 16:45:30 +05:00
Wojtek Jurkowlaniec
f89fbfc147
Translated using Weblate (Polish)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/pl/
2023-09-01 13:56:32 +02:00
Maciej Olko
508326caae
Translated using Weblate (Polish)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/pl/
2023-08-31 12:59:19 +02:00
Eryk Michalak
52ccc73e20
Translated using Weblate (Polish)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/pl/
2023-08-31 09:05:05 +02:00
Ali Evcil
c20c24ebac
Translated using Weblate (Azerbaijani)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/az/
2023-08-31 09:05:05 +02:00
Dimitri Hauet
4eb5538e34
Translated using Weblate (French)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/fr/
2023-08-22 06:44:13 +02:00
Milan Šalka
fafc6a0cc6
Translated using Weblate (Slovak)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/sk/
2023-08-10 23:59:12 +02:00
Simon Hahne
d8a2784ccc
Translated using Weblate (German)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/de/
2023-08-04 19:05:00 +02:00
P.J. Finlay
ee9438446f Always show favicon
Currently the LibreTranslate web app only shows
the favicon icon when the `LT_WEB=1` environment
variable is set. LT_WEB is used to disable
metadata by default to prevent search engines
from indexing private LibreTranslate instances.
This commit makes the favicon available even when
the metadata is disabled.

- https://github.com/LibreTranslate/LibreTranslate/issues/471
2023-07-29 13:42:20 -05:00
Overplant Poster
d9313d02a0
Translated using Weblate (Sinhala)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/si/
2023-07-27 09:54:20 +02:00
Rex_sa
cec61ae70d
Translated using Weblate (Arabic)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/ar/
2023-07-26 22:09:09 +02:00
Overplant Poster
4fceca09f5
Added translation using Weblate (Sinhala) 2023-07-26 22:09:09 +02:00
Vincent Emonet
25168ba6e1 Add pre-commit to automatically run formatting when committing 2023-07-23 13:24:15 +02:00
Piero Toffanin
5e6cd19327 Fix download button CSS 2023-07-19 12:45:23 +02:00
Piero Toffanin
e20c1b1135 Improve Japanese punctuation 2023-07-17 19:59:55 +02:00
Vincent Emonet
0d989ac537 Merge branch 'main' into use-standard-build-system 2023-07-10 08:49:42 +02:00
Vincent Emonet
a1eb871bb6 Edit publish workflow to reuse existing test workflow, and use the build package to build the libretranslate package 2023-07-10 08:11:51 +02:00
Seth Falco
1c3f3e5696
fix: make code blocks match height 2023-07-09 12:25:03 +01:00
Vincent Emonet
1c0fb597fb Fixed some ruff warnings: requests without timeout and naming not complying with PEP 2023-07-09 12:38:03 +02:00
Vincent Emonet
bf18dcbcf9 run ruff formatting 2023-07-09 12:29:11 +02:00
Piero Toffanin
dcc821bc3c
Merge pull request #458 from SethFalco/fix-437
fix: don't update url after character-limit
2023-07-08 14:52:07 +02:00
Seth Falco
4f6145e275
fix: don't update url after character-limit 2023-07-08 13:32:17 +01:00
Piero Toffanin
57cfdec439
Merge pull request #459 from SethFalco/fix-query-params
fix: stop double encoding query params
2023-07-08 14:27:12 +02:00
Seth Falco
193b6284d4
fix: fix error message UI on dark mode 2023-07-08 11:59:07 +01:00
Seth Falco
b3ac81ebca
fix: avoid browser pop-up message 2023-07-08 11:58:46 +01:00
Seth Falco
9032605138
fix: request and push notification on file translations 2023-07-08 11:58:26 +01:00
Seth Falco
97dcb1decc
fix: stop double encoding query params 2023-07-08 04:48:26 +01:00
Seth Falco
d4071e8a02
fix(css): fix issues visual issues with dark theme 2023-07-08 04:18:12 +01:00
Seth Falco
5e6d1642e3
fix: make textarea text white in dark theme 2023-07-08 02:23:53 +01:00
Seth Falco
88021880cd
chore: clean up theming 2023-07-04 20:02:15 +01:00
jonnysemon
909851d59b
Translated using Weblate (Arabic)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/ar/
2023-07-02 15:53:13 +02:00
J. Lavoie
29bf14b399
Translated using Weblate (French)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/fr/
2023-06-29 04:45:55 +02:00
J. Lavoie
9c127da7e4
Translated using Weblate (German)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/de/
2023-06-29 04:45:55 +02:00
zerof
ee051dc634
Translated using Weblate (Serbian)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/sr/
2023-06-22 21:41:53 +02:00
zerof
03dcf4226d
Translated using Weblate (Russian)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/ru/
2023-06-22 21:41:52 +02:00
zerof
e012c71429
Added translation using Weblate (Serbian) 2023-06-21 10:51:58 +02:00
Jessica Patricio
7359e93704
Translated using Weblate (Portuguese (Brazil))
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/pt_BR/
2023-06-20 13:29:32 +02:00
Jessica Patricio
81ed31c696
Translated using Weblate (Portuguese)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/pt/
2023-06-20 13:29:30 +02:00
Jessica Patricio
96f8a386a4
Added translation using Weblate (Portuguese (Brazil)) 2023-06-19 23:26:53 +02:00
Sungjoon Moon
91533c9228
Translated using Weblate (Korean)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/ko/
2023-06-19 22:49:39 +02:00
T. Alexander
5ff8913deb
Translated using Weblate (Norwegian Bokmål)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/nb_NO/
2023-06-03 04:40:28 +02:00
Surena
aaaf050f96
Translated using Weblate (Persian)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/fa/
2023-06-03 04:40:27 +02:00
Surena
f0424d9452
Translated using Weblate (Persian)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/fa/
2023-06-01 15:49:39 +02:00
Locid
bae0a570e2
Translated using Weblate (Indonesian)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/id/
2023-05-31 09:48:18 +02:00
Peter Dave Hello
35cd80169f
Translated using Weblate (Indonesian)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/id/
2023-05-31 09:48:18 +02:00
Peter Dave Hello
d2ba27b276
Translated using Weblate (Indonesian)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/id/
2023-05-30 09:04:39 +02:00
Locid
cac2167d86
Translated using Weblate (Indonesian)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/id/
2023-05-30 09:04:39 +02:00
Piero Toffanin
fdb317c559 Don't force ASCII output 2023-05-29 16:47:32 -04:00
Peter Dave Hello
9f1417f28c
Translated using Weblate (Chinese (Traditional))
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/zh_Hant/
2023-05-18 19:53:14 +02:00
Peter Dave Hello
9d1726691b
Added translation using Weblate (Chinese (Traditional)) 2023-05-15 19:00:24 +02:00
ButterflyOfFire
9c87de49ed
Kabyle language reviewed 2023-05-12 19:42:34 +01:00
Jorge Maldonado Ventura
80ef24477e
Translated using Weblate (Esperanto)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/eo/
2023-05-02 21:52:50 +02:00
GpixeL
29b89ed128
Translated using Weblate (Indonesian)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/id/
2023-05-01 13:52:50 +02:00
Tamir Ben-Arie
b6daa29a7c
Translated using Weblate (Hebrew)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/he/
2023-05-01 13:52:50 +02:00
Tamir Ben-Arie
7d2248d781
Translated using Weblate (Hebrew)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/he/
2023-04-29 23:52:45 +02:00
Piero Toffanin
90f1fa9b41
Merge pull request #434 from misuzu/flask-babel-3-compat
Fix compatibility with flask-babel v3
2023-04-27 13:16:12 -04:00
misuzu
0f8952fd10 Fix compatibility with flask-babel v3+
Babel.locale_selector was removed in 3.0.0
2023-04-27 19:43:39 +03:00
oTalDoNexus
fb8fcda2af
Translated using Weblate (Portuguese)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/pt/
2023-04-24 21:53:07 +02:00
Piero Toffanin
db3bcedf32
Update meta.json 2023-04-23 11:58:45 -04:00
Piero Toffanin
a85e6c49fc
Merge pull request #431 from jorgesumle/main
Reviewed Esperanto translation
2023-04-21 02:09:23 -04:00
oTalDoNexus
30151c54fc
Translated using Weblate (Portuguese)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/pt/
2023-04-21 08:08:38 +02:00