[VIVO-1294] Create VIVO application level messages distinct from theme messages (theme messages now only contain those not use at an application level)

This commit is contained in:
Graham Triggs 2017-08-29 22:59:03 +01:00
parent ece29aae76
commit 426064cc81
6 changed files with 970 additions and 1744 deletions

View file

@ -0,0 +1,21 @@
/* $This file is distributed under the terms of the license in LICENSE$ */
package org.vivoweb.webapp.startup;
import edu.cornell.mannlib.vitro.webapp.i18n.VitroResourceBundle;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
public class i18nSetup implements ServletContextListener {
@Override
public void contextInitialized(ServletContextEvent servletContextEvent) {
VitroResourceBundle.addAppPrefix("vivo");
}
@Override
public void contextDestroyed(ServletContextEvent servletContextEvent) {
}
}