Diff of /mambo/branches/4.6/includes/mambolanguage.class.php
Parent Directory
|
Revision Log
|
Patch
| revision 459, Wed Apr 12 00:03:38 2006 UTC | revision 466, Wed Apr 12 22:31:51 2006 UTC | |
|---|---|---|
| # | Line 152 | Line 152 |
| 152 | function updateFiles() { | function updateFiles() { |
| 153 | $dir = $this->path . $this->name . '/'; | $dir = $this->path . $this->name . '/'; |
| 154 | $langfiles = mosReadDirectory($dir, '.po$'); | $langfiles = mosReadDirectory($dir, '.po$'); |
| 155 | /*set_time_limit(360);*/ | set_time_limit(60); |
| $admin = new PHPGettextAdmin(); | ||
| $cmd = "msgcat --use-first -o $dir"."compendium.po ".$dir.implode(" $dir", $langfiles); | ||
| $admin->execute($cmd); | ||
| 156 | ||
| 157 | foreach ($langfiles as $lf) { | foreach ($langfiles as $lf) { |
| 158 | $domain = substr($lf, 0, -3); | $domain = substr($lf, 0, -3); |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

