Added support for fully qualified translation messages which will be

fetched from the message bundle embedded in the fully qualified key even
if they are being translated within the context of another message bundle.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2060 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-12-12 22:24:51 +00:00
parent df30c37892
commit d6f5a4da4d
2 changed files with 95 additions and 4 deletions
@@ -1,5 +1,5 @@
//
// $Id: MessageManager.java,v 1.5 2002/11/01 00:01:37 mdb Exp $
// $Id: MessageManager.java,v 1.6 2002/12/12 22:24:51 mdb Exp $
package com.threerings.util;
@@ -130,7 +130,7 @@ public class MessageManager
// initialize our message bundle, cache it and return it (if we
// couldn't resolve the bundle, the message bundle will cope with
// it's null resource bundle)
bundle.init(path, rbundle, _global);
bundle.init(this, path, rbundle, _global);
_cache.put(path, bundle);
return bundle;
}