(key, values)
| 112 | * @private |
| 113 | */ |
| 114 | export 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 | /* |
no outgoing calls
no test coverage detected