Add ResourceBundle localization

This commit is contained in:
Zach Bruggeman
2013-04-29 17:23:48 -07:00
committed by md_5
parent 140830efe0
commit 30b2e5008b
4 changed files with 24 additions and 3 deletions

View File

@@ -49,6 +49,13 @@ public abstract class ProxyServer
*/
public abstract String getVersion();
/**
* Gets a localized string from the .properties file.
*
* @return the localized string
*/
public abstract String getTranslation( String name );
/**
* Gets the main logger which can be used as a suitable replacement for
* {@link System#out} and {@link System#err}.