(String key, Object... arguments)
| 196 | |
| 197 | |
| 198 | static public String interpolate(String key, Object... arguments) { |
| 199 | String value = get(key); |
| 200 | if (value == null) { |
| 201 | return key; |
| 202 | } |
| 203 | // System.out.println(" interp for " + key + " is " + String.format(value, arguments)); |
| 204 | return String.format(value, arguments); |
| 205 | } |
| 206 | |
| 207 | |
| 208 | static public String pluralize(String key, int count) { |
no test coverage detected