src/main/java/pityoulish/i18n/CatalogHelper.java
protected static final String fallbackFormat(TextRef tref, Object... params)
  {
    StringBuilder sb = new StringBuilder(80);
    sb.append(tref.getBundleName()).append("::").append(tref.getKey());
    for(Object param : params)
       sb.append(" \"").append(param).append("\"");

    return sb.toString();
  }
/**
   * Formats parameters in case a pattern is missing.
   *
   * @param tref        text ref of the missing pattern
   * @param params      parameters to format
   *
   * @return the arguments in fallback format
   */
Formats parameters in case a pattern is missing.
@param tref        text ref of the missing pattern
@param params      parameters to format

@return the arguments in fallback format
Formats parameters in case a pattern is missing . @param tref text ref of the missing pattern @param params parameters to format @return the arguments in fallback format
protected static final String fallbackFormat(TextRef tref, Object... params)
  {
    StringBuilder sb = new StringBuilder(80);
    sb.append(tref.getBundleName()).append("::").append(tref.getKey());
    for(Object param : params)
       sb.append(" \"").append(param).append("\"");
    return sb.toString();
  }
protected static final String fallbackFormat ( TextRef tref , Object ... params ) { StringBuilder sb = new StringBuilder ( 80 ) ; sb . append ( tref . getBundleName ( ) ) . append ( "::" ) . append ( tref . getKey ( ) ) ; for ( Object param : params ) sb . append ( " \"" ) . append ( param ) . append ( "\"" ) ; return sb . toString ( ) ; }
Formats parameters in case a pattern is missing.
Formats parameters in case a pattern is missing .