Allow the prefix for where to find message translations to be set.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4466 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -105,6 +105,15 @@ public class MessageManager
|
||||
_cache.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the appropriate resource prefix for where to find subsequent
|
||||
* message bundles.
|
||||
*/
|
||||
public void setPrefix (String resourcePrefix)
|
||||
{
|
||||
_prefix = resourcePrefix;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows a custom classloader to be configured for locating
|
||||
* translation resources.
|
||||
|
||||
Reference in New Issue
Block a user