Commit Graph

16 Commits

Author SHA1 Message Date
Kristóf Tóth
c04b2bcf3a Identify langage if no language map is provided by user 2019-10-12 00:33:16 +02:00
Kristóf Tóth
4aa5a8b0a9 Add package identify to get language identification from Google 2019-10-12 00:17:48 +02:00
Kristóf Tóth
80eb2de872 Make the mocking of Google API configurable in unit tests 2019-10-11 22:40:02 +02:00
Kristóf Tóth
3ad5e57d84 Refactor and improve API 2019-10-11 22:08:06 +02:00
Kristóf Tóth
a6f5cd6268 Simplify trans API 2019-10-11 01:56:22 +02:00
Kristóf Tóth
4d035075ca Panic on environment errors instead of log.Fatalf 2019-10-09 23:10:46 +02:00
Kristóf Tóth
3bbada4461 Include more translations in result list 2019-10-09 21:58:25 +02:00
Kristóf Tóth
ce24100bf8 Implement a unit test case for parsing trans output 2019-10-09 21:05:38 +02:00
Kristóf Tóth
8b8f0e94b0 Expose interface instead of implementation detail struct 2019-04-13 16:41:16 +02:00
Kristóf Tóth
44497c7364 Handle subprocess error with more information 2019-04-07 19:37:00 +02:00
Kristóf Tóth
1bc5ec5b73 Integrate whole thingie to alfred 2019-04-06 18:09:02 +02:00
Kristóf Tóth
bd2e08e8f3 Fix translate-shell subprocess output encoding 2019-04-06 11:38:31 +02:00
Kristóf Tóth
b816c3b811 Add script to set up environment for awgo 2019-04-06 11:00:04 +02:00
Kristóf Tóth
cc261742fc Move logic to separate package 2019-04-06 01:02:12 +02:00
Kristóf Tóth
ed08bb79a2 Refactor translation 2019-04-06 00:37:17 +02:00
Kristóf Tóth
87320b19b8 Implement first POC 2019-04-06 00:30:10 +02:00