META-INF.resources.xava.editors.filePondTranslation.jsp Maven / Gradle / Ivy
<%@ include file="../imports.jsp"%>
<%@ page import="org.openxava.util.Locales"%>
<%
if (!Locales.getCurrent().getLanguage().equals("en") && request.getAttribute("xava.filepond.transaled") == null) {
%>
>
FilePond.setOptions({
labelIdle: ' ',
labelFileWaitingForSize: ' ',
labelFileSizeNotAvailable: ' ',
labelFileLoading: ' ',
labelFileLoadError: ' ',
labelFileProcessing: ' ',
labelFileProcessingComplete: ' ',
labelFileProcessingAborted: ' ',
labelFileProcessingError: ' ',
labelFileProcessingRevertError: ' ',
labelFileRemoveError: ' ',
labelTapToCancel: ' ',
labelTapToRetry: ' ',
labelTapToUndo: ' ',
labelButtonRemoveItem: ' ',
labelButtonAbortItemLoad: ' ',
labelButtonRetryItemLoad: ' ',
labelButtonAbortItemProcessing: ' ',
labelButtonUndoItemProcessing: ' ',
filepond_labelButtonRetryItemProcessing: ' ',
filepond_labelButtonProcessItem: ' ',
labelFileTypeNotAllowed: ` `,
fileValidateTypeLabelExpectedTypes: ' ',
labelMaxFileSizeExceeded: ' ',
labelMaxFileSize: ` `
});
<%
request.setAttribute("xava.filepond.transaled", true);
}
%>