Merge pull request #2814 from KristjanESPERANTO/patch-2

This commit is contained in:
Michael Teeuw 2022-02-20 12:18:21 +01:00 committed by GitHub
commit 81ae95eba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ _This release is scheduled to be released on 2022-04-01._
- Improved and speedup e2e tests, artificial wait after mm start removed.
- Improved husky setup not blocking `git commit` if `husky` or `npm` is not installed.
- Using a consistent spelling of MagicMirror².
- Fix minor console output issue for loading translations (#2814).
## [2.18.0] - 2022-01-01

View File

@ -104,7 +104,7 @@ const Translator = (function () {
* @param {Function} callback Function called when done.
*/
load(module, file, isFallback, callback) {
Log.log(`${module.name} - Load translation${isFallback && " fallback"}: ${file}`);
Log.log(`${module.name} - Load translation${isFallback ? " fallback" : ""}: ${file}`);
if (this.translationsFallback[module.name]) {
callback();