diff options
author | wei <> | 2007-03-30 00:38:41 +0000 |
---|---|---|
committer | wei <> | 2007-03-30 00:38:41 +0000 |
commit | 3fb25eec92c0c72760c4bf8040efd4b86c446bc6 (patch) | |
tree | a7c76d761f432b29dfa567c4e46acb62a7abf18b /framework/I18N | |
parent | eddf47f3e36a30f6b905e4d667514eb34968ff8a (diff) |
Fixed #579
Diffstat (limited to 'framework/I18N')
-rw-r--r-- | framework/I18N/core/MessageSource_XLIFF.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/framework/I18N/core/MessageSource_XLIFF.php b/framework/I18N/core/MessageSource_XLIFF.php index eafc0983..64277e7b 100644 --- a/framework/I18N/core/MessageSource_XLIFF.php +++ b/framework/I18N/core/MessageSource_XLIFF.php @@ -150,7 +150,13 @@ class MessageSource_XLIFF extends MessageSource $byDir = $this->getCatalogueByDir($catalogue);
$catalogues = array_merge($byDir,array_reverse($catalogues));
- return $catalogues;
+ $files = array();
+ foreach($catalogues as $file)
+ {
+ $files[] = $file;
+ $files[] = preg_replace('/\.xml$/', '.xlf', $file);
+ }
+ return $files;
}
/**
|