fix: tweak English language check logic.
authorplainheart <yhen@all-my-life.cn>
Sun, 7 Feb 2021 14:39:15 +0000 (22:39 +0800)
committerplainheart <yhen@all-my-life.cn>
Sun, 7 Feb 2021 14:39:52 +0000 (22:39 +0800)
commit2841d0858c73c97e281d208bf30c7223f69eea7c
tree6f287a04e31cec646ff8353231e51bf64b36ed52
parentad172b8e5fc86f78349b748f45cb35279b9eee1d
fix: tweak English language check logic.
src/translator.js
src/util.js
test/translator.test.js [new file with mode: 0644]