Author: david
Date: Fri Nov 12 11:52:50 2010
New Revision: 8834

Log:
Cosmetic changes.

Modified:
   trunk/vendor/symfony/lib/i18n/extract/sfI18nPluginExtract.class.php

Modified: trunk/vendor/symfony/lib/i18n/extract/sfI18nPluginExtract.class.php
==============================================================================
--- trunk/vendor/symfony/lib/i18n/extract/sfI18nPluginExtract.class.php Fri Nov 
12 11:17:39 2010        (r8833)
+++ trunk/vendor/symfony/lib/i18n/extract/sfI18nPluginExtract.class.php Fri Nov 
12 11:52:50 2010        (r8834)
@@ -28,14 +28,12 @@
     {
       throw new sfException('You must give a "path" parameter when extracting 
for a plugin.');
     }
-
-    $this->setMessageSource();
   }
 
   /**
-   * Use local plugin messageSource
+   * @see sfI18nExtract
    */
-  protected function setMessageSource()
+  protected function loadMessageSources()
   {
     $opt = $this->i18n->getOptions();
     $this->messageSource = sfMessageSource::factory($opt['source'], 
$this->parameters['path'].'/i18n');
@@ -54,11 +52,9 @@
         $this->parameters['path'].'/modules/'.$moduleName.'/actions',
         $this->parameters['path'].'/modules/'.$moduleName.'/lib',
         $this->parameters['path'].'/modules/'.$moduleName.'/templates',
+        $this->parameters['path'].'/lib'
       ));
     }
-
-    // Extract from lib files
-    $this->extractFromPhpFiles($this->parameters['path'].'/lib');
   }
 
   /**

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to