MCPcopy Index your code
hub / github.com/processing/p5.js / translator

Function translator

src/core/internationalization.js:114–121  ·  view source on GitHub ↗
(key, values)

Source from the content-addressed store, hash-verified

112 * @private
113 */
114export let translator = (key, values) => {
115 console.debug('p5.js translator called before translations were loaded');
116
117 // Certain FES functionality may trigger before translations are downloaded.
118 // Using "partialBundledLanguages" option during initialization, we can
119 // still use our fallback language to display messages
120 i18next.t(key, values); /* i18next-extract-disable-line */
121};
122// (We'll set this to a real value in the init function below!)
123
124/*

Callers 9

fileLoadErrorCasesFunction · 0.90
friendlyWelcomeFunction · 0.90
fesCoreFunction · 0.90
handleMisspellingFunction · 0.90
printFriendlyStackFunction · 0.90
processStackFunction · 0.90
fesErrorMonitorFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected