Mercurial > projects > dwt-addons
comparison dwtx/jface/text/JFaceTextMessages.d @ 162:1a5b8f8129df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 08 Sep 2008 00:51:37 +0200 |
parents | 7926b636c282 |
children | c6d7b1ea700b |
comparison
equal
deleted
inserted
replaced
161:f8d52b926852 | 162:1a5b8f8129df |
---|---|
174 | 174 |
175 public static String getString(String key) { | 175 public static String getString(String key) { |
176 try { | 176 try { |
177 return fgResourceBundle.getString(key); | 177 return fgResourceBundle.getString(key); |
178 } catch (MissingResourceException e) { | 178 } catch (MissingResourceException e) { |
179 return "!" + key + "!";//$NON-NLS-2$ //$NON-NLS-1$ | 179 return "!" ~ key ~ "!";//$NON-NLS-2$ //$NON-NLS-1$ |
180 } | 180 } |
181 } | 181 } |
182 } | 182 } |