]> git.mxchange.org Git - friendica.git/blobdiff - util/typo.php
navbar fix
[friendica.git] / util / typo.php
old mode 100644 (file)
new mode 100755 (executable)
index ac837ef..e20cce8
                        echo $file . "\n";
                        include_once($file);
                }
-       }
\ No newline at end of file
+       }
+
+       if(x($a->config,'php_path'))
+               $phpath = $a->config['php_path'];
+       else
+               $phpath = 'php';
+
+       echo "String files\n";
+
+       echo 'util/strings.php' . "\n";
+       include_once('util/strings.php');
+       echo count($a->strings) . ' strings' . "\n";
+
+       $files = glob('view/*/strings.php');
+
+       foreach($files as $file) {
+               echo $file . "\n";
+       passthru($phpath . ' util/typohelper.php ' . $file);
+//             include_once($file);
+       }