Skip to content

Commit

Permalink
Rebuild resource files with genrb from ICU 4.2. as ICU 4.4 by default…
Browse files Browse the repository at this point in the history
… builds them in newer format.

Also added all files necessary to build resources.dat with pkgdat because syntax for command is so cryptic
  • Loading branch information
Miha Vrhovnik committed Oct 8, 2011
1 parent 438581d commit 395f580
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
Expand Up @@ -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');
Expand All @@ -30,6 +31,9 @@ public function testLoad()

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');
Expand Down
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
en.res
fr.res
Binary file not shown.
Binary file not shown.

0 comments on commit 395f580

Please sign in to comment.