Package com.serotonin.m2m2.i18n

Examples of com.serotonin.m2m2.i18n.TranslatableMessage.translate()


            try {
                TranslatableMessage lm = new TranslatableMessage("ftl.scheduledReport", reportConfig.getName());
                String subject = creator.getSubject();
                if (subject == null)
                    subject = lm.translate(translations);
                EmailWorkItem.queueEmail(toAddrs, subject, emailContent, postEmail);
            }
            catch (AddressException e) {
                LOG.error(e);
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.