Package hirondelle.web4j.ui.translate.Translation

Examples of hirondelle.web4j.ui.translate.Translation.LookupResult


   <P>If <tt>aBaseText</tt> is not known, and this class is 'recording', then it is added to the
   unknown items.
  */
  public String get(String aBaseText, Locale aLocale) {
    String result = null;
    LookupResult lookup = Translation.lookUp(aBaseText, aLocale, fTranslations);
    if( lookup.hasSucceeded() ){
      result = lookup.getText();
    }
    else {
      result = aBaseText;
      if(LookupResult.UNKNOWN_BASE_TEXT == lookup){
        addUnknown(aBaseText);
View Full Code Here

TOP

Related Classes of hirondelle.web4j.ui.translate.Translation.LookupResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.