Forked from https://github.com/mvhenten/extract-gettext
Message is properly extracted in following cases:
intl.formatMessage('message')
- string literal enclosed in one of ` ' " quote typesintl.formatMessage('message1' + 'message2')
- string concatenation
Message is not extracted in following cases:
intl.formatMessage(nonStringExpression)
- any non-string argument, including var/const reference and function call
Message is not properly extracted in following cases:
intl.formatMessage('message' + "message ')")
- concatenation of strings with different quotes when second string contains quote from first string followed by comma or closing parenthesis