Added code to support the new localized system messages; first by creating

a message manager and making it available to the micasa code and second by
actually using it to translate system messages.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1075 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-02-26 05:48:11 +00:00
parent e782bacb35
commit dc154423e0
3 changed files with 40 additions and 8 deletions
@@ -1,10 +1,10 @@
//
// $Id: MiCasaContext.java,v 1.2 2001/10/09 17:47:33 mdb Exp $
// $Id: MiCasaContext.java,v 1.3 2002/02/26 05:48:11 mdb Exp $
package com.threerings.micasa.util;
import com.threerings.util.MessageManager;
import com.threerings.parlor.util.ParlorContext;
import com.threerings.micasa.client.MiCasaFrame;
/**
@@ -19,4 +19,10 @@ public interface MiCasaContext
/** Returns a reference to the primary user interface frame. This can
* be used to set the top-level panel when we enter a game, etc. */
public MiCasaFrame getFrame ();
/**
* Returns a reference to the message manager used by the client to
* generate localized messages.
*/
public MessageManager getMessageManager ();
}