APSL / redux-i18n

A simple and powerful package for translate your react applications using react-redux.
MIT License
233 stars 52 forks source link

Fix: one-letter words are not extracted #162

Closed kwangminini closed 1 year ago

kwangminini commented 1 year ago

There are no one-letter words in English, but there are one-letter words in Korean. I found an issue in which one-letter words could not be extracted. (npm run extract) The cause of that issue is because of the regex in pattern of extract_util.js

So, I changed the regex and added a test. All tests were successful.

francescarpi commented 1 year ago

Thanks