private String resolveParameter ( String key ) { ICachedData < ? > o = parameters . get ( key ) ; if ( o == null ) //not actual parameter : translate it return translated ? I18n . format ( key ) : key ; return Objects . toString ( o . get ( ) ) . replace ( "$" , "\\$" ) ; }
Resolve parameter values to use in the text .