0.3.17 • Published 3 years ago
jspot v0.3.17
jspot
Extracts gettext strings from Javascript files into pot files.
$ jspot extract file.js -k _
_('foo');
_.ngettext('bar', 'bars', 23);
How to install
# npm install -g jspot
How to use
$ jspot --help
Usage: jspot <command>
command
extract Extract source from javascript files into pot files
json Convert po files to Jed-compatible json files (using po2json)
$ jspot extract --help
Usage: jspot extract <source>... [options]
source The source files to extract from.
Options:
-t DIR, --target DIR Directory to write pot files to. [.]
-k WORD, --keyword WORD Keyword to search for in source [gettext]
--header NAME:VALUE Set a header for the written pot files
Extract source from javascript files into pot files
0.3.17
3 years ago
0.3.15
6 years ago
0.3.14
7 years ago
0.3.13
7 years ago
0.3.12
8 years ago
0.3.11
8 years ago
0.3.10
8 years ago
0.3.9
8 years ago
0.3.8
9 years ago
0.3.7
9 years ago
0.3.6
9 years ago
0.3.5
10 years ago
0.3.4
10 years ago
0.3.3
10 years ago
0.3.2
10 years ago
0.3.1
10 years ago
0.3.0
10 years ago
0.2.1
10 years ago
0.2.0
10 years ago
0.1.0
10 years ago