Added code to allow the creation of custom message bundles to go along

with a particular bundle's translation files. Mainly so Ray can do his
funny business with the pirate message translations.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1321 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-05-01 02:45:00 +00:00
parent d026daa466
commit 3f91aed3aa
2 changed files with 34 additions and 6 deletions
@@ -1,5 +1,5 @@
//
// $Id: MessageBundle.java,v 1.8 2002/04/30 17:45:27 mdb Exp $
// $Id: MessageBundle.java,v 1.9 2002/05/01 02:45:00 mdb Exp $
package com.threerings.util;
@@ -19,11 +19,11 @@ import com.samskivert.util.StringUtil;
public class MessageBundle
{
/**
* Constructs a message bundle which will obtain localized messages
* Initializes the message bundle which will obtain localized messages
* from the supplied resource bundle. The path is provided purely for
* reporting purposes.
*/
public MessageBundle (String path, ResourceBundle bundle)
public void init (String path, ResourceBundle bundle)
{
_path = path;
_bundle = bundle;