MCPcopy Index your code
hub / github.com/benfry/processing4 / get

Method get

app/src/processing/app/Language.java:187–198  ·  view source on GitHub ↗
(String key)

Source from the content-addressed store, hash-verified

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. */

Callers 3

textMethod · 0.95
interpolateMethod · 0.95
pluralizeMethod · 0.95

Calls 2

initMethod · 0.95
getStringMethod · 0.95

Tested by

no test coverage detected