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
Sébastien Thuret
51768e2d82
update deprecated parameter name
2022-04-07 15:56:57 +02:00
Piero Toffanin
9eb1bff261
Merge pull request #237 from dingedi/main
...
Run test for pull requests, add some functional tests
2022-04-06 09:41:30 -04:00
Dingedi
5b45b9a53b
Focus textarea after delete text
2022-04-03 18:08:10 +02:00
Sébastien Thuret
d7377d174b
/languages should be only available for GET
2022-04-03 13:17:13 +02:00
Sébastien Thuret
00a6039289
Refactor & add the first test !
2022-04-02 22:26:37 +02:00
Sébastien Thuret
a88841c174
upgrade-to-flask2
2022-03-26 09:02:54 +01:00
Kyle Harrity
2499c6c379
include language detected, confidence for /translate calls with auto detect
2022-03-25 02:19:56 -04:00
Piero Toffanin
c3548bffe1
Memoize
2022-03-04 10:24:29 -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
Mufeed Ali
9edcbe8bea
suggestions: Abort when missing parameters
2022-02-20 22:52:12 +05:30
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
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
Sébastien Thuret
6b18b23b46
Add --disable-web-ui
2022-02-07 11:02:32 +01:00