1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.itracker.web.resources;
20
21 import org.apache.struts.util.MessageResources;
22 import org.apache.struts.util.MessageResourcesFactory;
23 import org.itracker.core.resources.ITrackerResources;
24
25
26 public class ITrackerMessageResources extends MessageResources {
27
28
29
30
31 private static final long serialVersionUID = 1L;
32
33 public ITrackerMessageResources(MessageResourcesFactory factory, String config) {
34 super(factory, config);
35 }
36
37 public ITrackerMessageResources(MessageResourcesFactory factory, String config, boolean returnNull) {
38 super(factory, config, returnNull);
39 }
40
41 public String getMessage(java.util.Locale locale, String key) {
42 return ITrackerResources.getString(key, locale);
43 }
44 }