- public String format(TemplateContext templateContext, Object data, Map<String, String> parameters) {
+ public String format(TemplateContext templateContext, Object data, Map<String, Object> parameters) {
+ if (parameters.isEmpty()) {
+ return webInterface.getL10n().getString(String.valueOf(data));
+ }