(String key)
| 171 | |
| 172 | |
| 173 | static private String get(String key) { |
| 174 | LanguageBundle bundle = init().bundle; |
| 175 | |
| 176 | try { |
| 177 | String value = bundle.getString(key); |
| 178 | if (value != null) { |
| 179 | return value; |
| 180 | } |
| 181 | } catch (MissingResourceException e) { } |
| 182 | |
| 183 | return null; |
| 184 | } |
| 185 | |
| 186 | |
| 187 | /** Get translation from bundles. */ |
no test coverage detected