net.shredzone.ifish.i18n
Class L

java.lang.Object
  extended by net.shredzone.ifish.i18n.L

public class L
extends Object

Offers internationalisation (i18n). It's a simple call of String text = L.tr("key");.

Version:
$Id: L.java 291 2009-04-28 21:29:27Z shred $

Constructor Summary
L()
           
 
Method Summary
static String tr(String key)
          Translates a key into the matching translation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

L

public L()
Method Detail

tr

public static String tr(String key)
Translates a key into the matching translation. If a translation string is missing, the key is returned enclosed into double square brackets.

Parameters:
key - Key to be translated
Returns:
Translated String


Copyright © 2007-2011 shredzone.org. All Rights Reserved.