jsxgettext:从JavaScript,EJS和其他模板格式中提取gettext调用

时间:2021-03-01 17:45:58
【文件属性】:
文件名称:jsxgettext:从JavaScript,EJS和其他模板格式中提取gettext调用
文件大小:46KB
文件格式:ZIP
更新时间:2021-03-01 17:45:58
JavaScript jsxgettext 带有CLI的节点模块,可从JavaScript,EJS,Jade,Jinja,Swig和Handlebars文件中提取gettext字符串。 对JavaScript文件使用真正的解析器 ,并识别出以下用途: gettext ( "Hello world!" ) ; gettext ( "Hello " + 'world!' ) ; myModule . gettext ( "Hello " + 'world!' ) ; gettext . call ( myObj , "Hello " + 'world!' ) ; ngettext ( "Here's an apple for you" , "Here are %s apples for you" , 3 ) ; ngettext ( "Here's an apple" + ' for you' , "Here
【文件预览】:
jsxgettext-master
----.jshintrc(320B)
----.gitignore(21B)
----package.json(2KB)
----.travis.yml(300B)
----LICENSE(16KB)
----.jshintignore(33B)
----README.md(2KB)
----lib()
--------cli.js(3KB)
--------jsxgettext.js(8KB)
--------parsers()
----.npmignore(172B)
----test()
--------.jshintrc(66B)
--------outputs()
--------index.js(87B)
--------utils.js(404B)
--------tests()
--------inputs()

网友评论