i18n string extraction util

This commit is contained in:
Mike Macgirvin 2010-09-29 18:11:23 -07:00
commit e25e40f1ef
7 changed files with 871 additions and 9 deletions

17
util/typo.php Normal file
View file

@ -0,0 +1,17 @@
<?php
// Tired of chasing typos and finding them after a commit.
// Run this from cmdline in basedir and quickly see if we've
// got any parse errors in our application files.
include 'boot.php';
$a = new App();
$files = glob('mod/*.php');
foreach($files as $file)
include_once($file);
$files = glob('include/*.php');
foreach($files as $file)
include_once($file);