* Load the core translations' fallback. * The first language defined in translations.js will be used.
()
| 117 | * The first language defined in translations.js will be used. |
| 118 | */ |
| 119 | async loadCoreTranslationsFallback () { |
| 120 | let first = Object.keys(translations)[0]; |
| 121 | if (first) { |
| 122 | Log.log(`[translator] Loading core translation fallback file: ${translations[first]}`); |
| 123 | this.coreTranslationsFallback = await loadJSON(translations[first]); |
| 124 | } |
| 125 | } |
| 126 | }; |
| 127 | }()); |
| 128 |
nothing calls this directly
no test coverage detected