Keep the "locale" prefix when updating the package.xml.
authorGunnar Wrobel <p@rdus.de>
Fri, 22 Oct 2010 15:38:09 +0000 (17:38 +0200)
committerGunnar Wrobel <p@rdus.de>
Fri, 22 Oct 2010 15:38:09 +0000 (17:38 +0200)
components/lib/Components/Pear/Package.php

index 0ac79b7..b978607 100644 (file)
@@ -296,12 +296,12 @@ class Components_Pear_Package
             case 'lib':
             case 'test':
             case 'data':
-            case 'locale':
                 $package->addInstallAs(
                     $file['attribs']['name'], $components[1]
                 );
             break;
             case 'js':
+            case 'locale':
                 $package->addInstallAs(
                     $file['attribs']['name'], $file['attribs']['name']
                 );