[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:
parent
ece29aae76
commit
426064cc81
6 changed files with 970 additions and 1744 deletions
21
api/src/main/java/org/vivoweb/webapp/startup/i18nSetup.java
Normal file
21
api/src/main/java/org/vivoweb/webapp/startup/i18nSetup.java
Normal 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) {
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue