Changeset 1786 for branches/3.0
- Timestamp:
- 03/29/2007 07:01:12 PM (20 months ago)
- Location:
- branches/3.0
- Files:
-
- 2 modified
-
HISTORY (modified) (1 diff)
-
framework/I18N/core/MessageSource_XLIFF.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/HISTORY
r1764 r1786 7 7 BUG: Ticket#558 - TRadionButtonList generates a empty onclick attribute (Qiang) 8 8 BUG: Ticket#573 - NumberFormat Bug (Wei) 9 ENH: Ticket#367 - Change default extension for XLIFF files (Wei, changed to support .xlf extension). 10 ENH: Upgraded javascript library Prototype to version 1.5.0 (Wei) 11 ENH: Upgraded javascript library Scriptaculous to version 1.7.0 (Wei) 12 ENH: Upgraded TinyMCE editor to version 2.1 (Wei) 9 13 10 14 Version 3.0.6 December 4, 2006 -
branches/3.0/framework/I18N/core/MessageSource_XLIFF.php
r1546 r1786 151 151 $byDir = $this->getCatalogueByDir($catalogue); 152 152 $catalogues = array_merge($byDir,array_reverse($catalogues)); 153 return $catalogues; 153 $files = array(); 154 foreach($catalogues as $file) 155 { 156 $files[] = $file; 157 $files[] = preg_replace('/\.xml$/', '.xlf', $file); 158 } 159 return $files; 154 160 } 155 161 … … 479 485 $file = $this->getSource($variant); 480 486 $dir = dirname($file); 481 if(!is_dir($dir)) 487 if(!is_dir($dir)) 482 488 { 483 489 @mkdir($dir);
