Get translation from bundles.
(String key)
| 186 | |
| 187 | /** Get translation from bundles. */ |
| 188 | static public String text(String key) { |
| 189 | String value = get(key); |
| 190 | if (value == null) { |
| 191 | // MissingResourceException and null values |
| 192 | return key; |
| 193 | } |
| 194 | return value; |
| 195 | } |
| 196 | |
| 197 | |
| 198 | static public String interpolate(String key, Object... arguments) { |
no test coverage detected