1) Added missing strings for italic, underline and strike through.
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / src / net / sourceforge / phpdt / phphelp / PHPHelpPreferenceMessages.java
1 package net.sourceforge.phpdt.phphelp;
2
3 import java.util.MissingResourceException;
4 import java.util.ResourceBundle;
5
6 /**
7  * @author jsurfer
8  * 
9  * 
10  */
11 public class PHPHelpPreferenceMessages {
12
13         private static final String BUNDLE_NAME = "net.sourceforge.phpdt.phphelp.PHPHelpPreferenceMessages"; //$NON-NLS-1$
14
15         private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
16                         .getBundle(BUNDLE_NAME);
17
18         /**
19          * 
20          */
21         private PHPHelpPreferenceMessages() {
22
23                 // TODO Auto-generated constructor stub
24         }
25
26         /**
27          * @param key
28          * @return
29          */
30         public static String getString(String key) {
31                 // TODO Auto-generated method stub
32                 try {
33                         return RESOURCE_BUNDLE.getString(key);
34                 } catch (MissingResourceException e) {
35                         return '!' + key + '!';
36                 }
37         }
38 }