test-anything
test-anything copied to clipboard
add i18n support
Hi! @finnp
This PR is for i18n support:smile: with workshopper-adventure.
also I added verify.js
instead of adventure-verify
, because it doesn't tap logs so I added this line. https://github.com/tgfjt/test-anything/blob/workshopper-adventure/verify.js#L58
For examples, we need these files in case of Japanese Translation:
-
i18n/ja.json
-
exercise/xxx/instruction_ja.md
-
exercise/log-it-out/messages_ja.json
but I've not translated yet!
Thanks a lot for taking the time to do this!
I am not sure about that verify fix though. Seems to me like it is a bug in workshopper-adventure
. @martinheidegger What do you think? The result of verify should be piped to stdout automaticcaly by workshopper-adventure
.
It's not only piping but also logging [object object]
.
I've read the code but I don't understand compatibily for other workshopper...
I didn't implement streaming yet (I knew i forgot something!), it has to have an API change here and some additions in here and at a few other places.
Btw.: I am in the process of refactoring the workshopper: refactoring branch to make it better readable.
Thanks, I see.. This request might be too hurry :wink: I'll try something to support streaming.
@finnp Hi! I think that it's finally done. (Great @martinheidegger wrote it almost.:smile: )
Would you review it?
Thanks.