js i18n: misc fixes; quick-reply.js i18n

Conflicts:
	js/quick-reply.js
	templates/main.js
This commit is contained in:
czaks 2013-07-03 01:04:08 -04:00 committed by Michael Foster
parent 291a0f02cb
commit ca72ad64ca

View File

@ -35,10 +35,10 @@ foreach ($locales as $loc) {
if (file_exists($locdir."/LC_MESSAGES/tinyboard.po")) $join = "-j";
else $join = "";
`cd $locdir/LC_MESSAGES;
msgfmt tinyboard.po`;
msgfmt tinyboard.po -o tinyboard.mo`;
// Generate javascript.po
`cd tools/inc/lib/jsgettext/;
php po2json.php -i ../../../../$locdir/LC_MESSAGES/javascript.po \
-o ../../../../$locdir/LC_MESSAGES/javascript.js -k tb_i18n`;
-o ../../../../$locdir/LC_MESSAGES/javascript.js`;
}