Rebuild resource files with genrb from ICU 4.2. as ICU 4.4 by default builds them in newer format.

Also added all files necessary to build resources.dat with pkgdat because syntax for command is so cryptic
This commit is contained in:
Miha Vrhovnik 2011-10-08 16:41:17 +02:00
parent 438581deda
commit 395f580fd7
6 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,7 @@ class ResourceBundleFileLoaderTest extends LocalizedTestCase
{
public function testLoad()
{
// resource is build using genrb command
$loader = new ResourceBundleLoader();
$resource = __DIR__.'/../fixtures/resourcebundle/res';
$catalogue = $loader->load($resource, 'en', 'domain1');
@ -30,6 +31,9 @@ class ResourceBundleFileLoaderTest extends LocalizedTestCase
public function testDatEnglishLoad()
{
// bundled resource is build using pkgdata command which at leas in ICU 4.2 comes in extremely! buggy form
// you must specify an temporary build directory which is not the same as current directory and
// MUST reside on the same partition. pkgdata -p resources -T /srv -d . packagelist.txt
$loader = new ResourceBundleLoader();
$resource = __DIR__.'/../fixtures/resourcebundle/dat/resources';
$catalogue = $loader->load($resource, 'en', 'domain1');