UNPKG

jsxgettext-andris

Version:

Extracts gettext strings from JavaScript, EJS, Jade, Jinja and Handlebars files. A fork of https://github.com/zaach/jsxgettext

11 lines (9 loc) 296 B
p(title=gettext('foo'))= gettext('bar') | #{ gettext('same-line') } #{ gettext('in text') } span= gettext('foobar') p= _('underscored') img(alt=_('underscored 1'),title=_('underscored 2')) a( data-tip=_("data attribute") title=_("attribute - one per line") )= gettext("value - one per line")