You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the module you've created.
I have a problem with generating a .pot file for the code like i18nPlural(issuesAmount, `${issuesAmount} issue`, `${issuesAmount} issues`).
Variable substitutions in template strings are not supported. From the wiki:
Note: Template literals are supported, but only without placeholders. Since the string containing placeholders isn't available during runtime those can't be used for translations anyway.
I believe with node-gettext you should be using %d as a placeholder for the count.
Thank you for the module you've created.
I have a problem with generating a .pot file for the code like
i18nPlural(issuesAmount, `${issuesAmount} issue`, `${issuesAmount} issues`)
.i18nPlural is implemented with the node-gettext
No plural form generated.
Please advise.
Full source code of the extractor
The text was updated successfully, but these errors were encountered: