Commit graph

11 commits

Author SHA1 Message Date
nicobo
1ecfe58f55
+ allows disabling hello and goodbye if they're empty
~ fixed wrong log
2020-05-15 00:52:26 +02:00
nicobo
bd817f3691
~ fixed : compatibility with raspbian (older) pyyaml version
~ cleaner locale handling
~ updated installation 
+ a few more logs
2020-05-14 23:58:19 +02:00
nicobo
698335d3b9
+ helpers.py (filter_files)
- --language (only --language-file is really useful)
+ specific case to translate into a given langaue (fixes #3)
2020-05-13 23:53:12 +02:00
nicobo
d2545b2f0c
+ Adding a template for all messages : fixes #15 2020-05-13 07:33:13 +02:00
nicobo
4b57c1107d
Fixes #13 : using \b word boundaries to better isolate keywords in messages 2020-05-12 23:57:08 +02:00
nicobo
9466e8378c
+ allowed multiple times --keywords-file
~ keywords.json replaced with others *.keywords.json
2020-05-12 23:33:49 +02:00
nicobo
a68935e402
~ Fixed : loadKeywords would crash with the new return format of translate() 2020-05-12 22:33:50 +02:00
nicobo
bf6a56d5df
+ manually added "Hi" to the keywords
+ hello keywords moved to a separate file
+ goodbye keywords
2020-05-12 22:33:02 +02:00
nicobo
1133d6c213
+ increased number of attempts to 5 because it doesn't find a translation too often with only 3
+ fixes #7 : increased logs (not truncating anymore + added full 
translation response + added winner language)
~ translate now returns the full JSON answer rather than only the text
2020-05-12 22:06:20 +02:00
nicobo
bfe3cda1e0
+ working code with console and signal backend 2020-05-12 07:46:27 +02:00
nicobo
f158af1fc6
Initial commit 2020-05-05 08:05:32 +02:00