(String key)
| 185 | |
| 186 | |
| 187 | static private String get(String key) { |
| 188 | LanguageBundle bundle = init().bundle; |
| 189 | |
| 190 | try { |
| 191 | String value = bundle.getString(key); |
| 192 | if (value != null) { |
| 193 | return value; |
| 194 | } |
| 195 | } catch (MissingResourceException ignored) { } |
| 196 | |
| 197 | return null; |
| 198 | } |
| 199 | |
| 200 | |
| 201 | /** Get translation from bundles. */ |
no test coverage detected