diff options
| author | czaks <marcin@6irc.net> | 2013-07-03 01:37:48 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-31 16:00:16 -0400 |
| commit | 1f2b4e0181fc032e4f9be58306d66cb9828f9dae (patch) | |
| tree | 88822356f0c02467c25327a416ee1038b744f873 /tools | |
| parent | cb82c7d28a9d6ee6fc97ef5b7dc28b174b8fb2b3 (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)"); } |
