jsxgettext-andris
Version:
Extracts gettext strings from JavaScript, EJS, Jade, Jinja and Handlebars files. A fork of https://github.com/zaach/jsxgettext
8 lines (7 loc) • 378 B
JavaScript
// I am a normal comment
// comment: I am an extracted comment
var msg = gettext('Hello World'); // comment: I am a comment on the same line
// comment: I belong to dup
var dup = gettext('Hello translators'); // I am an ordinary, inline code comment
/// I'm a standards compliant extracted comment!
var tis = gettext('Hello everyone'); ///I am an inline triple-slash comment