Extract translatable strings from Prado Localization Tags (i.e. <%[string]%>
).
It can be used stand-alone or through xgettext-template.
Parses the template
string for Prado expressions using the keywordspec.
It returns an object with this structure:
{
msgid1: {
line: [1, 3]
},
msgid2: {
line: [2],
plural: 'msgid_plural'
},
context\u0004msgid2: {
line: [4]
}
}
git clone git@github.com:smhg/gettext-prado.git
npm i
npm run lint
npm test