ソースを参照

i18n_extract tool: replace the bundled lib with gettext forced to assume python, since it extracts more strings

tags/vichan-devel-4.0-gold
czaks 11年前
コミット
0a6a982ae9
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      tools/i18n_extract.php

+ 2
- 2
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)");
}

読み込み中…
キャンセル
保存