diff options
| author | czaks <marcin@6irc.net> | 2013-07-03 01:37:48 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-07-03 01:37:48 -0400 |
| commit | 0a6a982ae9f3418d905b1869a8f284f3c08b3382 (patch) | |
| tree | bb48519c8f4d4aab1093bfacbd6f851256aa7e42 /tools | |
| parent | f9abd0669bcb62e974ad24cd17078e46d6436428 (diff) | |
i18n_extract tool: replace the bundled lib with gettext forced to assume python, since it extracts more strings
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/i18n_extract.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/i18n_extract.php b/tools/i18n_extract.php index b43e16a0..33650b50 100755 --- a/tools/i18n_extract.php +++ b/tools/i18n_extract.php @@ -42,6 +42,6 @@ foreach ($locales as $loc) { xgettext -d tinyboard -L php --from-code utf-8 $join -c $(find ../../../../ -name \*.php)"); // Generate javascript.po - passthru("cd tools/inc/lib/jsgettext/; - php jsgettext.php -o ../../../../$locdir/LC_MESSAGES/javascript.po $(find ../../../../js/ -name \*.js)"); + passthru("cd $locdir/LC_MESSAGES; + xgettext -d javascript -L Python --force-po --from-code utf-8 $join -c $(find ../../../../js/ -name \*.js)"); } |
