APSL / redux-i18n

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

comment argument doesn't work #79

Open ybelenko opened 6 years ago

ybelenko commented 6 years ago

Hey, there! Your lib saves a lot of time. But I can't extract comments.

// NavigationMenu.jsx
{
    this.context.t(
        'MenuItem1_Text', {}, 'Menu 1st item link text. Comment.'
    )
}
npm run extract

Output:

## template.pot

#: src/js/components/NavigationMenu.jsx
msgid "MenuItem1_Text"
msgstr ""