mirror of
https://github.com/friendica/friendica
synced 2026-04-21 02:57:20 +02:00
i18n string extraction util
This commit is contained in:
parent
8ba3737b3b
commit
e25e40f1ef
7 changed files with 871 additions and 9 deletions
17
util/typo.php
Normal file
17
util/typo.php
Normal 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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue